Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
sphinx4 compatibility
  • Loading branch information
devernay committed Jun 5, 2021
1 parent 438edb3 commit 51e3c77
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
master_doc = 'index'

# General information about the project.
project = u'Natron'
copyright = u'2013-2021 The Natron documentation authors, licensed under CC BY-SA 4.0'
project = 'Natron'
copyright = '2013-2021 The Natron documentation authors, licensed under CC BY-SA 4.0'

# 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 @@ -189,7 +189,7 @@

# -- Options for LaTeX output --------------------------------------------------

mypreamble=ur'''\renewcommand{\code}[1]{\texttt{\footnotesize{}#1}}
mypreamble=r'''\renewcommand{\code}[1]{\texttt{\footnotesize{}#1}}
'''
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
Expand All @@ -205,8 +205,8 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Natron.tex', u'Natron Documentation',
u'The Natron documentation authors', 'manual'),
('index', 'Natron.tex', 'Natron Documentation',
'The Natron documentation authors', 'manual'),
]

#geometry = 'margin=1in,marginparwidth=0.5in'
Expand Down Expand Up @@ -239,8 +239,8 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'natron', u'Natron Documentation',
[u'The Natron documentation authors'], 1)
('index', 'natron', 'Natron Documentation',
['The Natron documentation authors'], 1)
]

# If true, show URL addresses after external links.
Expand All @@ -253,8 +253,8 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Natron', u'Natron Documentation',
u'The Natron documentation authors', 'Natron', 'Open-source, cross-platform, nodal video compositing software.',
('index', 'Natron', 'Natron Documentation',
'The Natron documentation authors', 'Natron', 'Open-source, cross-platform, nodal video compositing software.',
'Miscellaneous'),
]

Expand Down

0 comments on commit 51e3c77

Please sign in to comment.