From 66d59689c85a0a405f2dfbbfc575d069b7691aa2 Mon Sep 17 00:00:00 2001 From: Ed Date: Tue, 24 Sep 2024 15:20:24 -0600 Subject: [PATCH] fixed PEP8 warnings in documentation conf.py --- doc/UsersGuide/source/conf.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/UsersGuide/source/conf.py b/doc/UsersGuide/source/conf.py index 921014a0f..13131a2f6 100644 --- a/doc/UsersGuide/source/conf.py +++ b/doc/UsersGuide/source/conf.py @@ -16,8 +16,6 @@ import sys sys.path.insert(0, os.path.abspath('.')) - - # -- Project information ----------------------------------------------------- project = 'RRFS-Workflow Users Guide' @@ -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'] @@ -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 @@ -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 #