From 8cd3391fae890deb24dc9100b6b51eab51c4df10 Mon Sep 17 00:00:00 2001 From: Kent Bull Date: Wed, 16 Oct 2024 09:25:36 -0600 Subject: [PATCH] fix: add ReadTheDocs theme reqs --- docs/Makefile | 5 ++++- docs/conf.py | 1 - docs/index.rst | 2 +- docs/requirements.txt | 11 ++++++++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index ee2890ee..882f3418 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -26,4 +26,7 @@ html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - @echo \ No newline at end of file + @echo + +open: + open _build/html/index.html \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 87625733..8a788a6a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -62,7 +62,6 @@ # if sphinx_rtd_theme: html_theme = "sphinx_rtd_theme" - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] else: html_theme = "default" diff --git a/docs/index.rst b/docs/index.rst index 0ff3e168..b084db9a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -32,6 +32,7 @@ API Reference .. toctree:: :maxdepth: 1 + naming keri_app keri_core keri_db @@ -41,7 +42,6 @@ API Reference keri_peer keri_vc keri_vdr - naming Indices and tables ================== diff --git a/docs/requirements.txt b/docs/requirements.txt index 8d65121e..89d1c0d0 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,11 @@ myst-parser >= 4.0.0 -Sphinx >= 8.1.3 \ No newline at end of file +Sphinx >= 8.1.3 + +sphinx-rtd-theme==3.0.1 +sphinxcontrib-applehelp==2.0.0 +sphinxcontrib-devhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 +sphinxcontrib-jquery==4.1 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==2.0.0 +sphinxcontrib-serializinghtml==2.0.0