We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e43656d commit 0f48c90Copy full SHA for 0f48c90
src/ansys_sphinx_theme/__init__.py
@@ -532,9 +532,11 @@ def add_tooltip_after_build(app: Sphinx, exception):
532
return
533
534
outdir = pathlib.Path(app.outdir)
535
- project_name = f"{app.config.html_short_title} home" or None
536
- if not project_name:
537
- project_name = f"{app.config.project} home" or "Package Home"
+ if not app.config.html_short_title and not app.config.project:
+ project_name = "Package Home"
+
538
+ else:
539
+ project_name = f"{app.config.html_short_title} home" or f"{app.config.project} home"
540
541
for html_file in outdir.rglob("*.html"):
542
text = html_file.read_text(encoding="utf-8")
0 commit comments