summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-11 16:59:10 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-11 16:59:10 +0200
commit0c7149bd2ba1b459af35507b8332439554f02c5a (patch)
tree5a0bfe19efb67cbd30b25d99592f06e61ad7b48b
parent9b7586ae13a6a874993ab2a31ab4196548c405f8 (diff)
downloadfork-ledger-0c7149bd2ba1b459af35507b8332439554f02c5a.tar.gz
fork-ledger-0c7149bd2ba1b459af35507b8332439554f02c5a.tar.bz2
fork-ledger-0c7149bd2ba1b459af35507b8332439554f02c5a.zip
doc: Add support for extra html header for api documentation
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--doc/Doxyfile.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 9f5745ea..4fcdeb9b 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -11,6 +11,8 @@ project(ledger NONE)
set(DOXYGEN_EXTRA_CSS CACHE STRING
"Path to extra css file added to the generated API documentation")
+set(DOXYGEN_HTML_HEADER CACHE STRING
+ "Path to html file used as the generated API documentation header")
# Point CMake at any custom modules we may ship
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index f81e4130..55508319 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1246,7 +1246,7 @@ HTML_FILE_EXTENSION = .html
# of the possible markers and block names see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.
-HTML_HEADER =
+HTML_HEADER = @DOXYGEN_HTML_HEADER@
# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
# generated HTML page. If the tag is left blank doxygen will generate a standard