Skip to content

Commit d5ed60c

Browse files
Merge pull request #195 from ConorMacBride/rtd
Add RTD config
2 parents df3a8fe + 64ca91f commit d5ed60c

File tree

5 files changed

+20
-60
lines changed

5 files changed

+20
-60
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.readthedocs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-22.04"
5+
tools:
6+
python: "3.11"
7+
8+
python:
9+
system_packages: false
10+
install:
11+
- method: pip
12+
path: .
13+
extra_requirements:
14+
- docs
15+
16+
# Don't build any extra formats
17+
formats: []

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"navbar_links": "absolute",
6161
"show_prev_next": False,
6262
"logo": {"link": "https://matplotlib.org/stable/",
63-
"image_light": "images/logo2.svg",
63+
"image_light": "images/logo_light.svg",
6464
"image_dark": "images/logo_dark.svg"},
6565
"collapse_navigation": False,
6666
}

docs/sample_summaries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def run_pytest(test_name):
3636
lambda x: x.name[:-1] in test_name,
3737
pathlib.Path(tmp_dir).glob("*0")
3838
)) / "results"
39-
os.replace(src, dest)
39+
shutil.copytree(src, dest)
4040

4141
return dest
4242

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ docs =
4343
sphinx
4444
mpl_sphinx_theme>=3.6.0.dev0
4545
sphinx_design
46+
matplotlib==3.6
4647

4748
[tool:pytest]
4849
testpaths = tests

0 commit comments

Comments
 (0)