Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: update role for caption in expected html output (sphinx 4.1) #441

Merged
merged 1 commit into from
Aug 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_build/test_sidebars_captions.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
<div class="bd-toc-item active">
<p class="caption">
<p class="caption" role="heading">
<span class="caption-text">
Section 1
</span>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build/test_sidebars_level2.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
<div class="bd-toc-item active">
<!-- Use deeper level for sidebar -->
<p class="caption">
<p class="caption" role="heading">
<span class="caption-text">
Subsection 1.1
</span>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build/test_sidebars_nested_page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
<div class="bd-toc-item active">
<p class="caption">
<p class="caption" role="heading">
<span class="caption-text">
Section 1
</span>
Expand Down
4 changes: 2 additions & 2 deletions tests/test_build/test_sidebars_single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
<div class="bd-toc-item active">
<!-- Specify a startdepth of 0 instead of default of 1 -->
<p class="caption">
<p class="caption" role="heading">
<span class="caption-text">
Caption 1
</span>
Expand All @@ -13,7 +13,7 @@
</a>
</li>
</ul>
<p class="caption">
<p class="caption" role="heading">
<span class="caption-text">
Caption 2
</span>
Expand Down