There was an error while loading. Please reload this page.
2 parents 8ea8ee1 + abf9b4e commit 76b1041Copy full SHA for 76b1041
2 files changed
CMakeLists.txt
@@ -27,6 +27,9 @@ cmake_policy(VERSION ${CMAKE_VERSION})
27
project(solid_dmft VERSION 4.0.0 LANGUAGES CXX)
28
get_directory_property(IS_SUBPROJECT PARENT_DIRECTORY)
29
30
+# version displayed in the documentation
31
+set(BRANCH_FOR_DOC ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.x)
32
+
33
# ############
34
# Load TRIQS
35
find_package(TRIQS 4.0 REQUIRED)
doc/conf.py.in
@@ -49,7 +49,7 @@ autosummary_generate = True
49
autosummary_imported_members = False
50
51
project = '@PROJECT_NAME@'
52
-version = '@PROJECT_VERSION@'
+version = '@BRANCH_FOR_DOC@'
53
54
# this makes the current project version available as var in every rst file
55
rst_epilog = """
0 commit comments