Skip to content

Commit

Permalink
docs: adapt conf.py project information
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinclert committed Oct 28, 2021
1 parent 4f2849b commit 954923a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@

# -- Project information -----------------------------------------------------

info = {}
project_folder = Path(__file__).parent.parent
with open(project_folder.joinpath('madminer', '__info__.py')) as f:
exec(f.read(), info)
version_file = project_folder.joinpath("VERSION")

project = 'MadMiner'
authors = info['__authors__']
version = info['__version__']
authors = 'Johann Brehmer, Felix Kling, Irina Espejo, Sinclert Perez, Kyle Cranmer'
version = open(version_file).read().strip()
copyright = '{} 2018-2020'.format(authors)

# The full version, including alpha/beta/rc tags
Expand Down

0 comments on commit 954923a

Please sign in to comment.