Skip to content

Commit

Permalink
docs: try pydata sphinx theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Nov 4, 2023
1 parent f5142fb commit 405f989
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
3 changes: 1 addition & 2 deletions dev/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sphinx-bootstrap-theme
sphinx_rtd_theme

pydata-sphinx-theme
28 changes: 19 additions & 9 deletions dev/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,29 @@
release = version

exclude_patterns = []
pygments_style = 'sphinx'
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

#sys.path.append(os.path.abspath('_themes'))
#html_theme_path = ['_themes']
html_theme = 'sphinx_rtd_theme'
#html_theme_options = {'nosidebar': True}
html_title = "XlsxWriter Documentation"
html_static_path = ['_static']

html_title = "XlsxWriter"
html_show_sphinx = True
html_show_copyright = True
htmlhelp_basename = 'XlsxWriterdoc'
html_add_permalinks = ""
#html_static_path = ['_static']
#html_css_files = ["custom.css"]

html_theme = 'pydata_sphinx_theme'


html_theme_options = {
"navbar_align": "left",
"header_links_before_dropdown": 1,
"secondary_sidebar_items": ["page-toc"],
"navbar_end": [],
"navbar_center": ["navbar-nav"],

"pygment_light_style": "vs",
"pygment_dark_style": "monokai"
}


latex_elements = {
'pointsize': '11pt',
Expand Down

0 comments on commit 405f989

Please sign in to comment.