|
1 | | -# Docs-New |
| 1 | +# website |
2 | 2 |
|
3 | 3 | [](https://app.netlify.com/projects/docs-new/deploys) |
4 | 4 |
|
5 | | -This repository contains a PoC of how the documentation of [metal-stack.io](https://metal-stack.io) can be refactored to meet new requirements. |
| 5 | +This repository contains the website including the documentation of [metal-stack.io](https://metal-stack.io). |
6 | 6 |
|
7 | 7 | The used framework to generate docs is [docusaurus](https://docusaurus.io). |
8 | 8 |
|
@@ -35,6 +35,21 @@ The used framework to generate docs is [docusaurus](https://docusaurus.io). |
35 | 35 | └── versions.json # list of versions |
36 | 36 | ``` |
37 | 37 |
|
| 38 | +### How to organize the docs? |
| 39 | + |
| 40 | +- Prioritize the `concept` section. If this is about a MEP, you likely already have the contents for this. |
| 41 | +- Use the `general` section to distribute users to their sections or to the deeper concept. |
| 42 | +- user, operator or developer specific sections would be nice, but are optional. |
| 43 | + |
| 44 | +#### Example |
| 45 | + |
| 46 | +- Roles and Permissions |
| 47 | + - Concept: explains all roles, permissions and sessions |
| 48 | + - For operators: OIDC, creation in CI, ... How to / Explanation |
| 49 | + - For users: how to guide to create tokens and edit permissions |
| 50 | + - General: base concept, links to How to guides and deeper Concept |
| 51 | + - CISO / Compliance: minimal need to know Principle Explanation / Concept |
| 52 | + |
38 | 53 | ## Backwards-Compatibility |
39 | 54 |
|
40 | 55 | In order to not break links of posts, blog articles and shared documents we want to provide full backwards-compatibility. |
@@ -141,7 +156,7 @@ All components are referenced in the `/scripts/components.json` file. Use this m |
141 | 156 | "name": "metalctl", // name of the component, will appear in the navigation |
142 | 157 | "releasePath": "binaries.metal-stack.metalctl.version", // json-path of the version or tag in the release-vector |
143 | 158 | "branch": "main", // branch name. Some old repositories use 'master' |
144 | | - "repo": "metal-stack/metalctl", // component repository, |
| 159 | + "repo": "metal-stack/metalctl", // component repository, |
145 | 160 | "tag": "v0.18.1", // latest release tag of the component repository |
146 | 161 | "position": 1, // use this property to sort the navigation subdirectories |
147 | 162 | "withDocs": true // set to true to retrieve further .md files from a /docs folder. With false, only the README.md will be retrieved. |
|
0 commit comments