Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 11, 2023
1 parent 4cdc336 commit 7de0517
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/website/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def add_project_maintainers(self):
project: str = meta["name"]
"""Name of the project"""

author: str = ", ".join([_author["name"] for _author in meta["authors"] if _author["name"]])
author: str = ", ".join([_author["name"] for _author in meta["author"]["entries"] if _author["name"]])
"""Authors' names"""

project_copyright: Union[str, List[str]] = meta["copyright"]["notice"]
Expand Down Expand Up @@ -539,7 +539,7 @@ def add_project_maintainers(self):
root_doc,
f"{meta['package']['name']}_docs.tex",
f"{meta['name']} Documentation",
" \\and ".join([_author["name"] for _author in meta["authors"]]),
" \\and ".join([_author["name"] for _author in meta["author"]["entries"] if _author["name"]]),
"manual",
False,
),
Expand Down Expand Up @@ -592,7 +592,7 @@ def add_project_maintainers(self):
root_doc,
meta["package"]["name"],
f"{meta['name']} Documentation",
[_author["name"] for _author in meta["authors"]],
[_author["name"] for _author in meta["author"]["entries"] if _author["name"]],
"1",
)
]
Expand All @@ -615,7 +615,7 @@ def add_project_maintainers(self):
root_doc,
f"{meta['package']['name']}_docs",
f"{meta['name']} Documentation",
"@*".join([_author["name"] for _author in meta["authors"]]),
"@*".join([_author["name"] for _author in meta["author"]["entries"] if _author["name"]]),
meta["package"]["name"],
meta["tagline"],
"Documentation",
Expand Down

0 comments on commit 7de0517

Please sign in to comment.