Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/site/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ set(APR_UTIL_RELEASE_VERSION "1.6.3")
set(APR_UTIL_SOURCE_PACKAGE_FILE_NAME "apr-util-${APR_UTIL_RELEASE_VERSION}")
set(APR_UTIL_SOURCE_PACKAGE_FILE_URL "${APACHE_APR_SOURCE_PACKAGE_URL}/${APR_UTIL_SOURCE_PACKAGE_FILE_NAME}")

string(TIMESTAMP SITE_PUBLISHED_DATE "%a %b %d %Y" UTC)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/doxy/set-site-published-date.js.in"
"${CMAKE_CURRENT_BINARY_DIR}/set-site-published-date.js" )

configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/doxy/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile )

Expand Down
2 changes: 1 addition & 1 deletion src/site/doxy/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ HTML_EXTRA_STYLESHEET = src/site/doxy/customdoxygen.css
# files will be copied as-is; there are no commands or markers available.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_FILES =
HTML_EXTRA_FILES = ${CMAKE_CURRENT_BINARY_DIR}/set-site-published-date.js

# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
# should be rendered with a dark or light theme.
Expand Down
5 changes: 3 additions & 2 deletions src/site/doxy/footer.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!-- HTML footer for doxygen 1.8.13-->
<!-- HTML footer for doxygen 1.14.0-->
<!-- start footer part -->
<!--BEGIN GENERATE_TREEVIEW-->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
$navpath
<li class="footer">$generatedby
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="https://www.doxygen.nl/images/doxygen.png" alt="Doxygen"/></a> $doxygenversion on $date </li>
<img class="footer" src="https://www.doxygen.nl/images/doxygen.png" alt="Doxygen"/></a> $doxygenversion on <span id='site-published-date'>SITE_PUBLISHED_DATE</span></li>
<li class="center">
Copyright &copy; 2017-2024 <a href="https://www.apache.org/">Apache Software Foundation</a>.
Apache, Chainsaw, log4cxx, Log4j, Log4net, log4php and the Apache feather logo are
Expand All @@ -18,6 +18,7 @@
</li>
</ul>
</div>
<script src="set-site-published-date.js"></script>
<!--END GENERATE_TREEVIEW-->
</body>
</html>
1 change: 1 addition & 0 deletions src/site/doxy/set-site-published-date.js.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
document.getElementById('site-published-date').textContent = '${SITE_PUBLISHED_DATE}';