diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2016-11-22 23:46:51 -0500 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2016-11-22 23:46:51 -0500 |
commit | e17b0f4e34a2b8f2e3dc8169d789289fe426650a (patch) | |
tree | 24abacf5d89f0cd4570dc905f4d19ebb7095de84 | |
parent | 52524e7d97852a4687bac4318b8985e4cb7d4460 (diff) | |
download | passlib-e17b0f4e34a2b8f2e3dc8169d789289fe426650a.tar.gz |
bugfix: docs: fix 'dev copy' detection in conf.py
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index fed98d3..b45d17a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -107,8 +107,8 @@ copyright = "2008-%d, %s. Last Updated %s" % (datetime.date.today().year, author # version: The short X.Y version. from passlib import __version__ as release version = csp.get_version(release) -tags.add("devcopy") -devcopy = '.dev' in release +if ".dev" in release: + tags.add("devcopy") # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |