aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormwtoews <mwtoews@gmail.com>2018-04-23 20:29:04 +1200
committermwtoews <mwtoews@gmail.com>2018-04-23 20:59:58 +1200
commit80c5e198ed05ec26332501c36ee5150655545cdd (patch)
tree7baebe9f59701b91c7259d9b9c074ec046bb518d
parent8bcf78e471d0a7dbc5ea7387d33301188ae17de8 (diff)
downloadPROJ-80c5e198ed05ec26332501c36ee5150655545cdd.tar.gz
PROJ-80c5e198ed05ec26332501c36ee5150655545cdd.zip
Restore project as PROJ.4
No distinction is required between version and release. Disable default highlight_language (was effectively Python)
-rw-r--r--docs/source/conf.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 2c0f480b..375b6b5a 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -48,20 +48,24 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'PROJ'
+
+# Keep legacy project name
+project = 'PROJ.4'
+
+# See CITATION file
title = 'PROJ coordinate transformation software library'
author = 'PROJ contributors'
+
now = datetime.datetime.now()
copyright = u'1983-{0}'.format(now.year)
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
-#
-# The short X.Y version.
-version = u'5.0.1'
-# The full version, including alpha/beta/rc tags.
-release = u'5.0.0'
+version = '5.0.1'
+
+# use same |release| as |version|
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -98,6 +102,9 @@ exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
+# Specify default language for syntax highlighting.
+highlight_language = 'none'
+
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []