Skip to content

Commit 56bff68

Browse files
authored
Add comprehensive equations documentation (#1136)
1 parent c756f42 commit 56bff68

12 files changed

Lines changed: 1870 additions & 116 deletions

File tree

.typos.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ unknwn = "unknwn" # typo for "unknown" - tests unknown param detection
3030
tru = "tru" # typo for "true" in "when_tru" - tests dependency keys
3131

3232
[files]
33-
extend-exclude = ["docs/documentation/references*", "tests/", "toolchain/cce_simulation_workgroup_256.sh", "build-docs/"]
33+
extend-exclude = ["docs/documentation/references*", "docs/references.bib", "tests/", "toolchain/cce_simulation_workgroup_256.sh", "build-docs/"]

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ if (MFC_DOCUMENTATION)
720720
set(DOXYGEN_HTML_OUTPUT "\"${CMAKE_CURRENT_BINARY_DIR}/${target}\"")
721721
set(DOXYGEN_MATHJAX_CODEFILE "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/config.js\"")
722722
set(DOXYGEN_PROJECT_LOGO "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/res/icon.ico\"")
723+
set(DOXYGEN_CITE_BIB_FILES "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/references.bib\"")
723724
set(DOXYGEN_IMAGE_PATH "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/res\"\
724725
\"${CMAKE_CURRENT_SOURCE_DIR}/docs/${target}\"")
725726

@@ -752,6 +753,8 @@ if (MFC_DOCUMENTATION)
752753
"${opt_parameters_dependency}"
753754
"${${target}_SRCs}" "${${target}_DOCs}"
754755
COMMAND "${DOXYGEN_EXECUTABLE}" "${target}-Doxyfile"
756+
COMMAND "${Python3_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/docs/postprocess_citations.py"
757+
"${CMAKE_CURRENT_BINARY_DIR}/${target}"
755758
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
756759
COMMENT "${target}: Generating documentation"
757760
)
@@ -771,6 +774,7 @@ if (MFC_DOCUMENTATION)
771774
add_custom_target(documentation)
772775

773776
find_package(Doxygen REQUIRED dot REQUIRED)
777+
find_package(Python3 REQUIRED COMPONENTS Interpreter)
774778

775779
# > Fetch CSS Theme
776780
ExternalProject_Add(doxygen-awesome-css

docs/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ LAYOUT_FILE =
740740
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
741741
# search path. See also \cite for info how to create references.
742742

743-
CITE_BIB_FILES =
743+
CITE_BIB_FILES = @DOXYGEN_CITE_BIB_FILES@
744744

745745
#---------------------------------------------------------------------------
746746
# Configuration options related to warning and progress messages

docs/documentation/case.md

Lines changed: 34 additions & 34 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)