CI

cumulocity-iot/c8y-docs

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

19 stars Качество 53 Тренд 42

Документация для пользователей и разработчиков для Cumulocity

Обзор

https://cumulocity.com/guides — релизы 10.18 и старше https://cumulocity.com/docs — CD и годовые релизы - Клонировать хранилище. Установите Hugo, используя hugo -channel=extended. - Откройте окно терминала в каталоге проекта и типе сервера hugo. Укажите подкаталог, который содержит ваш контент, например http://localhost:1313/guides/users-guide/. Указание только http://localhost:1313/guides приводит к ошибке 404. Подробности описаны в документе «Как внести свой вклад в документацию Cumulocity». Свяжитесь с командой документации Cumulocity для доступа. Архитектура сайта документации Cumulocity имеет следующую структуру: - 1-й уровень - например, http://cumulocity.com/guides/users-guide/ - 2-й уровень - визуализируется как одна страница, например http://cumulocity.com/guides/users-guide/administration/ - Якорный раздел - якорный тег на странице подраздела, например http://cumulocity.

Обзор (машинный перевод)

  • выпуски 10.18 и старше CD и ежегодные релизы

Построено Хьюго (версия 0.92.1)

##Окружающая среда

  • Клонировать хранилище. Установите Hugo с помощью щелчка snap install hugo --channel=extended. Откройте окно терминала в каталоге проекта и введите hugo server. Укажите подкаталог, который содержит ваш контент, например http://localhost:1313/guides/users-guide/. Указание только http://localhost:1313/guides приводит к ошибке 404.

Подробности описаны в документе «Как внести свой вклад в документацию Cumulocity». Свяжитесь с командой документации Cumulocity для доступа.

Структура для/руководства (для релизов 10.18 и старше)

Архитектура сайта документации Cumulocity имеет следующую структуру:

  • 1-й уровень - например, **
  • 2-й уровень - отображается как одна страница, например **
  • Якорный раздел - якорный тег на странице подраздела, например **

Веб-сайт построен с сочетанием фронтальной материи и структуры каталога.

##Структура - /docs (для CD и ежегодных релизов)

Архитектура сайта документации Cumulocity имеет следующую структуру:

  • 1-й уровень - например, **
  • 2-й уровень - например **

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Cumulocity documentation website

  • releases 10.18 and older
  • CD and yearly releases

Built with Hugo (version 0.92.1)

Development environment

Details are described in the “How to contribute to the Cumulocity documentation” process document. Contact the Cumulocity documentation team for access.

Structure for /guides (for releases 10.18 and older)

The Cumulocity documentation website architecture has the following structure:

  • 1st level - for example, **
    • 2nd level - renders as a single page, for example **
      • Anchor section - anchor tag in the subsection page, for example **

The website is built with a mix of front matter and directory structure.

Structure - /docs (for CD and yearly releases)

The Cumulocity documentation website architecture has the following structure:

  • 1st level - for example, **
    • 2nd level - for example **
      • 3rd level - renders as a single page, for example **
        • Anchor section - anchor tag in the subsection page, for example **

The website is built with a mix of front matter and directory structure.

Adding content

Add a new section

Note that in the new documentation structure (/docs) adding level 1 or level 2 sections is restricted to the admin users of the c8y-docs repo. If you want to add a new section in these levels contact the documentation team.

Before adding a new section, check if the content fits in any of the available sections.

A new section is defined by a Markdown file with the following front matter:

---
title: My new section # add the section title
bundle: new-section # add the directory holding the section pages
icon: "c8y-icon c8y-icon-tools" # use either fontawesome or c8y-icons
type: root # don't change
layout: root # don't change
weight: 90 # order the section in the section dropdown in ascending order
---

Grab the icon classes in the Styleguide.

Add the section root directory

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add cumulocity-iot/c8y-docs
Новичок в MCP? Начните с руководства на mcpskill.org →