diff options
Diffstat (limited to 'docs/source/conf.py')
| -rw-r--r-- | docs/source/conf.py | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index cbd02f10..af9d24da 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# proj.4 documentation build configuration file, created by +# PROJ.4 documentation build configuration file, created by # sphinx-quickstart on Wed Feb 24 10:47:15 2016. # # This file is execfile()d with the current directory set to its @@ -14,6 +14,7 @@ import sys import os +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 @@ -47,8 +48,9 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'proj.4' -copyright = u'1986?-2016' +project = u'PROJ.4' +now = datetime.datetime.now() +copyright = u'1983-{0}'.format(now.year) author = u'Gerald Evenden, Frank Warmerdam, and others' # The version info for the project you're documenting, acts as replacement for @@ -56,9 +58,9 @@ author = u'Gerald Evenden, Frank Warmerdam, and others' # built documents. # # The short X.Y version. -version = u'4.9.3' +version = u'5.0.0' # The full version, including alpha/beta/rc tags. -release = u'4.9.3' +release = u'5.0.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -140,7 +142,13 @@ html_theme_options = {} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['_static'] +html_static_path = ['_static'] + +html_context = { + 'css_files': [ + '_static/theme_overrides.css', # override wide tables in RTD theme + ], +} # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied @@ -230,7 +238,7 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'proj4.tex', u'proj.4 Documentation', + (master_doc, 'proj4.tex', u'PROJ.4 Documentation', u'Gerald Evenden', 'manual'), ] @@ -260,7 +268,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'proj4', u'proj.4 Documentation', + (master_doc, 'proj4', u'PROJ.4 Documentation', [author], 1) ] @@ -274,7 +282,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'proj4', u'proj.4 Documentation', + (master_doc, 'proj4', u'PROJ.4 Documentation', author, 'proj4', 'One line description of project.', 'Miscellaneous'), ] |
