Skip to content

Commit 30a5cd5

Browse files
committed
Add CSFML version to the documentation
1 parent 7c88140 commit 30a5cd5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ endif()
3131
# configure the source Doxyfile by copying it and replacing all @variables@
3232
set(DOXYGEN_CONFIGURED_INPUT ${DOXYGEN_OUTPUT_DIR}/doxyfile)
3333
configure_file(${DOXYGEN_INPUT_DIR}/doc/doxyfile.in ${DOXYGEN_CONFIGURED_INPUT} @ONLY)
34+
configure_file(${DOXYGEN_INPUT_DIR}/doc/header.html.in ${DOXYGEN_OUTPUT_DIR}/header.html @ONLY)
3435

3536
# copy the files needed by the documentation
3637
configure_file(${DOXYGEN_INPUT_DIR}/doc/doxygen.css ${DOXYGEN_OUTPUT_DIR}/html/doxygen.css COPYONLY)

doc/doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ HTML_FILE_EXTENSION = .html
13411341
# of the possible markers and block names see the documentation.
13421342
# This tag requires that the tag GENERATE_HTML is set to YES.
13431343

1344-
HTML_HEADER = "@DOXYGEN_INPUT_DIR@/doc/header.html"
1344+
HTML_HEADER = "@DOXYGEN_OUTPUT_DIR@/header.html"
13451345

13461346
# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
13471347
# generated HTML page. If the tag is left blank doxygen will generate a standard

doc/header.html renamed to doc/header.html.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121
<div id="banner-container">
2222
<div id="banner">
23-
<span id="sfml">CSFML</span>
23+
<span id="sfml">CSFML @PROJECT_VERSION@</span>
2424
</div>
2525
</div>
2626
<div id="content">

0 commit comments

Comments
 (0)