From 8602bf94304097d34cf24ec366185808ec5cb056 Mon Sep 17 00:00:00 2001 From: Michael Grupp Date: Thu, 12 Jul 2018 20:43:36 +0200 Subject: [PATCH] Nit: no hardcoded version and current year in Sphinx docs. (#1268) `Cartographer 1.0.0 documentation` -> `Cartographer documentation` `Copyright 2016 The Cartographer Authors` -> `Copyright The Cartographer Authors` --- docs/source/conf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 7cb074b..a3e27db 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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.