Skip to content

Commit

Permalink
Update Sphinx theme and configuration (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Mar 8, 2024
1 parent 3ca3a33 commit 905562e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
31 changes: 16 additions & 15 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,25 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output


html_title = 'offsets-db-data'
html_theme_options = {
'light_logo': 'monogram-dark-cropped.png',
'dark_logo': 'monogram-light-cropped.png',
}
html_theme = 'sphinx_book_theme'


html_theme = 'furo'
html_title = ''
repository = 'carbonplan/offsets-db-data'
repository_url = 'https://github.com/carbonplan/offsets-db-data'

html_last_updated_fmt = '%b %d, %Y'
html_context = {
'github_user': 'carbonplan',
'github_repo': 'offsets-db-data',
'github_version': 'main',
'doc_path': 'docs',

html_title = 'offsets-db-data'


html_theme_options = {
'repository_url': 'https://github.com/carbonplan/offsets-db-data',
'repository_branch': 'main',
'use_repository_button': True,
'path_to_docs': 'docs',
'use_edit_page_button': True,
'use_source_button': True,
'logo': {
'image_dark': 'monogram-light-cropped.png',
'image_light': 'monogram-dark-cropped.png',
},
}
html_static_path = ['_static']

Expand Down
2 changes: 1 addition & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
furo>=2023.09.10
sphinx-book-theme>=1.1.2
myst-nb
sphinx
sphinx-copybutton
Expand Down

0 comments on commit 905562e

Please sign in to comment.