Skip to content

Commit

Permalink
Merge pull request #116 from arjbingly/sphinx-change-theme
Browse files Browse the repository at this point in the history
Change sphinx theme
  • Loading branch information
sanchitvj authored Apr 30, 2024
2 parents aba54af + a2efd40 commit 1f912ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dev = [
"mypy",
"ruff",
"sphinx",
"sphinx-rtd-theme",
"pydata-sphinx-theme",
"sphinx-gallery",
]

Expand Down
5 changes: 3 additions & 2 deletions src/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
]

sphinx_gallery_conf = {
'examples_dirs': ['../../cookbook/Basic-RAG', '../../cookbook/RAG-GUI', '../../cookbook/Retriever-GUI'], # path to your example scripts
'examples_dirs': ['../../cookbook/Basic-RAG', '../../cookbook/RAG-GUI', '../../cookbook/Retriever-GUI'],
# path to your example scripts
# 'examples_dirs': '../../cookbook',
'gallery_dirs': ['auto_examples/Basic-RAG', 'auto_examples/RAG-GUI', 'auto_examples/Retriever-GUI'],
# path to where to save gallery generated output
Expand Down Expand Up @@ -89,7 +90,7 @@ def linkcode_resolve(domain, info):
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = 'pydata_sphinx_theme'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down

0 comments on commit 1f912ba

Please sign in to comment.