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.
This commit is contained in:
Ian Cordasco 2016-06-20 08:04:33 -05:00
parent 16f58005bf
commit 57ac6ab699
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A

View file

@ -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.
#