mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Add Versioning Support from version.txt (#3140)
Co-authored-by: Jonathan Shimwell <mail@jshimwell.com> Co-authored-by: Paul Wilson <paul.wilson@wisc.edu> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
fefe825e65
commit
a2a5c2af19
10 changed files with 153 additions and 44 deletions
|
|
@ -68,10 +68,14 @@ copyright = '2011-2024, Massachusetts Institute of Technology, UChicago Argonne
|
|||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
|
||||
import openmc
|
||||
|
||||
# The short X.Y version.
|
||||
version = "0.15"
|
||||
version = ".".join(openmc.__version__.split('.')[:2])
|
||||
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = "0.15.1-dev"
|
||||
release = openmc.__version__
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue