public inbox for linux-gpio@vger.kernel.org
 help / color / mirror / Atom feed
* [libgpiod][PATCH] doc: fix sphinx config for rtd
@ 2024-07-05  2:17 Kent Gibson
  2024-07-05  7:41 ` Bartosz Golaszewski
  0 siblings, 1 reply; 14+ messages in thread
From: Kent Gibson @ 2024-07-05  2:17 UTC (permalink / raw)
  To: linux-gpio, brgl; +Cc: Kent Gibson

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 <warthog618@gmail.com>
---
 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.39.2


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-07-10  7:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05  2:17 [libgpiod][PATCH] doc: fix sphinx config for rtd Kent Gibson
2024-07-05  7:41 ` Bartosz Golaszewski
2024-07-06  2:54   ` Kent Gibson
2024-07-08 11:48     ` Bartosz Golaszewski
2024-07-08 12:43       ` Kent Gibson
2024-07-08 13:50         ` Bartosz Golaszewski
2024-07-08 15:15           ` Kent Gibson
2024-07-08 15:19             ` Bartosz Golaszewski
2024-07-08 15:29               ` Kent Gibson
2024-07-09  9:34                 ` Kent Gibson
2024-07-09 15:48                   ` Bartosz Golaszewski
2024-07-10  1:48                     ` Kent Gibson
2024-07-10  7:55                       ` Bartosz Golaszewski
2024-07-09  8:22       ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox