Fixes for problems encountered with version determination (#3320)

This commit is contained in:
Paul Romano 2025-02-24 21:49:47 -06:00 committed by GitHub
parent fed4b28616
commit 1729b3bf91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 10 deletions

View file

@ -62,7 +62,7 @@ master_doc = 'index'
# General information about the project.
project = 'OpenMC'
copyright = '2011-2024, Massachusetts Institute of Technology, UChicago Argonne LLC, and OpenMC contributors'
copyright = '2011-2025, Massachusetts Institute of Technology, UChicago Argonne LLC, and OpenMC contributors'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -71,11 +71,8 @@ copyright = '2011-2024, Massachusetts Institute of Technology, UChicago Argonne
import openmc
# The short X.Y version.
version = ".".join(openmc.__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = openmc.__version__
version = release = openmc.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View file

@ -4,7 +4,7 @@
License Agreement
=================
Copyright © 2011-2024 Massachusetts Institute of Technology, UChicago Argonne
Copyright © 2011-2025 Massachusetts Institute of Technology, UChicago Argonne
LLC, and OpenMC contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of