Skip to content

Commit caf2b07

Browse files
author
Felix Hennig
committed
minor changes
1 parent 6759623 commit caf2b07

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

template/doc.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
function CRD() {
6464
const expandAll = useCallback(() => bus.emit('expand-all'), []);
6565
const collapseAll = useCallback(() => bus.emit('collapse-all'), []);
66+
67+
// this used to go under the codeblock, but our descriptions are a bit useless at the moment
68+
// <p class="font-size-18">${React.createElement('div', { dangerouslySetInnerHTML: { __html: getDescription(Schema) } })}</p>
69+
6670
return html`
6771
<div class="parts d-md-flex justify-content-between mt-md-20 mb-md-20">
6872
<${PartLabel} type="Kind" value=${Kind} />
@@ -73,8 +77,6 @@
7377
<hr class="mb-md-20" />
7478
<pre><code class="language-yaml">${`apiVersion: ${Group}/${Version}\nkind: ${Kind}`}</code></pre>
7579
76-
<p class="font-size-18">${React.createElement('div', { dangerouslySetInnerHTML: { __html: getDescription(Schema) } })}</p>
77-
7880
<div class="${properties == null ? 'd-none' : 'd-flex'} flex-row-reverse mb-10 mt-10">
7981
<button class="btn ml-10" type="button" onClick=${expandAll}>+ expand all</button>
8082
<button class="btn" type="button" onClick=${collapseAll}>- collapse all</button>

template/home.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ <h1 class="content-title">Stackable Data Platform CRD Reference Documentation</h
1010
{{ end }}
1111
{{ end }}
1212
</select>
13+
14+
<p>
15+
Reference documentation for all CustomResourceDefinitions that are deployed by Stackable Data Platform operators.
16+
For more information read the <a href="https://docs.stackable.tech/home/stable/index.html">platform documentation</a>.
17+
</p>
18+
1319
<div id="crds"></div>
1420
</div>
1521
</div>

0 commit comments

Comments
 (0)