From 690039e7d018c613fc62a8438c4a63a5a0b79ae4 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 24 Mar 2021 15:00:06 +0100 Subject: [PATCH] [ci] Fix Doxygen warnings output. --- .../prj/nonlinear_solvers/nonlinear_solver/t_type.md | 2 +- scripts/ci/jobs/build-docs.yml | 2 +- scripts/cmake/DocumentationSetup.cmake | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_type.md b/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_type.md index d1d749c4648..8f067026968 100644 --- a/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_type.md +++ b/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_type.md @@ -1,3 +1,3 @@ Type of the nonlinear solver. -Can be <tt>Picard</tt>, <tt>Newton</tt>, or <tt>PETScSNES<tt>. +Can be `Picard`, `Newton`, or `PETScSNES`. diff --git a/scripts/ci/jobs/build-docs.yml b/scripts/ci/jobs/build-docs.yml index 52b20f24b9c..27e9f0be11e 100644 --- a/scripts/ci/jobs/build-docs.yml +++ b/scripts/ci/jobs/build-docs.yml @@ -22,7 +22,7 @@ build docs: script: - cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DOGS_USE_CONAN=OFF -DOGS_BUILD_PROCESSES=GroundwaterFlow - cmake --build . --target doc > >(tee make-docs.output) - # ${CI_COMMIT_BRANCH//./-} replaces dots with hyphens + - cat DoxygenWarnings.log|grep warning:|grep -v 'too many nodes' - | if [ "$DEPLOY" == "true" ]; then if [ "$ON_MASTER" == "true" ]; then diff --git a/scripts/cmake/DocumentationSetup.cmake b/scripts/cmake/DocumentationSetup.cmake index 7d77078f229..afacf620f70 100644 --- a/scripts/cmake/DocumentationSetup.cmake +++ b/scripts/cmake/DocumentationSetup.cmake @@ -32,6 +32,7 @@ set(DOXYGEN_CITE_BIB_FILES ${PROJECT_SOURCE_DIR}/Documentation/bibliography/ogs ${PROJECT_SOURCE_DIR}/Documentation/bibliography/other ) +set(DOXYGEN_QUIET YES) set(DOXYGEN_WARN_LOGFILE ${PROJECT_BINARY_DIR}/DoxygenWarnings.log) set(DOXYGEN_EXCLUDE_PATTERNS moc_* ui_* CMake*) set(DOXYGEN_IMAGE_PATH ${PROJECT_SOURCE_DIR}/Documentation/images) -- GitLab