Skip to content

Commit

Permalink
Fix theme and TOC (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Suor committed May 1, 2024
1 parent cf6a0db commit 859056d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions docs/conf.py
Expand Up @@ -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
Expand Down Expand Up @@ -102,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()]
html_theme = "sphinx_rtd_theme"

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
Expand Down
2 changes: 1 addition & 1 deletion 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

0 comments on commit 859056d

Please sign in to comment.