Skip to content

Commit

Permalink
Merge pull request #195 from ConorMacBride/rtd
Browse files Browse the repository at this point in the history
Add RTD config
  • Loading branch information
ConorMacBride committed Apr 1, 2023
2 parents df3a8fe + 64ca91f commit d5ed60c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 60 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/docs.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2

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

python:
system_packages: false
install:
- method: pip
path: .
extra_requirements:
- docs

# Don't build any extra formats
formats: []
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"navbar_links": "absolute",
"show_prev_next": False,
"logo": {"link": "https://matplotlib.org/stable/",
"image_light": "images/logo2.svg",
"image_light": "images/logo_light.svg",
"image_dark": "images/logo_dark.svg"},
"collapse_navigation": False,
}
Expand Down
2 changes: 1 addition & 1 deletion docs/sample_summaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_pytest(test_name):
lambda x: x.name[:-1] in test_name,
pathlib.Path(tmp_dir).glob("*0")
)) / "results"
os.replace(src, dest)
shutil.copytree(src, dest)

return dest

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ docs =
sphinx
mpl_sphinx_theme>=3.6.0.dev0
sphinx_design
matplotlib==3.6

[tool:pytest]
testpaths = tests
Expand Down

0 comments on commit d5ed60c

Please sign in to comment.