Skip to content

Commit 1e03781

Browse files
committed
format conf.py for docs
1 parent effb3c0 commit 1e03781

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/conf.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@
2424
# NOTE: If you installed your project in editable mode, this might be stale.
2525
# If this is the case, reinstall it to refresh the metadata
2626

27-
info = metadata("pyUCell")
28-
project = "pyucell"
29-
project_name = "pyucell"
30-
author = "Massimo Andreatta"
27+
info = metadata("pyucell")
28+
project = info["Name"]
29+
author = info["Author"]
3130
copyright = f"{datetime.now():%Y}, {author}."
3231
version = info["Version"]
3332
urls = dict(pu.split(", ") for pu in info.get_all("Project-URL"))
@@ -44,7 +43,7 @@
4443
html_context = {
4544
"display_github": True, # Integrate GitHub
4645
"github_user": "carmonalab",
47-
"github_repo": project_name,
46+
"github_repo": project,
4847
"github_version": "master",
4948
"conf_py_path": "/docs/",
5049
}

0 commit comments

Comments
 (0)