From 824c1f39347c2ef46919dfc45e8247441b908827 Mon Sep 17 00:00:00 2001 From: Kent Gibson Date: Fri, 5 Jul 2024 10:17:50 +0800 Subject: [PATCH] doc: fix sphinx config for rtd Generating the latest documentation on readthedocs is broken as the index.html generated by Doxygen is now being overwritten by one generated by Sphinx. Make Sphinx generate a differently named root page that does not conflict with the index.html generated by Doxygen. Signed-off-by: Kent Gibson Link: https://lore.kernel.org/r/20240705021750.43197-1-warthog618@gmail.com Signed-off-by: Bartosz Golaszewski --- sphinx/conf.py | 2 ++ sphinx/{index.rst => contents.rst} | 0 2 files changed, 2 insertions(+) rename sphinx/{index.rst => contents.rst} (100%) diff --git a/sphinx/conf.py b/sphinx/conf.py index 51ae3e9..043dc79 100644 --- a/sphinx/conf.py +++ b/sphinx/conf.py @@ -53,6 +53,8 @@ exclude_patterns = [] # -- Options for HTML output ------------------------------------------------- +root_doc = 'contents' + # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # diff --git a/sphinx/index.rst b/sphinx/contents.rst similarity index 100% rename from sphinx/index.rst rename to sphinx/contents.rst -- 2.30.2