Skip to content

Commit

Permalink
Added Doxygen rendering theme
Browse files Browse the repository at this point in the history
  • Loading branch information
twdragon committed Aug 17, 2022
1 parent f48b685 commit 083074d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "config/doxygen-awesome"]
path = config/doxygen-awesome
url = [email protected]:jothepro/doxygen-awesome-css.git
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ execute_process(COMMAND git rev-parse --short HEAD
)
file(STRINGS "version" PROJECT_VERSION)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(PROJECT_VERSION "${PROJECT_VERSION}")
set(PROJECT_VERSION "${PROJECT_VERSION}")
else(CMAKE_BUILD_TYPE STREQUAL "Release")
set(PROJECT_VERSION "${PROJECT_VERSION}~dev_${COMMIT_ID}")
set(PROJECT_VERSION "${PROJECT_VERSION}~dev_${COMMIT_ID}")
endif(CMAKE_BUILD_TYPE STREQUAL "Release")
message(STATUS "Building version ${PROJECT_VERSION}")
configure_file(config/version.h.in
Expand Down Expand Up @@ -109,3 +109,5 @@ if(BUILD_DOCS)
add_custom_target(docs ALL DEPENDS doc-${PROJECT_NAME})
endif(${PROJECT_NAME}_DOCS_EXISTS)
endif(BUILD_DOCS)

# INSTALLATION
2 changes: 1 addition & 1 deletion config/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ HTML_STYLESHEET =
# list). For an example see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_STYLESHEET =
HTML_EXTRA_STYLESHEET = @CMAKE_CURRENT_SOURCE_DIR@/config/doxygen-awesome/doxygen-awesome.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
Expand Down
1 change: 1 addition & 0 deletions config/doxygen-awesome
Submodule doxygen-awesome added at a5efba

0 comments on commit 083074d

Please sign in to comment.