Skip to content

Commit

Permalink
update docs metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Oct 24, 2022
1 parent db3ad36 commit 6fca1e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/conf.py
Expand Up @@ -26,10 +26,11 @@ def setup(app):
setup_metadata = conf['project']

project = setup_metadata["name"]
author = f'{setup_metadata["authors"][0]["name"]} <{setup_metadata["authors"][0]["email"]}>'
primary_author = setup_metadata["authors"][0]
author = f'{primary_author["name"]} <{primary_author["email"]}>'
copyright = f'{datetime.now().year}, {author}'

package = importlib.import_module(setup_metadata["name"])
package = importlib.import_module(project)
version = package.__version__.split("-", 1)[0]
release = package.__version__

Expand All @@ -54,4 +55,4 @@ def setup(app):
# Enable nitpicky mode - which ensures that all references in the docs
# resolve.
nitpicky = True
nitpick_ignore = []
nitpick_ignore = []

0 comments on commit 6fca1e4

Please sign in to comment.