Browse Source

Fixed a doc config error

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
54c3df60cd
  1. 4
      docs/conf.py

4
docs/conf.py

@ -49,9 +49,9 @@ import pkg_resources
# |version| and |release|, also used in various other places throughout the
# built documents.
release = __import__('pkg_resources').get_distribution('Flask').version
if 'dev' in release:
release = release.split('dev')[0] + 'dev'
version = '.'.join(release.split('.')[:2])
if 'dev' in version:
version = version.split('dev')[0]
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

Loading…
Cancel
Save