Skip to content

Commit 9e9ccd7

Browse files
fix: add @SMoraisAnsys sugesstion
1 parent ad7460d commit 9e9ccd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ansys_sphinx_theme/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,12 +532,12 @@ def add_tooltip_after_build(app: Sphinx, exception):
532532
return
533533

534534
outdir = pathlib.Path(app.outdir)
535+
536+
project_name = "Package Home"
535537
if app.config.html_short_title:
536538
project_name = f"{app.config.html_short_title} home"
537539
elif app.config.project:
538540
project_name = f"{app.config.project} home"
539-
else:
540-
project_name = "Package Home"
541541

542542
for html_file in outdir.rglob("*.html"):
543543
text = html_file.read_text(encoding="utf-8")

0 commit comments

Comments
 (0)