Skip to content

Commit

Permalink
fix Sphinx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed May 18, 2022
1 parent 8dfb797 commit 5483667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def setup(app):
sys.path.insert(0, os.path.abspath('exts/'))

# -- General configuration ------------------------------------------------
setup_cfg = toml.load('../pyproject.toml')['tool']['poetry']
setup_cfg = toml.load('../pyproject.toml')['project']

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.3'
Expand Down Expand Up @@ -131,7 +131,7 @@ def check_sphinx_version(expected_version):

# General information about the project
project = setup_cfg['name']
author = setup_cfg['authors'][0]
author = setup_cfg['authors'][0]['name']
copyright = '{0}, {1}'.format(datetime.datetime.now().year, author)

# The version info for the project you're documenting, acts as replacement for
Expand Down

0 comments on commit 5483667

Please sign in to comment.