Skip to content

Commit 76b1041

Browse files
committed
Merge remote-tracking branch 'app4triqs-remote/4.0.x' into 4.0.x
# Conflicts: # doc/conf.py.in # doc/doxygen/Doxyfile.in
2 parents 8ea8ee1 + abf9b4e commit 76b1041

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ cmake_policy(VERSION ${CMAKE_VERSION})
2727
project(solid_dmft VERSION 4.0.0 LANGUAGES CXX)
2828
get_directory_property(IS_SUBPROJECT PARENT_DIRECTORY)
2929

30+
# version displayed in the documentation
31+
set(BRANCH_FOR_DOC ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.x)
32+
3033
# ############
3134
# Load TRIQS
3235
find_package(TRIQS 4.0 REQUIRED)

doc/conf.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ autosummary_generate = True
4949
autosummary_imported_members = False
5050

5151
project = '@PROJECT_NAME@'
52-
version = '@PROJECT_VERSION@'
52+
version = '@BRANCH_FOR_DOC@'
5353

5454
# this makes the current project version available as var in every rst file
5555
rst_epilog = """

0 commit comments

Comments
 (0)