Skip to content

Commit bc07c93

Browse files
committed
Change docs generating target name
1 parent 504a09e commit bc07c93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: cmake --preset gcc-RelWithDebInfo
3232

3333
- name: Generate Doxygen documentation
34-
run: cmake --build --preset gcc-RelWithDebInfo --target doc_doxygen
34+
run: cmake --build --preset gcc-RelWithDebInfo --target docs
3535

3636
- name: Deploy to GitHub Pages
3737
uses: peaceiris/actions-gh-pages@v3

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ if(DOXYGEN_FOUND)
101101

102102
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
103103

104-
add_custom_target(doc_doxygen
104+
add_custom_target(docs
105105
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
106106
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
107107
COMMENT "Generating API documentation with Doxygen"
108108
VERBATIM
109109
)
110110
else()
111-
message(STATUS "Doxygen not found. 'doc_doxygen' target will not be available.")
111+
message(STATUS "Doxygen not found. 'docs' target will not be available.")
112112
endif()

0 commit comments

Comments
 (0)