From 79bfd67f9a2ed5cae966b72cc2a72f68824c4ab8 Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Thu, 4 Jun 2020 23:31:48 -0700 Subject: [PATCH] docs: Use doxygen config to mark the main page The doxygen config option "USE_MDFILE_AS_MAINPAGE" can be used to set the main page in doxygen generated pdf. This allows us to remove the "#mainpage" from the README file which markdown doesn't parse. Signed-off-by: Atish Patra Reviewed-by: Anup Patel --- README.md | 2 +- docs/doxygen.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fcd9d7..8958343 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -RISC-V Open Source Supervisor Binary Interface (OpenSBI) {#mainpage} +RISC-V Open Source Supervisor Binary Interface (OpenSBI) ======================================================== Copyright and License diff --git a/docs/doxygen.cfg b/docs/doxygen.cfg index f32ada1..dbf8ef9 100644 --- a/docs/doxygen.cfg +++ b/docs/doxygen.cfg @@ -949,7 +949,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