From ef8808f8c72ec686ee1bb0b9ebe02fe733f4b82e Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Wed, 1 May 2024 17:01:01 +0700 Subject: [PATCH 1/2] Fix theme and TOC --- docs/conf.py | 11 ++++++----- docs/requirements.txt | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 53989d8..660773c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,10 +50,11 @@ # The master toctree document. master_doc = 'index' +toc_object_entries = False # General information about the project. project = u'funcy' -copyright = u'2012-2021, Alexander Schepanovski' +copyright = u'2012-2024, Alexander Schepanovski' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -102,10 +103,10 @@ # -- Options for HTML output --------------------------------------------------- -if not on_rtd: # only import and set the theme if we're building docs locally - import sphinx_rtd_theme - html_theme = "sphinx_rtd_theme" - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +# if not on_rtd: # only import and set the theme if we're building docs locally +# import sphinx_rtd_theme +html_theme = "sphinx_rtd_theme" + # html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. diff --git a/docs/requirements.txt b/docs/requirements.txt index 285b20a..61eec5c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -Sphinx==7.2.6 +Sphinx==7.3.7 sphinx-rtd-theme==2.0.0 sphinxcontrib-jquery==4.1 From 62d6c40d2d68e70da16ba6203f03b9df9ed3273b Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Wed, 1 May 2024 17:05:33 +0700 Subject: [PATCH 2/2] Clean up docs/conf --- docs/conf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 660773c..dd60768 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -103,10 +103,7 @@ # -- Options for HTML output --------------------------------------------------- -# if not on_rtd: # only import and set the theme if we're building docs locally -# import sphinx_rtd_theme html_theme = "sphinx_rtd_theme" - # html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes.