aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-05-13 11:38:12 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-05-13 11:38:12 +0200
commit1b92c7300971c0d9b99550d3f54ae1b8f7c02eb7 (patch)
tree06f1b89758832eb063826d38a2e737d515ec7ed6 /doc
parentbc379d2f9df84178bfdb3e2a0c6ce552e571b76b (diff)
downloadvis-1b92c7300971c0d9b99550d3f54ae1b8f7c02eb7.tar.gz
vis-1b92c7300971c0d9b99550d3f54ae1b8f7c02eb7.tar.xz
doc: update sphinx configuration to python 3
This was performed automatically using: 2to3 -w conf.py
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 1d17dd8..b11d3dc 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -24,7 +24,7 @@ import subprocess
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
-print subprocess.check_output('mkdir -p build/doxygen && doxygen', shell=True)
+print(subprocess.check_output('mkdir -p build/doxygen && doxygen', shell=True))
breathe_projects = {
'vis': 'build/doxygen/xml'
@@ -58,18 +58,18 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'Vis Editor'
-copyright = u'2017, Marc André Tanner'
-author = u'Marc André Tanner'
+project = 'Vis Editor'
+copyright = '2017, Marc André Tanner'
+author = 'Marc André Tanner'
# 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'0.3'
+version = '0.3'
# The full version, including alpha/beta/rc tags.
-release = u'0.3'
+release = '0.3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -140,8 +140,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
- (master_doc, 'VisEditor.tex', u'Vis Editor Documentation',
- u'Marc André Tanner', 'manual'),
+ (master_doc, 'VisEditor.tex', 'Vis Editor Documentation',
+ 'Marc André Tanner', 'manual'),
]
@@ -150,7 +150,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- (master_doc, 'viseditor', u'Vis Editor Documentation',
+ (master_doc, 'viseditor', 'Vis Editor Documentation',
[author], 1)
]
@@ -161,7 +161,7 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- (master_doc, 'VisEditor', u'Vis Editor Documentation',
+ (master_doc, 'VisEditor', 'Vis Editor Documentation',
author, 'VisEditor', 'One line description of project.',
'Miscellaneous'),
]