From de185409e1c2626ba2871c143736cf052befcbc4 Mon Sep 17 00:00:00 2001 From: Philipp Basler <28863303+phbasler@users.noreply.github.com> Date: Tue, 7 May 2024 00:13:29 +0200 Subject: [PATCH] Fix doxygen start page (#141) * Fix doxygen start page * add build missing for codecov * Add --build-missing to codeql --------- Co-authored-by: Philipp Basler --- .codecov.yaml | 2 ++ .github/workflows/codecov.yml | 2 +- .github/workflows/codeql.yml | 2 +- CMakeLists.txt | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.codecov.yaml b/.codecov.yaml index d2882791..ab6968bd 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -16,3 +16,5 @@ ignore: - "src/utility/spline/spline.cpp" - "src/utility/asciiplotter/asciiplotter.cpp" - "example/**" + - ".github" + - "**/README.md" diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index d6c0965a..675020cf 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -50,7 +50,7 @@ jobs: architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: Install conan run: pip install conan>2 - - run: python3 Setup.py --options EnableCoverage=True CompileBaryo=True UseVectorization=False + - run: python3 Setup.py --options EnableCoverage=True CompileBaryo=True UseVectorization=False --build-missing - name: Set cmake preset name run: python3 .github/GetProfile.py diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d53f4a4d..2cb4968f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -52,7 +52,7 @@ jobs: id: cpu-cores if: matrix.language == 'cpp' - name: Setup - run: python3 Setup.py --options CompileBaryo=True + run: python3 Setup.py --options CompileBaryo=True --build-missing if: matrix.language == 'cpp' - name: Set cmake preset name diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cdfa84c..6fe360ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,13 +203,14 @@ if(BSMPT_IS_TOPLEVEL) set(DOXYGEN_EXCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part1.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part2.cpp) + set(DOXYGEN_EXCLUDE_PATTERNS ${CMAKE_CURRENT_SOURCE_DIR}/src/*/README.md) set(DOXYGEN_PROJECT_BRIEF ${CMAKE_PROJECT_DESCRIPTION}) set(DOXYGEN_EXTRACT_PRIVATE YES) set(DOXYGEN_GENERATE_TREEVIEW YES) set(DOXYGEN_DISTRIBUTE_GROUP_DOC YES) set(DOXYGEN_WARN_IF_UNDOCUMENTED YES) set(DOXYGEN_WARN_IF_DOC_ERROR YES) - set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md) + set(DOXYGEN_USE_MDFILE_AS_MAINPAGE ${CMAKE_CURRENT_SOURCE_DIR}/README.md) doxygen_add_docs( doc