From 4cda00debe4d0c84dd98e3b6ec729b9ba7ee7de0 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 24 Dec 2020 13:24:37 +0100 Subject: [PATCH] Doc: Cosmetic fixes for doxyhen-generated doc The documentation generated with 'make WebDoc' is now a git repo at https://github.com/FreeCAD/SourceDoc and can be read online via https://freecad.github.io/SourceDoc/ - The page at https://freecadweb.org/api now redirects to it. --- src/Doc/CMakeLists.txt | 3 ++- src/Doc/mainpage.dox.in | 6 ++---- src/Doc/templates/footer.html | 16 +++++++++++----- src/Doc/templates/header.html | 13 +++++++++---- 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/Doc/CMakeLists.txt b/src/Doc/CMakeLists.txt index a9fa77d125..545d7d3c8f 100644 --- a/src/Doc/CMakeLists.txt +++ b/src/Doc/CMakeLists.txt @@ -65,7 +65,8 @@ if(DOXYGEN_FOUND) ${CMAKE_SOURCE_DIR}/src/Mod ${CMAKE_BINARY_DIR}/src/Mod #${CMAKE_SOURCE_DIR}/src/Main #nothing to document there ATM... - ${CMAKE_SOURCE_DIR}/src/Doc + ${CMAKE_SOURCE_DIR}/src/Doc + ${CMAKE_BINARY_DIR}/src/Doc ) STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT_LIST "${DOXYGEN_SOURCE_DIR}") diff --git a/src/Doc/mainpage.dox.in b/src/Doc/mainpage.dox.in index 6d6986eed2..532575e016 100644 --- a/src/Doc/mainpage.dox.in +++ b/src/Doc/mainpage.dox.in @@ -22,8 +22,6 @@ /** - - \mainpage FreeCAD source documentation This is the source documentation of FreeCAD. @@ -50,8 +48,6 @@ the source code documentation. You can also browse through the source code on github. - - \if DEV_DOCUMENTATION \mainpage FreeCAD source documentation @@ -78,7 +74,9 @@ \endif + @GIT_REVISION_INFO@ + */ /** \namespace std diff --git a/src/Doc/templates/footer.html b/src/Doc/templates/footer.html index f2fa20497a..bd51dade56 100644 --- a/src/Doc/templates/footer.html +++ b/src/Doc/templates/footer.html @@ -16,11 +16,17 @@ - + diff --git a/src/Doc/templates/header.html b/src/Doc/templates/header.html index ef7851ab44..20b6f64717 100644 --- a/src/Doc/templates/header.html +++ b/src/Doc/templates/header.html @@ -20,16 +20,21 @@ $mathjax $extrastylesheet - + - +