Skip to content

Commit

Permalink
docs: set table-of-contents depth for reference
Browse files Browse the repository at this point in the history
3 levels per doc should be enough for everything: any more probably means
the doc should be split.

Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Nov 27, 2024
1 parent 2724d62 commit 09eb66a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/reference/linstorcluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ spec:

Reports the actual state of the cluster.

## `.status.conditions`
### `.status.conditions`

The Operator reports the current state of the Cluster through a set of conditions. Conditions are identified by their
`type`.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/linstorsatellite.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Holds patches to apply to the Kubernetes resources. Inherited from matching

Reports the actual state of the satellite.

## `.status.conditions`
### `.status.conditions`

The Operator reports the current state of the LINSTOR Satellite through a set of conditions. Conditions are
identified by their `type`.
Expand Down
6 changes: 1 addition & 5 deletions docs/reference/linstorsatelliteconfiguration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
toc_depth: 1
---

# `LinstorSatelliteConfiguration`

This resource controls the state of one or more LINSTOR® satellites.
Expand Down Expand Up @@ -357,7 +353,7 @@ spec:

Reports the actual state of the cluster.

## `.status.conditions`
### `.status.conditions`

The Operator reports the current state of the Satellite Configuration through a set of conditions. Conditions are
identified by their `type`.
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ markdown_extensions:
- pymdownx.superfences
- attr_list
- md_in_html
- toc:
toc_depth: 3
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
Expand Down

0 comments on commit 09eb66a

Please sign in to comment.