diff options
author | Justin Mayer <entroP@gmail.com> | 2020-04-26 09:55:08 +0200 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2020-04-27 09:45:31 +0200 |
commit | d43b786b300358e8a4cbae4afc4052199a7af762 (patch) | |
tree | 8c2231297301b1eb307e3c132ca4710cacd5eef0 /docs/conf.py | |
parent | 2cd1d44576ecc4fd0cc532cbb19c2b934ab5c665 (diff) | |
download | pelican-remove-legacy.tar.gz |
Modernize code base to Python 3+ syntaxremove-legacy
Replaces syntax that was relevant in earlier Python versions but that
now has modernized equivalents.
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py index 2be4fbe1..53171646 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - import os import sys @@ -23,7 +21,7 @@ release = __version__ version = '.'.join(release.split('.')[:1]) last_stable = __version__ rst_prolog = ''' -.. |last_stable| replace:: :pelican-doc:`{0}` +.. |last_stable| replace:: :pelican-doc:`{}` '''.format(last_stable) # The name of the Pygments (syntax highlighting) style to use. |