Skip to content

Commit 802f010

Browse files
committed
Add tests for ref links
1 parent 9d4325a commit 802f010

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

test/outputs/general/index.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,9 @@ Test document
5252
* {{🧪test tag; please ignore🧪}} (1)
5353

5454
* Page 2
55+
56+
57+
Test ref
58+
========
59+
60+
My tags: tag_1

test/sources/test-ipynb/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ Test document
88
page_5
99
subdir/index
1010
_tags/tagsindex
11+
12+
Test ref
13+
--------
14+
:ref:`sphx_tag_tag_1`

test/sources/test-myst/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ page_5
99
subdir/index
1010
_tags/tagsindex
1111
```
12+
13+
## Test ref
14+
{ref}`sphx_tag_tag_1`

test/sources/test-rst/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ Test document
99
page_5
1010
subdir/index
1111
_tags/tagsindex
12+
13+
Test ref
14+
--------
15+
16+
:ref:`sphx_tag_tag_1`

0 commit comments

Comments
 (0)