pangeo theme installs from pypi
DELETE
docs/_static/custom.css
-/* Put your custom CSS here */
-@import url('http://fonts.cdnfonts.com/css/panton-black-caps');
-
-h1 {
- font-family: "Panton Black Caps", sans-serif;
- color: #003B71 !important;
-}
-
-h2 {
- font-family: "Panton Light Caps", sans-serif;
- color: #322173 !important;
-}
-
-h3 {
- color: #322173 !important;
-}
-
-a {
- color: #5eb130 !important;
-}
-
-
-
-/* Fixing up some pygments and code-styling CSS for accessibility */
-code { font-size: 100%; color: #e50051; }
-pre { font-family: monospace; }
-
-/* .highlight { font-size: 125%; } */
-.highlight .c1 { color: #e50051; }
-.highlight .si { color: #e50051; }
-.highlight .nn { color: #e50051; }

MODIFY
docs/conf.py
docs/conf.py
-# import pangeo_sphinx_book_theme # noqa
-
# -- Project information -----------------------------------------------------
project = "Pangeo Forge"
copyright = "2020, Pangeo Community"
author = "Pangeo Community"
-
# -- General configuration ---------------------------------------------------
extensions = [
@@ -17,7 +14,6 @@ extensions = [
"sphinx_copybutton",
]
-# templates_path = ["_templates"]
exclude_patterns = ["_build", "**.ipynb_checkpoints"]
master_doc = "index"
@@ -29,8 +25,15 @@ execution_excludepatterns = ["tutorials/*"]
# https://sphinx-book-theme.readthedocs.io/en/latest/configure.html
html_theme = "pangeo_sphinx_book_theme"
-html_theme_options = {}
+html_theme_options = {
+ "repository_url": "https://github.com/pangeo-forge/pangeo-forge-recipes",
+ "repository_branch": "master",
+ "path_to_docs": "docs",
+ "use_repository_button": True,
+ "use_issues_button": True,
+ "use_edit_page_button": True,
+}
html_logo = "_static/pangeo-forge-logo-blue.png"
html_static_path = ["_static"]
-html_css_files = ["_static/pangeo-sphinx-book-theme.css",]
+
myst_heading_anchors = 2

MODIFY
docs/requirements.txt
docs/requirements.txt
sphinx
-pydata-sphinx-theme>=0.4.2
-sphinx_book_theme
+pangeo-sphinx-book-theme>=0.1.1
myst-parser
myst-nb>=0.12.3
sphinx-copybutton

pangeo theme installs from pypi