diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-06-20 08:04:33 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-06-20 08:04:33 -0500 |
| commit | 57ac6ab6994dc609a3514f49d77dac228328d308 (patch) | |
| tree | 6648fe8e7fb6db6b6dec28bfece34224042e0a88 /docs | |
| parent | 16f58005bf09100b4ffb2a9337287ca30667c4d3 (diff) | |
| download | flake8-57ac6ab6994dc609a3514f49d77dac228328d308.tar.gz | |
Add |Flake8| substitution to the epilog
The rst_epilog config value in Sphinx allows you to maintain a global
list of replaces or includes that are appended to the text of each
document in your documentation. This allows us to use |Flake8| everywhere
without redefining the replace in every document.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/conf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index a44bd97..04b2ea8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -67,6 +67,10 @@ version = flake8.__version__ # The full version, including alpha/beta/rc tags. release = flake8.__version__ +rst_epilog = """ +.. |Flake8| replace:: :program:`Flake8` +""" + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # |
