Skip to content

Commit

Permalink
rtd related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
parashardhapola committed Jul 26, 2024
1 parent c906e0f commit e619e9a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2

build:
os: "ubuntu-22.04"
os: ubuntu-22.04
tools:
python: "3.11"
python: 3.11

python:
install:
Expand Down
24 changes: 9 additions & 15 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,38 +38,32 @@
"colon_fence",
]

html_static_path = ["_static"]
html_css_files = ["styles.css"]

html_theme = "sphinx_book_theme"
html_favicon = "favicon.ico"
html_logo = "logo.png"
html_title = "Scarf documentation"
html_theme_options = {
"repository_url": "https://github.com/parashardhapola/scarf",
"use_repository_button": True,
"use_issues_button": False,
"use_edit_page_button": False,
"home_page_in_toc": True,
"path_to_docs": "docs/source",
"show_navbar_depth": 2,
"use_repository_button": True,
"use_download_button": True,
"use_fullscreen_button": True,
"home_page_in_toc": True,
"show_navbar_depth": 2,
"navigation_with_keys": False,
"toc_title": "Sections",
}
html_static_path = ["_static"]
html_css_files = ["styles.css"]

htmlhelp_basename = "Scarf Documentation"
html_sidebars = {
"**": [
"globaltoc.html",
"searchbox.html",
],
'using/windows': ['windows-sidebar.html', 'searchbox.html'],
}

man_pages = [(master_doc, "scarf", "Scarf Documentation", [author], 1)]

nb_execution_allow_errors = True
nb_execution_mode = "auto"
nb_execution_timeout = 5000
nb_execution_timeout = 200

import matplotlib

Expand Down
2 changes: 1 addition & 1 deletion docs/source/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ sphinx-copybutton
sphinx-external-toc
sphinx-tabs
topacedo
nbclient
nbclient<=0.8

0 comments on commit e619e9a

Please sign in to comment.