https://github.com/shopsys/readthedocs-version-warning-mkdocs-plugin
ReadTheDocs version warning MkDocs plugin replace placeholder text with warning banner for specific versions if deployed on Readthedocs.
https://github.com/shopsys/readthedocs-version-warning-mkdocs-plugin
Last synced: 17 days ago
JSON representation
ReadTheDocs version warning MkDocs plugin replace placeholder text with warning banner for specific versions if deployed on Readthedocs.
- Host: GitHub
- URL: https://github.com/shopsys/readthedocs-version-warning-mkdocs-plugin
- Owner: shopsys
- License: mit
- Created: 2019-09-30T22:23:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-30T22:52:39.000Z (almost 7 years ago)
- Last Synced: 2026-03-09T02:42:33.085Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReadTheDocs version warning MkDocs plugin
"ReadTheDocs version warning MkDocs plugin" is a very basic [mkdocs plugin](http://www.mkdocs.org/user-guide/plugins/)
that replace placeholder text
```### VERSION-WARNING-BANNER-PLACEHOLDER ###```
in the theme template with warning admonition.
## Configuration
```yaml
plugins:
- readthedocs-version-warning:
project_id: "000000"
show_on_versions:
- latest
```
`project_id` - Id of the target project on ReadTheDocs.
From this project will be used the default version to render link to the stable version.
`show_on_versions` - List of versions on which the banner should appear.