Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

ReadTheDocs version warning MkDocs plugin replace placeholder text with warning banner for specific versions if deployed on Readthedocs.

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.