Skip to content

Commit

Permalink
add separate make doxygen target to build reference docs without de…
Browse files Browse the repository at this point in the history
…pending on Jekyll
  • Loading branch information
dsieger committed Mar 2, 2019
1 parent 3e70ede commit f76ee34
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ endif()
# prepare doxygen configuration file
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)

# add doxygen as custom target
add_custom_target(doxygen ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
# POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/fonts" "${CMAKE_CURRENT_BINARY_DIR}/html/fonts"
)

# add docs as custom target
add_custom_target(docs ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
# POST_BUILD
Expand Down
6 changes: 4 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ located in the current working directory.

In order to build the full HTML manual and reference documentation call

$ make docs
$ make doxygen

The resulting HTML documentation can be found in the `docs/` sub-directory.
The resulting HTML documentation can be found in the `docs/html/`
sub-directory. Note: this requires [Doxygen](http://www.doxygen.nl/) to be
installed.

## Installation

Expand Down

0 comments on commit f76ee34

Please sign in to comment.