From 86c3ef2de8b0b4e2af246410c42cbf03788dd589 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 21 Feb 2024 01:01:00 +0100 Subject: docs: Use README.md to generate mainpage with doxygen Actually we are using a slightly modified one that removes the `Table of Contents` section and replaces it with the doxygen-compatible `[TOC]` to auto-generate a TOC that has working links. --- doxygen.cfg.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doxygen.cfg.in') diff --git a/doxygen.cfg.in b/doxygen.cfg.in index 8c77b8f..7aa54e8 100644 --- a/doxygen.cfg.in +++ b/doxygen.cfg.in @@ -521,7 +521,8 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = include/plist/plist.h +INPUT = include/plist/plist.h \ + docs/README.doxygen.md # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is @@ -625,6 +626,13 @@ FILTER_PATTERNS = FILTER_SOURCE_FILES = NO +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (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 = docs/README.doxygen.md + #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- -- cgit v1.1-32-gdbae