mirror of
https://github.com/triqs/dft_tools
synced 2024-11-04 21:23:53 +01:00
automatically use version number set by cmake in doc
This commit is contained in:
parent
6c94c72a8f
commit
03c1af557c
@ -52,6 +52,13 @@ autosummary_imported_members=False
|
|||||||
project = 'TRIQS DFTTools'
|
project = 'TRIQS DFTTools'
|
||||||
version = '@PROJECT_VERSION@'
|
version = '@PROJECT_VERSION@'
|
||||||
|
|
||||||
|
# this makes the current project version available as var in every rst file
|
||||||
|
rst_epilog = """
|
||||||
|
.. |PROJECT_VERSION| replace:: {version}
|
||||||
|
""".format(
|
||||||
|
version = version,
|
||||||
|
)
|
||||||
|
|
||||||
copyright = '2011-2021'
|
copyright = '2011-2021'
|
||||||
|
|
||||||
mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=default"
|
mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=default"
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
DFTTools
|
DFTTools
|
||||||
#########
|
#########
|
||||||
|
|
||||||
.. sidebar:: DFTTools 3.0.0
|
.. sidebar:: DFTTools |PROJECT_VERSION|
|
||||||
|
|
||||||
This is the homepage of DFTTools v3.0.0.
|
This is the homepage of DFTTools |PROJECT_VERSION|
|
||||||
For changes see the :ref:`changelog page <changelog>`.
|
For changes see the :ref:`changelog page <changelog>`.
|
||||||
|
|
||||||
.. image:: _static/logo_github.png
|
.. image:: _static/logo_github.png
|
||||||
|
Loading…
Reference in New Issue
Block a user