mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
automatically use version number set by cmake in doc
This commit is contained in:
parent
125eddfa7c
commit
2d7a5748d8
@ -49,6 +49,13 @@ autosummary_imported_members=False
|
|||||||
project = '@PROJECT_NAME@'
|
project = '@PROJECT_NAME@'
|
||||||
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 = '2017-2018 N. Wentzell, O. Parcollet 2018-2021 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
|
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2021 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
|
||||||
|
|
||||||
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"
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
app4triqs
|
app4triqs
|
||||||
*********
|
*********
|
||||||
|
|
||||||
.. sidebar:: app4triqs 3.0.0
|
.. sidebar:: app4triqs |PROJECT_VERSION|
|
||||||
|
|
||||||
This is the homepage of app4triqs v3.0.0.
|
This is the homepage of app4triqs |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