mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-15 12:15:43 +08:00
Disable documentation by default
This commit is contained in:
parent
4a9b28e0b9
commit
ed6d514b5e
2
.github/workflows/doxygen.yml
vendored
2
.github/workflows/doxygen.yml
vendored
@ -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' {} \;
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user