Skip to content

Commit

Permalink
Switch to pydata based sphinx-book-theme
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Apr 9, 2022
1 parent 155564e commit 5c822fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2017-2019 Catalyst Cooperative and the Climate Policy Initiative
Copyright 2017-2022 Catalyst Cooperative

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
9 changes: 8 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
# The theme to use for HTML and HTML Help pages.

master_doc = "index"
html_theme = "pydata_sphinx_theme"
html_theme = "sphinx_book_theme"
html_logo = "_static/catalyst_logo-200x200.png"
html_icon = "_static/favicon.ico"

Expand All @@ -126,6 +126,13 @@
# documentation.
html_theme_options = {
"collapse_navigation": True,
"repository_url": "https://github.com/catalyst-cooperative/pudl",
"use_repository_button": True,
"use_issues_button": True,
"use_edit_page_button": True,
"repository_branch": "main",
"path_to_docs": "docs",
"use_download_button": True,
}

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"sphinx-autoapi~=1.8",
"sphinx-issues>=1.2,<4.0",
"sphinx-reredirects",
"pydata-sphinx-theme>=0.8",
"sphinx-book-theme>=0.3.2",
"sphinxcontrib_bibtex~=2.4",
],
"test": [
Expand Down

0 comments on commit 5c822fa

Please sign in to comment.