mkdocs Customizations
We run a customized version of mkdocs-material that allows for some additional features.
toc_depth per pageπ
You can set the maximum depth of the table of contents per page using the toc_depth
variable in the page's metadata.
Example
This can be useful for large pages with many headings.
For example, it is used for the Integration List
to hide the sub-headings of the individual integrations.
---
toc_depth: 2
---
# Some Heading
Page content here...
mkdocs-snippetsπ
We have written the mkdocs-snippets plugin to allow for the use of advanced snippets in our documentation. This allows us to include code snippets from other files in the documentation, while preserving links and indentation.