Skip to content

Commit

Permalink
Add rst_prolog
Browse files Browse the repository at this point in the history
  • Loading branch information
boulund committed Apr 25, 2018
1 parent 4670656 commit 8b32e41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@
# The full version, including alpha/beta/rc tags.
release = '0.1.0-dev'

# reStructuredText prolog contains a string of reStructuredText that will be
# included at the beginning of every source file that is read.
# Added by Fredrik Boulund 2018-04-25
rst_prolog = """
.. |full_name| replace:: {name}
.. |short_name| replace:: {short_name}
""".format(name=full_name, short_name=project)


# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
Expand Down

0 comments on commit 8b32e41

Please sign in to comment.