
cumulocity-iot/c8y-docs
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Cumulocityのユーザーと開発者のドキュメント
概要
[https://cumulocity.com/guides - 10.18 以上 [[https://cumulocity.com/docs]] - CD および年別リリース - リポジトリをクローンします。 - スナップ install hugo --channel=extended を使用して Hugo をインストールします。 - プロジェクトディレクトリのターミナルウィンドウを開き、hugoサーバーを入力します。 コンテンツを含むサブディレクトリを指定します。例えば[http://localhost:1313/guides/users-guide/.] [http://localhost:1313/guidesのみを指定すると、404エラーになります。 「Cumulocityドキュメンテーションのプロセス文書への貢献方法」に記載されています。 Cumulocity のドキュメント チームに連絡してアクセスしてください。 Cumulocityのドキュメントウェブサイトアーキテクチャには、次の構造があります。 - 1st レベル - 例えば、[http://cumulocity.com/guides/users-guide/] - 2nd レベル - 単一のページとしてレンダーします。例えば、[http://cumulocity.com/guides/users-guide/administration/] - アンカーセクション - サブセクションのアンカータグ、例えば[http://cumulocity.]
概要(AI 翻訳)
- リリース 10.18 以上
- CDと年間リリース
HugoでBuilt** (バージョン 0.92.1)
##開発環境
- リポジトリをクローンします。
- スナップ[
snap install hugo --channel=extendedを使用してHugoをインストールします。 - プロジェクトディレクトリのターミナルウィンドウを開き、
hugo serverと入力します。 コンテンツを含むサブディレクトリを指定します。例えば[http://localhost:1313/guides/users-guide/.] [http://localhost:1313/guidesのみを指定すると、404エラーになります。
「Cumulocityドキュメンテーションのプロセス文書への貢献方法」に記載されています。 Cumulocity のドキュメント チームに連絡してアクセスしてください。
/guides の構造 (リリース 10.18 以上)
Cumulocityのドキュメントウェブサイトアーキテクチャには、次の構造があります。
- 1st レベル - たとえば *
- 2ndレベル - たとえば、単一のページとしてレンダリングします * *
- アンカーセクション - サブセクションページ内のアンカータグ * *
当ウェブサイトは、前記事項とディレクトリ構造の組み合わせで構築されています。
構造 - /docs(CDおよび年々リリース用)
Cumulocityのドキュメントウェブサイトアーキテクチャには、次の構造があります。
- 1st レベル - たとえば *
- 2nd レベル - たとえば *
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Cumulocity documentation website
- releases 10.18 and older
- CD and yearly releases
Built with Hugo (version 0.92.1)
Development environment
- Clone the repository.
- Install Hugo by using snap
snap install hugo --channel=extended. - Open a terminal window in the project directory and type
hugo server. Specify the subdirectory that contains your content, for example http://localhost:1313/guides/users-guide/. Specifying only http://localhost:1313/guides results in a 404 error.
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 **
- 2nd level - renders as a single 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 **
- 3rd level - renders as a single page, for example **
- 2nd level - 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
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add cumulocity-iot/c8y-docs