Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sblauth authored Mar 7, 2023
2 parents ebb5f1b + 556e8ce commit bb7a646
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ typing_extensions
myst-parser==0.18.1
jupytext==1.14.4
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
sphinx-favicon==1.0.1
9 changes: 5 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"sphinx.ext.viewcode",
"sphinx_design",
"myst_parser",
"sphinx_favicon",
]

napoleon_google_docstring = True
Expand Down Expand Up @@ -93,6 +94,10 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build"]

favicons = [
{"rel": "icon", "sizes": "16x16", "href": "favicon/favicon-16x16.png"},
{"rel": "icon", "sizes": "32x32", "href": "favicon/favicon-32x32.png"},
]

# -- Options for HTML output -------------------------------------------------

Expand Down Expand Up @@ -120,10 +125,6 @@
"navbar_end": ["theme-switcher", "version-switcher", "navbar-icon-links"],
"navbar_persistent": [],
"show_nav_level": 2,
"favicons": [
{"rel": "icon", "sizes": "16x16", "href": "favicon/favicon-16x16.png"},
{"rel": "icon", "sizes": "32x32", "href": "favicon/favicon-32x32.png"},
],
"switcher": {
"json_url": "https://cashocs.readthedocs.io/en/latest/_static/version_switcher.json",
"version_match": switcher_version,
Expand Down

0 comments on commit bb7a646

Please sign in to comment.