From 151629cd57e7047683bfce48b393f6e21da9b90d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 29 Sep 2021 16:47:48 +0200 Subject: Fix Doxygen version numbers This also removes Doxygen from the CMake build system. It doesn't seem worth trying to make it work both ways. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/48 --- libcrystfel/doc/Doxyfile.in | 4 ++-- libcrystfel/doc/index.md | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'libcrystfel/doc') diff --git a/libcrystfel/doc/Doxyfile.in b/libcrystfel/doc/Doxyfile.in index b3d42b18..0c74bfce 100644 --- a/libcrystfel/doc/Doxyfile.in +++ b/libcrystfel/doc/Doxyfile.in @@ -38,7 +38,7 @@ PROJECT_NAME = "libcrystfel" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = @VERSION@ +@INCLUDE = "libcrystfel/Doxyfile-version" # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a @@ -251,7 +251,7 @@ TAB_SIZE = 4 # commands \{ and \} for these it is advised to use the version @{ and @} or use # a double escape (\\{ and \\}) -ALIASES = +ALIASES = apirevision=@API_REVISION@ # This tag can be used to specify a number of word-keyword mappings (TCL only). # A mapping has the form "name=value". For example adding "class=itcl::class" diff --git a/libcrystfel/doc/index.md b/libcrystfel/doc/index.md index f1c72ed4..fc4275f4 100644 --- a/libcrystfel/doc/index.md +++ b/libcrystfel/doc/index.md @@ -1,10 +1,5 @@ \mainpage libcrystfel index page -Version -======= -This documentation is for libcrystfel from CrystFEL ${CRYSTFEL_VERSION}, API -revision ${CRYSTFEL_API_VERSION}. - Abstract ======== This is the internal documentation for CrystFEL. Unless you are looking at @@ -13,6 +8,8 @@ this. You might use the information here when reading the code or to better understand how the software works, or refer to it when creating a new program within the suite. +API revision \apirevision. + Coding standards ================ Please see the \ref coding "section on coding standards" for CrystFEL's coding -- cgit v1.2.3