Skip to content

Commit

Permalink
MAINT: define REPO_TITLE
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 8, 2023
1 parent 2b87aba commit 541d28a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def create_constraints_inventory() -> None:
ORGANIZATION = "ComPWA"
PACKAGE = "qrules"
REPO_NAME = "qrules"
REPO_TITLE = "Quantum number conservation rules"

add_module_names = False
api_github_repo = f"{ORGANIZATION}/{REPO_NAME}"
Expand Down Expand Up @@ -221,7 +222,7 @@ def create_constraints_inventory() -> None:
"type": "url",
},
],
"logo": {"text": "Quantum number conservation rules"},
"logo": {"text": REPO_TITLE},
"repository_url": f"https://github.com/ComPWA/{REPO_NAME}",
"repository_branch": BRANCH,
"path_to_docs": "docs",
Expand All @@ -240,7 +241,7 @@ def create_constraints_inventory() -> None:
"show_navbar_depth": 2,
"show_toc_level": 2,
}
html_title = html_theme_options["logo"]["text"] # type: ignore[index]
html_title = REPO_TITLE
intersphinx_mapping = {
"ampform": ("https://ampform.readthedocs.io/en/stable", None),
"attrs": (f"https://www.attrs.org/en/{pin('attrs')}", None),
Expand Down

0 comments on commit 541d28a

Please sign in to comment.