Skip to content

Commit

Permalink
Add tests for ref links
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Jan 2, 2024
1 parent 9d4325a commit 802f010
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/outputs/general/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ Test document
* {{🧪test tag; please ignore🧪}} (1)

* Page 2


Test ref
========

My tags: tag_1
4 changes: 4 additions & 0 deletions test/sources/test-ipynb/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ Test document
page_5
subdir/index
_tags/tagsindex

Test ref
--------
:ref:`sphx_tag_tag_1`
3 changes: 3 additions & 0 deletions test/sources/test-myst/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ page_5
subdir/index
_tags/tagsindex
```

## Test ref
{ref}`sphx_tag_tag_1`
5 changes: 5 additions & 0 deletions test/sources/test-rst/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ Test document
page_5
subdir/index
_tags/tagsindex

Test ref
--------

:ref:`sphx_tag_tag_1`

0 comments on commit 802f010

Please sign in to comment.