Skip to content

Commit

Permalink
Merge pull request #239 from astronomy-commons/sean/update-sphinx-tem…
Browse files Browse the repository at this point in the history
…plate

Change Sphinx theme to book theme
  • Loading branch information
smcguire-cmu authored Mar 14, 2024
2 parents ece81e4 + 44f2ef9 commit 014342d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.jupyter-widgets {
color: var(--pst-color-text-base) !important;
}
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,7 @@
autoapi_add_toc_tree_entry = False
autoapi_member_order = "bysource"

html_theme = "sphinx_rtd_theme"
html_theme = "sphinx_book_theme"

html_static_path = ["_static"]
html_css_files = ["custom.css"]
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ nbsphinx
sphinx
sphinx-autoapi
sphinx-copybutton
sphinx-rtd-theme
sphinx-book-theme

0 comments on commit 014342d

Please sign in to comment.