Skip to content

Commit

Permalink
Fix tests for Sphinx 7.2 (#179)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
MeggyCal and foster999 committed Oct 22, 2023
1 parent f60a10e commit 1256852
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 5 additions & 1 deletion .readthedocs.yml
@@ -1,7 +1,11 @@
version: 2

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

python:
version: 3
install:
- method: pip
path: .
Expand Down
Expand Up @@ -18,7 +18,7 @@
<section id="fruits">
<h1>
Fruits
<a class="headerlink" href="#fruits" title="Permalink to this heading">
<a class="headerlink" href="#fruits" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h1>
<section id="luminaries">
<h1>
Luminaries
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
<a class="headerlink" href="#luminaries" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>
<section id="code-tabs">
<h1>
Code Tabs
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
<a class="headerlink" href="#code-tabs" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -182,7 +182,7 @@ <h1>
<section id="group-tabs">
<h1>
Group Tabs
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
<a class="headerlink" href="#group-tabs" title="Link to this heading">
</a>
</h1>
Expand Down
Expand Up @@ -18,7 +18,7 @@
<section id="fruits">
<h1>
Fruits
<a class="headerlink" href="#fruits" title="Permalink to this heading">
<a class="headerlink" href="#fruits" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h1>
<section id="luminaries">
<h1>
Luminaries
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
<a class="headerlink" href="#luminaries" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>
<section id="code-tabs">
<h1>
Code Tabs
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
<a class="headerlink" href="#code-tabs" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -182,7 +182,7 @@ <h1>
<section id="group-tabs">
<h1>
Group Tabs
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
<a class="headerlink" href="#group-tabs" title="Link to this heading">
</a>
</h1>
Expand Down
Expand Up @@ -18,7 +18,7 @@
<section id="fruits">
<h1>
Fruits
<a class="headerlink" href="#fruits" title="Permalink to this heading">
<a class="headerlink" href="#fruits" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h1>
<section id="luminaries">
<h1>
Luminaries
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
<a class="headerlink" href="#luminaries" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>
<section id="code-tabs">
<h1>
Code Tabs
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
<a class="headerlink" href="#code-tabs" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -182,7 +182,7 @@ <h1>
<section id="group-tabs">
<h1>
Group Tabs
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
<a class="headerlink" href="#group-tabs" title="Link to this heading">
</a>
</h1>
Expand Down
8 changes: 4 additions & 4 deletions tests/test_build/test_conditional_assets_index_.html
Expand Up @@ -18,7 +18,7 @@
<section id="fruits">
<h1>
Fruits
<a class="headerlink" href="#fruits" title="Permalink to this heading">
<a class="headerlink" href="#fruits" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h1>
<section id="luminaries">
<h1>
Luminaries
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
<a class="headerlink" href="#luminaries" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>
<section id="code-tabs">
<h1>
Code Tabs
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
<a class="headerlink" href="#code-tabs" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -182,7 +182,7 @@ <h1>
<section id="group-tabs">
<h1>
Group Tabs
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
<a class="headerlink" href="#group-tabs" title="Link to this heading">
</a>
</h1>
Expand Down
8 changes: 4 additions & 4 deletions tests/test_build/test_conditional_assets_no_tabs1_.html
Expand Up @@ -18,7 +18,7 @@
<section id="fruits">
<h1>
Fruits
<a class="headerlink" href="#fruits" title="Permalink to this heading">
<a class="headerlink" href="#fruits" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h1>
<section id="luminaries">
<h1>
Luminaries
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
<a class="headerlink" href="#luminaries" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>
<section id="code-tabs">
<h1>
Code Tabs
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
<a class="headerlink" href="#code-tabs" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -182,7 +182,7 @@ <h1>
<section id="group-tabs">
<h1>
Group Tabs
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
<a class="headerlink" href="#group-tabs" title="Link to this heading">
</a>
</h1>
Expand Down
8 changes: 4 additions & 4 deletions tests/test_build/test_conditional_assets_no_tabs2_.html
Expand Up @@ -18,7 +18,7 @@
<section id="fruits">
<h1>
Fruits
<a class="headerlink" href="#fruits" title="Permalink to this heading">
<a class="headerlink" href="#fruits" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h1>
<section id="luminaries">
<h1>
Luminaries
<a class="headerlink" href="#luminaries" title="Permalink to this heading">
<a class="headerlink" href="#luminaries" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>
<section id="code-tabs">
<h1>
Code Tabs
<a class="headerlink" href="#code-tabs" title="Permalink to this heading">
<a class="headerlink" href="#code-tabs" title="Link to this heading">
</a>
</h1>
Expand Down Expand Up @@ -182,7 +182,7 @@ <h1>
<section id="group-tabs">
<h1>
Group Tabs
<a class="headerlink" href="#group-tabs" title="Permalink to this heading">
<a class="headerlink" href="#group-tabs" title="Link to this heading">
</a>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build/test_nested_markup.html
Expand Up @@ -4,7 +4,7 @@
<section id="markup-in-tab-titles">
<h1>
Markup in Tab Titles
<a class="headerlink" href="#markup-in-tab-titles" title="Permalink to this heading">
<a class="headerlink" href="#markup-in-tab-titles" title="Link to this heading">
</a>
</h1>
Expand Down

0 comments on commit 1256852

Please sign in to comment.