From 5598345745481d61ce5474569a0d8df5318980ca Mon Sep 17 00:00:00 2001 From: Tracy Barlow Date: Fri, 4 Dec 2026 23:04:25 +0000 Subject: [PATCH] DOC: Use each package's readme as its documentation main page The pipeline, device-detection and location Doxyfiles list the package readme as an input but leave USE_MDFILE_AS_MAINPAGE empty. Doxygen 1.17 then treats the readme as the documentation of its folder, and with FULL_PATH_NAMES set to NO there is no folder page to attach it to. It warns "No matching directory found for command \dir" and drops the readme, so the main page of each package has no content. Setting USE_MDFILE_AS_MAINPAGE to the readme makes it the main page, which clears the three warnings and adds none. --- device-detection/docs/Doxyfile | 2 +- location/docs/Doxyfile | 2 +- pipeline/docs/Doxyfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device-detection/docs/Doxyfile b/device-detection/docs/Doxyfile index 960a01a1..ddd54472 100644 --- a/device-detection/docs/Doxyfile +++ b/device-detection/docs/Doxyfile @@ -975,7 +975,7 @@ FILTER_SOURCE_PATTERNS = # (index.html). This can be useful if you have a project on for instance GitHub # and want to reuse the introduction page also for the doxygen output. -USE_MDFILE_AS_MAINPAGE = +USE_MDFILE_AS_MAINPAGE = ../readme.md #--------------------------------------------------------------------------- # Configuration options related to source browsing diff --git a/location/docs/Doxyfile b/location/docs/Doxyfile index a7599b50..20556216 100644 --- a/location/docs/Doxyfile +++ b/location/docs/Doxyfile @@ -973,7 +973,7 @@ FILTER_SOURCE_PATTERNS = # (index.html). This can be useful if you have a project on for instance GitHub # and want to reuse the introduction page also for the doxygen output. -USE_MDFILE_AS_MAINPAGE = +USE_MDFILE_AS_MAINPAGE = ../readme.md #--------------------------------------------------------------------------- # Configuration options related to source browsing diff --git a/pipeline/docs/Doxyfile b/pipeline/docs/Doxyfile index 8c4fa8dc..2661c551 100644 --- a/pipeline/docs/Doxyfile +++ b/pipeline/docs/Doxyfile @@ -976,7 +976,7 @@ FILTER_SOURCE_PATTERNS = # (index.html). This can be useful if you have a project on for instance GitHub # and want to reuse the introduction page also for the doxygen output. -USE_MDFILE_AS_MAINPAGE = +USE_MDFILE_AS_MAINPAGE = ../readme.md #--------------------------------------------------------------------------- # Configuration options related to source browsing