-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Add toctree shortcode docs and render option in the Python scri…
…pt (#406) * Add: (render_shortcode_docs.py) Options processing This allows each shortcode file to pass a dict of options to this Python program. Currently the only one supported is "render", which may be set to False to disable rendering of the shortcode into the documentation. This is useful when a shortcode will not render meaningfully into the documentation file (e.g. the "toctree" shortcode only works when in an appropriate file hierarchy). * Docs: Add toctree shortcode documentation * '[pre-commit.ci 🤖] Apply code format tools to PR' --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ee505b1
commit b1dd9bc
Showing
2 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters