Skip to content

Commit cd26b63

Browse files
Change the theme to pydata-sphinx-theme and add changes to fit the sections and navigation menu with the new theme
1 parent a54fbb4 commit cd26b63

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+89
-100
lines changed

docs/environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ dependencies:
1414
- xarray
1515
- branca
1616
- shapely
17+
- pydata-sphinx-theme
1718
- pip:
1819
- ..
19-
20+
2021

Lines changed: 1 addition & 1 deletion

docs/source/conf.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# -*- coding: utf-8 -*-
2-
import sphinx_rtd_theme
32

43
extensions = [
5-
'jupyter_sphinx', 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon','sphinx.ext.todo', 'sphinx.ext.viewcode'
4+
'jupyter_sphinx','sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon','sphinx.ext.todo', 'sphinx.ext.viewcode'
65
]
76

87
templates_path = ['_templates']
@@ -25,7 +24,7 @@ def setup(app):
2524
pygments_style = 'sphinx'
2625

2726
# Output file base name for HTML help builder.
28-
html_theme = "sphinx_rtd_theme"
29-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
27+
html_theme = "pydata_sphinx_theme"
28+
#html_theme_path = [pydata_sphinx_theme.get_html_theme_path()]
3029
htmlhelp_basename = 'ipyleafletdoc'
3130
html_static_path = ['_static']

docs/source/api_reference/fullscreen_control.rst renamed to docs/source/controls/fullscreen_control.rst

Lines changed: 1 addition & 1 deletion

docs/source/controls/index.rst

Lines changed: 16 additions & 0 deletions

docs/source/api_reference/measure_control.rst renamed to docs/source/controls/measure_control.rst

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)