Skip to content

Commit 00f457b

Browse files
committed
switch to more modern theme (supports dark mode)
1 parent 0c583ed commit 00f457b

File tree

2 files changed

+8
-40
lines changed

2 files changed

+8
-40
lines changed

docs/source/_static/oracle_logo.png

-39.7 KB
Loading

docs/source/conf.py

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import datetime
66
import os
77
import sys
8+
from typing import Any, Dict
9+
810

911
# This causes documentation within the __init__ method to be pulled into the documentation properly
1012
autoclass_content = "both"
@@ -30,8 +32,11 @@
3032
"sphinx.ext.ifconfig",
3133
"sphinx.ext.graphviz",
3234
"sphinx.ext.inheritance_diagram",
35+
"sphinx.ext.todo",
36+
"sphinx.ext.viewcode",
3337
"nbsphinx",
3438
"sphinx_code_tabs",
39+
"sphinx_design",
3540
"sphinx_copybutton"
3641
]
3742

@@ -62,49 +67,12 @@
6267

6368
# The name of the Pygments (syntax highlighting) style to use.
6469
pygments_style = None
70+
language = "en"
6571

72+
html_theme = "furo"
6673
html_logo = "_static/oracle_logo.png"
67-
68-
# -- Options for HTML output -------------------------------------------------
69-
70-
# The theme to use for HTML and HTML Help pages. See the documentation for
71-
# a list of builtin themes.
72-
#
73-
html_theme = "sphinx_rtd_theme"
74-
75-
# Theme options are theme-specific and customize the look and feel of a theme
76-
# further. For a list of options available for each theme, see the
77-
# documentation.
78-
#
79-
html_theme_options = {
80-
"logo_only": False,
81-
# Toc options
82-
"sticky_navigation": True,
83-
"navigation_depth": 4,
84-
"includehidden": True,
85-
"titles_only": False,
86-
"display_version": True,
87-
}
88-
89-
# Add any paths that contain custom static files (such as style sheets) here,
90-
# relative to this directory. They are copied after the builtin static files,
91-
# so a file named "default.css" will overwrite the builtin "default.css".
9274
html_static_path = ["_static"]
93-
94-
# Custom sidebar templates, must be a dictionary that maps document names
95-
# to template names.
96-
#
97-
# The default sidebars (for documents that don't match any pattern) are
98-
# defined by theme itself. Builtin themes are using these templates by
99-
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
100-
# 'searchbox.html']``.
101-
#
102-
# html_sidebars = {}
103-
104-
105-
# -- Options for HTMLHelp output ---------------------------------------------
106-
107-
# Output file base name for HTML help builder.
75+
html_css_files = ["pied-piper-admonition.css"]
10876
htmlhelp_basename = "pydoc"
10977

11078

0 commit comments

Comments
 (0)