You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ The used framework to generate docs is [docusaurus](https://docusaurus.io).
55
55
In order to not break links of posts, blog articles and shared documents we want to provide full backwards-compatibility.
56
56
This means we need to ensure existing links still work with the new documentation.
57
57
58
-
The file /static/_redirects contains a list of all paths of the old docs-sites. The file is formatted to create server-side-redirects on netlify, following the documentation here: https://docs.netlify.com/routing/redirects/
58
+
The file /static/\_redirects contains a list of all paths of the old docs-sites. The file is formatted to create server-side-redirects on netlify, following the documentation here: https://docs.netlify.com/routing/redirects/
59
59
60
60
## Docs
61
61
@@ -71,7 +71,6 @@ slug: /your-doc-url
71
71
title: Title of document
72
72
position: <Position in sidebar as number>
73
73
---
74
-
75
74
<HERE YOUR DOCS>
76
75
```
77
76
@@ -87,7 +86,11 @@ This file is used to generate the sidebar.
87
86
}
88
87
```
89
88
90
-
## Embedding drawio images
89
+
## Images and svgs
90
+
91
+
When adding images, SVGs, or similar assets, ensure they remain readable in both dark and light mode. For images containing text, consider adding a background to improve contrast and overall readability.
92
+
93
+
### Embedding drawio images
91
94
92
95
> ⚠️ referenced `.drawio.svg` images throw **warnings** because of unsupported file-types. We save `.drawio` files separately and export them as `svg`. Issue is also known in [docusaurus](https://github.com/facebook/docusaurus/issues/9715)
93
96
@@ -113,10 +116,9 @@ type: "blog"
113
116
categories:
114
117
- "Conferences"
115
118
tags:
116
-
- 'News'
117
-
- 'Conferences'
119
+
- "News"
120
+
- "Conferences"
118
121
---
119
-
120
122
<SOME PREVIEW TEXT FOR BLOG LIST VIEW>
121
123
122
124
<!-- truncate -->
@@ -154,13 +156,13 @@ All components are referenced in the `/scripts/components.json` file. Use this m
154
156
155
157
```jsonc
156
158
{
157
-
"name":"metalctl", // name of the component, will appear in the navigation
158
-
"releasePath":"binaries.metal-stack.metalctl.version", // json-path of the version or tag in the release-vector
159
-
"branch":"main", // branch name. Some old repositories use 'master'
0 commit comments