Skip to content

Commit

Permalink
fixed PEP8 warnings in documentation conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Sep 24, 2024
1 parent b74adf8 commit 66d5968
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions doc/UsersGuide/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import sys
sys.path.insert(0, os.path.abspath('.'))



# -- Project information -----------------------------------------------------

project = 'RRFS-Workflow Users Guide'
Expand Down Expand Up @@ -56,7 +54,7 @@
]

bibtex_bibfiles = ['references.bib']
#bibtex_bibfiles = ['refs.bib']
# bibtex_bibfiles = ['refs.bib']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -104,10 +102,11 @@
# 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 = []
# html_static_path = []
html_static_path = ['_static']
html_context = {}


def setup(app):
app.add_css_file('custom.css') # may also be an URL
app.add_css_file('theme_overrides.css') # may also be a URL
Expand All @@ -134,19 +133,19 @@ def setup(app):
latex_engine = 'pdflatex'
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
'papersize': 'letterpaper',
'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
'pointsize': '11pt',
'pointsize': '11pt',

# Additional stuff for the LaTeX preamble.
'preamble': r'''
'preamble': r'''
\usepackage{charter}
\usepackage[defaultsans]{lato}
\usepackage{inconsolata}
''',
# Release name prefix
'releasename': ' ',
'releasename': ' ',

# Latex figure (float) alignment
#
Expand Down

0 comments on commit 66d5968

Please sign in to comment.