@@ -81,17 +81,38 @@ def extract_version(filename: str):
81
81
# The theme to use for HTML and HTML Help pages. See the documentation for
82
82
# a list of builtin themes.
83
83
84
- html_theme = "sphinx_rtd_theme"
85
- # html_theme = 'alabaster'
84
+ # html_theme = "pyramid"
85
+ # html_theme = "sphinx_rtd_theme"
86
+ html_theme = 'alabaster'
86
87
# html_theme = "classic"
87
88
89
+ # Alabaster theme options
90
+ html_theme_options = {
91
+ 'page_width' : '100%' , # Use full width of browser
92
+ 'body_max_width' : 'none' , # No maximum width constraint
93
+ 'sidebar_width' : '300px' , # Set sidebar width to 300px (adjust as needed)
94
+ 'fixed_sidebar' : True # Make sidebar fixed with separate scrolling
95
+ }
96
+
97
+
88
98
# Add any paths that contain custom static files (such as style sheets) here,
89
99
# relative to this directory. They are copied after the builtin static files,
90
100
# so a file named "default.css" will overwrite the builtin "default.css".
91
- html_static_path = []
101
+ html_static_path = ['_static' ]
102
+ html_css_files = ['custom.css' ]
103
+
104
+ html_sidebars = {
105
+ '**' : [
106
+ 'globaltoc.html' , # Global table of contents
107
+ 'localtoc.html' , # Local page table of contents
108
+ 'searchbox.html' , # Search box
109
+ 'sourcelink.html' # Link to source
110
+ ]
111
+ }
92
112
93
113
# use order in source rather than alphabetical order
94
- autodoc_member_order = 'bysource'
114
+ # autodoc_member_order = 'bysource'
115
+ autodoc_member_order = 'alphabetical'
95
116
96
117
# intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
97
118
0 commit comments