diff --git a/docs/README.md b/docs/README.md index 49f65beae2e..80666dfae8a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -40,3 +40,8 @@ The CLI reference docs in `docs/reference/cli` are auto-generated based on the C ```bash make docs.generate ``` + +## Hiding content + +Sometimes you want to merge documentation but hide it pending a future release, there are a few different short-hands available. +For individual pages add `sidebar_class_name: hidden` to the top of the page and to hide an entire category add `className: hidden` to the `_category_.yml` file. Note that the pages are only hidden but still generated so you can still link to them. \ No newline at end of file diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index aa59398cea0..9bb138aee47 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -67,4 +67,8 @@ border-color: var(--ifm-toc-border-color); border-radius: var(--ifm-global-radius); padding: 0px 20px 20px 20px; +} + +.hidden { + display: none !important; } \ No newline at end of file