Skip to content

Commit

Permalink
[docs] Enter today's year automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Beaujean authored and Frederik Beaujean committed Dec 19, 2017
1 parent cd6fc8e commit ccda3f7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import sys
import os
import sphinx_py3doc_enhanced_theme
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
Expand Down Expand Up @@ -53,8 +54,8 @@ master_doc = 'index'

# General information about the project.
project = u'galario'
copyright = u'2017, Marco Tazzari, Frederik Beaujean, Leonardo Testi'
author = u'Marco Tazzari, Frederik Beaujean, Leonardo Testi'
authors = u'Marco Tazzari, Frederik Beaujean, Leonardo Testi'
copyright = '%d, %s' % (datetime.now().year, authors)

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -240,7 +241,7 @@ latex_elements = {

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
# authors, documentclass [howto, manual, or own class]).
# latex_documents = [
# (master_doc, 'galario.tex', u'galario Documentation',
# u'Marco Tazzari, Frederik Beaujean', 'manual'),
Expand Down Expand Up @@ -273,7 +274,7 @@ latex_elements = {
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'galario', u'galario Documentation',
[author], 1)
[authors], 1)
]

# If true, show URL addresses after external links.
Expand All @@ -283,11 +284,11 @@ man_pages = [
# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# (source start file, target name, title, authors,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'galario', u'galario Documentation',
author, 'galario', 'One line description of project.',
authors, 'galario', 'One line description of project.',
'Miscellaneous'),
]

Expand Down

0 comments on commit ccda3f7

Please sign in to comment.