Skip to content

Commit cb37a98

Browse files
committed
Minor doc conf.py clean-up
1 parent 0adb6ae commit cb37a98

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

doc/conf.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# -- Project information -----------------------------------------------------
1111
project = "PlotPy"
12-
copyright = "2018, CEA"
13-
author = "CEA"
12+
copyright = "2023, CEA-Codra"
13+
author = "CEA-Codra"
1414
version = ""
1515
version = ".".join(plotpy.__version__.split(".")[:2])
1616
release = plotpy.__version__
@@ -24,21 +24,15 @@
2424
"sphinx.ext.intersphinx",
2525
"sphinx.ext.napoleon",
2626
"sphinx_qt_documentation",
27+
"sphinx.ext.mathjax",
2728
]
28-
if "htmlhelp" in sys.argv:
29-
extensions += ["sphinx.ext.imgmath"]
30-
else:
31-
extensions += ["sphinx.ext.mathjax"]
3229
templates_path = ["_templates"]
3330
source_suffix = ".rst"
3431
master_doc = "index"
3532
exclude_patterns = []
3633
pygments_style = "sphinx"
3734

38-
if "htmlhelp" in sys.argv:
39-
html_theme = "classic"
40-
else:
41-
html_theme = "python_docs_theme"
35+
html_theme = "python_docs_theme"
4236
html_title = "%s %s Manual" % (project, version)
4337
html_short_title = "%s Manual" % project
4438
html_logo = "images/plotpy-vertical.png"

0 commit comments

Comments
 (0)