Skip to content

Commit

Permalink
docs: experiment with Helm chart doc inclusion.
Browse files Browse the repository at this point in the history
Experiment with including/linking to Helm chart-specific
documentation stored in deployment/helm/*/README.md among
the normal documentation rooted under /docs.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub authored and fmuyassarov committed Oct 20, 2023
1 parent b12c897 commit 91854dc
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def gomod_versions(modules):
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', '.github', '_work', 'generate', 'README.md', 'TODO.md', 'SECURITY.md', 'CODE-OF-CONDUCT.md', 'docs/releases', 'test/self-hosted-runner/README.md', 'test/e2e/README.md', 'docs/resource-policy/releases', 'docs/resource-policy/README.md','test/statistics-analysis/README.md']
exclude_patterns = ['_build', '.github', '_work', 'generate', 'README.md', 'TODO.md', 'SECURITY.md', 'CODE-OF-CONDUCT.md', 'docs/releases', 'test/self-hosted-runner/README.md', 'test/e2e/README.md', 'docs/resource-policy/releases', 'docs/resource-policy/README.md','test/statistics-analysis/README.md', 'deployment/helm/*/*.md']

# -- Options for HTML output -------------------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions docs/helm/balloons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../../deployment/helm/balloons/README.md
```
12 changes: 12 additions & 0 deletions docs/helm/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Helm Charts

```{toctree}
---
maxdepth: 2
caption: Contents
---
balloons.md
topology-aware.md
memory-qos.md
memtierd.md
```
2 changes: 2 additions & 0 deletions docs/helm/memory-qos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../../deployment/helm/memory-qos/README.md
```
2 changes: 2 additions & 0 deletions docs/helm/memtierd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../../deployment/helm/memtierd/README.md
```
2 changes: 2 additions & 0 deletions docs/helm/topology-aware.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../../deployment/helm/topology-aware/README.md
```
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ caption: Contents
introduction.md
resource-policy/index.rst
memory/index.md
helm/index.md
contributing.md
Project GitHub repository <https://github.com/containers/nri-plugins>
```
6 changes: 1 addition & 5 deletions docs/resource-policy/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ Note: this removes DaemonSet, ConfigMap, CustomResourceDefinition, and RBAC-rela
## Available parameters
To know what are the available Helm configuration options for currently available Helm charts, you can check:
- [balloons parameters](../../deployment/helm/balloons/README.md)
- [memory-qos parameters](../../deployment/helm/memory-qos/README.md)
- [memtierd parameters](../../deployment/helm/memtierd/README.md)
- [topology-aware parameters](../../deployment/helm/topology-aware/README.md)
See the documentation of our [Helm charts](../helm/index.md) the available Helm configuration options
## Manual installation
Expand Down

0 comments on commit 91854dc

Please sign in to comment.