Skip to content

Commit

Permalink
docs: config file reference (#977)
Browse files Browse the repository at this point in the history
* Remove redundant "reference" word from titles in files and therefore navbar
* Move config file references to their own folder, config-files.
* Reference config-files folder in the navbar.
* Use absolute path references to config files
  • Loading branch information
eaudetcobello authored Jan 17, 2025
1 parent 3d1340c commit 5ac109a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Bootstrap configuration file reference
# Bootstrap configuration file

A YAML file can be supplied to the `k8s join-cluster` command to configure and
customise the cluster. This reference section provides the format of this file
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Control plane node join configuration file reference
# Control plane node join configuration file

A YAML file can be supplied to the `k8s join-cluster ` command to configure and
customise new nodes.
Expand All @@ -7,5 +7,5 @@ This reference section provides all available options for control plane nodes.

## Configuration options

```{include} ../../_parts/control_plane_join_config.md
```{include} /src/_parts/control_plane_join_config.md
```
20 changes: 20 additions & 0 deletions docs/src/snap/reference/config-files/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Configuration files

```{toctree}
:hidden:
Configuration Files <self>
```

{{product}} uses several configuration files to control its behavior and
settings. Links below provides detailed information about each configuration
file.

```{toctree}
:glob:
:titlesonly:
Install from a snap <snap.md>
bootstrap-config
control-plane-join-config
worker-join-config
```
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Worker node join configuration file reference
# Worker node join configuration file

A YAML file can be supplied to the `k8s join-cluster ` command to configure and
customise new worker nodes.
Expand All @@ -7,5 +7,5 @@ This reference section provides all available options for worker nodes.

## Configuration options

```{include} ../../_parts/worker_join_config.md
```{include} /src/_parts/worker_join_config.md
```
4 changes: 1 addition & 3 deletions docs/src/snap/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ Overview <self>
:titlesonly:
releases
config-files/index
commands
ports-and-services
annotations
certificates
bootstrap-config-reference
control-plane-join-config-reference
worker-join-config-reference
proxy
troubleshooting
architecture
Expand Down

0 comments on commit 5ac109a

Please sign in to comment.