-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Sphinx based documentation for NaluWindUtils
- Loading branch information
Showing
19 changed files
with
3,800 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ build/* | |
|
||
doc/doxygen/html/* | ||
doc/doxygen/latex/* | ||
doc/manual/build/ | ||
|
||
.DS_Store | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
# Nalu Wind Energy Utilities | ||
|
||
This repository contains various pre- and post-processing utilities to be used | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
add_custom_target(docs) | ||
|
||
if (ENABLE_SPHINX_DOCS) | ||
add_subdirectory(manual) | ||
endif() | ||
|
||
if (ENABLE_DOXYGEN_DOCS) | ||
add_subdirectory(doxygen) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
if (CMAKE_VERSION LESS "3.9") | ||
find_package(Doxygen REQUIRED) | ||
|
||
if (DOXYGEN_FOUND_DOT) | ||
set(DOXYGEN_HAVE_DOT "YES" | ||
CACHE STRING "Flag indicating whether Graphviz is installed") | ||
else() | ||
set(DOXYGEN_HAVE_DOT "NO" | ||
CACHE STRING "Flag indicating whether Graphviz is installed") | ||
endif() | ||
else() | ||
cmake_policy(SET CMP0057 NEW) | ||
find_package(Doxygen | ||
OPTIONAL_COMPONENTS dot) | ||
endif() | ||
|
||
configure_file(Doxyfile.in Doxyfile @ONLY) | ||
add_custom_target(api-docs | ||
COMMAND ${DOXYGEN_EXECUTABLE} "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile") | ||
|
||
add_dependencies(docs api-docs) |
Oops, something went wrong.