Nit: no hardcoded version and current year in Sphinx docs. (#1268)

`Cartographer 1.0.0 documentation` -> `Cartographer documentation`
`Copyright 2016 The Cartographer Authors` -> `Copyright <year> The Cartographer Authors`
master
Michael Grupp 2018-07-12 20:43:36 +02:00 committed by Wally B. Feed
parent c4c5fab5b2
commit 8602bf9430
1 changed files with 5 additions and 3 deletions

View File

@ -28,6 +28,7 @@
import sys
import os
from datetime import datetime
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@ -61,16 +62,17 @@ master_doc = 'index'
# General information about the project.
project = u'Cartographer'
copyright = u'2016 The Cartographer Authors'
copyright = u'{year} The Cartographer Authors'.format(year=datetime.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 = '1.0.0'
#version = ''
# The full version, including alpha/beta/rc tags.
release = '1.0.0'
#release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.