summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2022-06-03 02:15:50 +0900
committerGitHub <noreply@github.com>2022-06-03 02:15:50 +0900
commitab58bbaed71293bf8f5738f386b853b17b4190eb (patch)
treeaf00d8754415033c672b88dffb6cb79a55343d3e /tests
parent2a50b2e5a3b76d708dfb61d46bd78847353189a7 (diff)
parentc4458e3adbcffced2248fb3d05a283e1754d3b7c (diff)
downloadsphinx-git-ab58bbaed71293bf8f5738f386b853b17b4190eb.tar.gz
Merge pull request #10502 from AA-Turner/ifconfig-fix
`ifconfig`: Add a meta node to fix iteration
Diffstat (limited to 'tests')
-rw-r--r--tests/roots/test-ext-ifconfig/conf.py1
-rw-r--r--tests/roots/test-ext-ifconfig/index.rst10
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/roots/test-ext-ifconfig/conf.py b/tests/roots/test-ext-ifconfig/conf.py
index 565f6bcb3..e82ec79f2 100644
--- a/tests/roots/test-ext-ifconfig/conf.py
+++ b/tests/roots/test-ext-ifconfig/conf.py
@@ -7,3 +7,4 @@ confval1 = True
def setup(app):
app.add_config_value('confval1', False, None)
app.add_config_value('confval2', False, None)
+ app.add_config_value('false_config', False, None)
diff --git a/tests/roots/test-ext-ifconfig/index.rst b/tests/roots/test-ext-ifconfig/index.rst
index ab08aabef..f7fabcc78 100644
--- a/tests/roots/test-ext-ifconfig/index.rst
+++ b/tests/roots/test-ext-ifconfig/index.rst
@@ -9,3 +9,13 @@ ifconfig
egg
+Issue 10496 regression test
+===========================
+
+.. ifconfig:: false_config
+
+ `Link 1 <https://link1.example>`__
+
+.. ifconfig:: false_config
+
+ `Link 2 <https://link2.example>`__