Disable documentation by default

This commit is contained in:
Hennadii Chernyshchyk 2022-06-10 00:00:31 +03:00
parent 4a9b28e0b9
commit ed6d514b5e
No known key found for this signature in database
GPG Key ID: 24623302B8395825
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
- name: Generate documentation - name: Generate documentation
run: | run: |
cmake -B build -D DOXYGEN_WARN_AS_ERROR=YES cmake -B build -D SINGLEAPPLICATION_DOCUMENTATION=ON -D DOXYGEN_WARN_AS_ERROR=YES
cmake --build build --target SingleApplicationDocumentation cmake --build build --target SingleApplicationDocumentation
find build/html/ -name *.html -type f -exec sed -i 's+https://github.com/jothepro/doxygen-awesome-css+https://github.com/itay-grudev/SingleApplication+g' {} \; find build/html/ -name *.html -type f -exec sed -i 's+https://github.com/jothepro/doxygen-awesome-css+https://github.com/itay-grudev/SingleApplication+g' {} \;

View File

@ -30,7 +30,7 @@ endif()
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS ${QT_COMPONENTS} REQUIRED) find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS ${QT_COMPONENTS} REQUIRED)
option(SINGLEAPPLICATION_DOCUMENTATION "Generate Doxygen documentation" ON) option(SINGLEAPPLICATION_DOCUMENTATION "Generate Doxygen documentation" OFF)
if(SINGLEAPPLICATION_DOCUMENTATION) if(SINGLEAPPLICATION_DOCUMENTATION)
find_package(Doxygen) find_package(Doxygen)
endif() endif()