Skip to content

Commit 1256852

Browse files
MeggyCalfoster999
andauthored
Fix tests for Sphinx 7.2 (#179)
* Fix tests for Sphinx 7.2 * attempt for backwards compatibility * Remove testing for python < 3.9 * Update readthedocs config for new settings * Fix readthedocs config format * Fix readthedocs config python version format --------- Co-authored-by: David Foster <31405412+foster999@users.noreply.github.com>
1 parent f60a10e commit 1256852

9 files changed

+31
-27
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ["3.7", "3.8", "3.9", "3.10"]
23+
python-version: ["3.9", "3.10"]
2424

2525
steps:
2626
- uses: actions/checkout@v2

.readthedocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
version: 2
22

3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3"
7+
38
python:
4-
version: 3
59
install:
610
- method: pip
711
path: .

tests/test_build/test_conditional_assets_html_assets_policy_index_.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<section id="fruits">
1919
<h1>
2020
Fruits
21-
<a class="headerlink" href="#fruits" title="Permalink to this heading">
21+
<a class="headerlink" href="#fruits" title="Link to this heading">
2222
2323
</a>
2424
</h1>
@@ -54,7 +54,7 @@ <h1>
5454
<section id="luminaries">
5555
<h1>
5656
Luminaries
57-
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
57+
<a class="headerlink" href="#luminaries" title="Link to this heading">
5858
5959
</a>
6060
</h1>
@@ -82,7 +82,7 @@ <h1>
8282
<section id="code-tabs">
8383
<h1>
8484
Code Tabs
85-
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
85+
<a class="headerlink" href="#code-tabs" title="Link to this heading">
8686
8787
</a>
8888
</h1>
@@ -182,7 +182,7 @@ <h1>
182182
<section id="group-tabs">
183183
<h1>
184184
Group Tabs
185-
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
185+
<a class="headerlink" href="#group-tabs" title="Link to this heading">
186186
187187
</a>
188188
</h1>

tests/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<section id="fruits">
1919
<h1>
2020
Fruits
21-
<a class="headerlink" href="#fruits" title="Permalink to this heading">
21+
<a class="headerlink" href="#fruits" title="Link to this heading">
2222
2323
</a>
2424
</h1>
@@ -54,7 +54,7 @@ <h1>
5454
<section id="luminaries">
5555
<h1>
5656
Luminaries
57-
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
57+
<a class="headerlink" href="#luminaries" title="Link to this heading">
5858
5959
</a>
6060
</h1>
@@ -82,7 +82,7 @@ <h1>
8282
<section id="code-tabs">
8383
<h1>
8484
Code Tabs
85-
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
85+
<a class="headerlink" href="#code-tabs" title="Link to this heading">
8686
8787
</a>
8888
</h1>
@@ -182,7 +182,7 @@ <h1>
182182
<section id="group-tabs">
183183
<h1>
184184
Group Tabs
185-
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
185+
<a class="headerlink" href="#group-tabs" title="Link to this heading">
186186
187187
</a>
188188
</h1>

tests/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<section id="fruits">
1919
<h1>
2020
Fruits
21-
<a class="headerlink" href="#fruits" title="Permalink to this heading">
21+
<a class="headerlink" href="#fruits" title="Link to this heading">
2222
2323
</a>
2424
</h1>
@@ -54,7 +54,7 @@ <h1>
5454
<section id="luminaries">
5555
<h1>
5656
Luminaries
57-
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
57+
<a class="headerlink" href="#luminaries" title="Link to this heading">
5858
5959
</a>
6060
</h1>
@@ -82,7 +82,7 @@ <h1>
8282
<section id="code-tabs">
8383
<h1>
8484
Code Tabs
85-
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
85+
<a class="headerlink" href="#code-tabs" title="Link to this heading">
8686
8787
</a>
8888
</h1>
@@ -182,7 +182,7 @@ <h1>
182182
<section id="group-tabs">
183183
<h1>
184184
Group Tabs
185-
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
185+
<a class="headerlink" href="#group-tabs" title="Link to this heading">
186186
187187
</a>
188188
</h1>

tests/test_build/test_conditional_assets_index_.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<section id="fruits">
1919
<h1>
2020
Fruits
21-
<a class="headerlink" href="#fruits" title="Permalink to this heading">
21+
<a class="headerlink" href="#fruits" title="Link to this heading">
2222
2323
</a>
2424
</h1>
@@ -54,7 +54,7 @@ <h1>
5454
<section id="luminaries">
5555
<h1>
5656
Luminaries
57-
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
57+
<a class="headerlink" href="#luminaries" title="Link to this heading">
5858
5959
</a>
6060
</h1>
@@ -82,7 +82,7 @@ <h1>
8282
<section id="code-tabs">
8383
<h1>
8484
Code Tabs
85-
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
85+
<a class="headerlink" href="#code-tabs" title="Link to this heading">
8686
8787
</a>
8888
</h1>
@@ -182,7 +182,7 @@ <h1>
182182
<section id="group-tabs">
183183
<h1>
184184
Group Tabs
185-
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
185+
<a class="headerlink" href="#group-tabs" title="Link to this heading">
186186
187187
</a>
188188
</h1>

tests/test_build/test_conditional_assets_no_tabs1_.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<section id="fruits">
1919
<h1>
2020
Fruits
21-
<a class="headerlink" href="#fruits" title="Permalink to this heading">
21+
<a class="headerlink" href="#fruits" title="Link to this heading">
2222
2323
</a>
2424
</h1>
@@ -54,7 +54,7 @@ <h1>
5454
<section id="luminaries">
5555
<h1>
5656
Luminaries
57-
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
57+
<a class="headerlink" href="#luminaries" title="Link to this heading">
5858
5959
</a>
6060
</h1>
@@ -82,7 +82,7 @@ <h1>
8282
<section id="code-tabs">
8383
<h1>
8484
Code Tabs
85-
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
85+
<a class="headerlink" href="#code-tabs" title="Link to this heading">
8686
8787
</a>
8888
</h1>
@@ -182,7 +182,7 @@ <h1>
182182
<section id="group-tabs">
183183
<h1>
184184
Group Tabs
185-
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
185+
<a class="headerlink" href="#group-tabs" title="Link to this heading">
186186
187187
</a>
188188
</h1>

tests/test_build/test_conditional_assets_no_tabs2_.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<section id="fruits">
1919
<h1>
2020
Fruits
21-
<a class="headerlink" href="#fruits" title="Permalink to this heading">
21+
<a class="headerlink" href="#fruits" title="Link to this heading">
2222
2323
</a>
2424
</h1>
@@ -54,7 +54,7 @@ <h1>
5454
<section id="luminaries">
5555
<h1>
5656
Luminaries
57-
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
57+
<a class="headerlink" href="#luminaries" title="Link to this heading">
5858
5959
</a>
6060
</h1>
@@ -82,7 +82,7 @@ <h1>
8282
<section id="code-tabs">
8383
<h1>
8484
Code Tabs
85-
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
85+
<a class="headerlink" href="#code-tabs" title="Link to this heading">
8686
8787
</a>
8888
</h1>
@@ -182,7 +182,7 @@ <h1>
182182
<section id="group-tabs">
183183
<h1>
184184
Group Tabs
185-
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
185+
<a class="headerlink" href="#group-tabs" title="Link to this heading">
186186
187187
</a>
188188
</h1>

tests/test_build/test_nested_markup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<section id="markup-in-tab-titles">
55
<h1>
66
Markup in Tab Titles
7-
<a class="headerlink" href="#markup-in-tab-titles" title="Permalink to this heading">
7+
<a class="headerlink" href="#markup-in-tab-titles" title="Link to this heading">
88
99
</a>
1010
</h1>

0 commit comments

Comments
 (0)