diff --git a/docs/_templates/docs-sidebar.html b/docs/_templates/docs-sidebar.html deleted file mode 100644 index d3b553e8..00000000 --- a/docs/_templates/docs-sidebar.html +++ /dev/null @@ -1,23 +0,0 @@ - -{% if logo %} - - - -{% else %} - -CONTEXTILY - -
Context geo tiles in Python
-{% endif %} - - - - - diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html deleted file mode 100644 index a9d0f30b..00000000 --- a/docs/_templates/layout.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "pydata_sphinx_theme/layout.html" %} - -{# Silence the navbar #} -{% block docs_navbar %} -{% endblock %} diff --git a/docs/conf.py b/docs/conf.py index 022e4a15..aecb8fec 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,8 +17,9 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # # import os -# import sys -# sys.path.insert(0, os.path.abspath('.')) +import sys +sys.path.insert(0, os.path.abspath("..")) +import contextily # noqa # -- Project information ----------------------------------------------------- @@ -28,7 +29,7 @@ author = "Dani Arribas-Bel & Contexily Contributors" # The full version, including alpha/beta/rc tags -release = "1.1.0" +release = contextily.__version__ # -- General configuration --------------------------------------------------- @@ -60,7 +61,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "pydata_sphinx_theme" +html_theme = "sphinx_book_theme" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, @@ -71,8 +72,10 @@ "css/custom.css", ] -html_sidebars = { - "**": ["docs-sidebar.html"], +html_theme_options = { + "logo": { + "text": "CONTEXTILY