From b0d6c2bea9892a3664485ef1adbccb90ca950845 Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Mon, 22 Dec 2014 22:19:38 +0100 Subject: [PATCH] Added version in doc header --- doc/CMakeLists.txt | 1 + doc/doxyfile.in | 2 +- doc/{header.html => header.html.in} | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename doc/{header.html => header.html.in} (90%) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 2fa5dae2..8017a9c1 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -39,6 +39,7 @@ endif() # configure the source Doxyfile by copying it and replacing all @variables@ set(DOXYGEN_CONFIGURED_INPUT ${DOXYGEN_OUTPUT_DIR}/doxyfile) configure_file(${DOXYGEN_INPUT_DIR}/doc/doxyfile.in ${DOXYGEN_CONFIGURED_INPUT} @ONLY) +configure_file(${DOXYGEN_INPUT_DIR}/doc/header.html.in ${DOXYGEN_OUTPUT_DIR}/header.html @ONLY) # copy the files needed by the documentation configure_file(${DOXYGEN_INPUT_DIR}/doc/doxygen.css ${DOXYGEN_OUTPUT_DIR}/html/doxygen.css COPYONLY) diff --git a/doc/doxyfile.in b/doc/doxyfile.in index 87ae6e95..5611ac64 100644 --- a/doc/doxyfile.in +++ b/doc/doxyfile.in @@ -1083,7 +1083,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 = "@DOXYGEN_INPUT_DIR@/doc/header.html" +HTML_HEADER = "@DOXYGEN_OUTPUT_DIR@/header.html" # 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 diff --git a/doc/header.html b/doc/header.html.in similarity index 90% rename from doc/header.html rename to doc/header.html.in index 314dba7d..34337fd6 100644 --- a/doc/header.html +++ b/doc/header.html.in @@ -12,7 +12,7 @@