mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 08:24:46 +00:00
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:
parent
16f58005bf
commit
57ac6ab699
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ version = flake8.__version__
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = flake8.__version__
|
release = flake8.__version__
|
||||||
|
|
||||||
|
rst_epilog = """
|
||||||
|
.. |Flake8| replace:: :program:`Flake8`
|
||||||
|
"""
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue