-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
118 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Test MyST | ||
|
||
{cite}`unknown` | ||
|
||
{cite}`md2-abc` | ||
|
||
```{bibliography} references2.bib | ||
:labelprefix: md2 | ||
:keyprefix: md2- | ||
``` | ||
|
||
lmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Test rST | ||
-------- | ||
|
||
:cite:`unknown` | ||
|
||
:cite:`rst2-xyz` | ||
|
||
.. bibliography:: references3.bib | ||
:labelprefix: rst2 | ||
:keyprefix: rst2- | ||
|
||
ghk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Test bibtex with missing ref | ||
|
||
```{toctree} | ||
example_rst.rst | ||
example_md.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### | ||
Single example from the QuantEcon Bib | ||
### | ||
@article{abc, | ||
title={a Skewed wealth distributions: Theory and empirics}, | ||
author={Benhabib, Jess and Bisin, Alberto}, | ||
journal={Journal of Economic Literature}, | ||
volume={56}, | ||
number={4}, | ||
pages={1261--91}, | ||
year={2018} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### | ||
Single example from the QuantEcon Bib | ||
### | ||
@article{xyz, | ||
title={b Skewed wealth distributions: Theory and empirics}, | ||
author={Benhabib, Jess and Bisin, Alberto}, | ||
journal={Journal of Economic Literature}, | ||
volume={56}, | ||
number={4}, | ||
pages={1261--91}, | ||
year={2018} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,5 +54,6 @@ caption: Contents | |
using/index.md | ||
examples/index.md | ||
develop/index.md | ||
bibtex_test/index.md | ||
package_api.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extensions = ["myst_parser", "sphinxcontrib.bibtex"] | ||
exclude_patterns = ["_build"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
missing ref {cite}`abc` | ||
|
||
```{bibliography} references.bib | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### | ||
Single example from the QuantEcon Bib | ||
### | ||
@article{benhabib2018skewed, | ||
title={Skewed wealth distributions: Theory and empirics}, | ||
author={Benhabib, Jess and Bisin, Alberto}, | ||
journal={Journal of Economic Literature}, | ||
volume={56}, | ||
number={4}, | ||
pages={1261--91}, | ||
year={2018} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
tests/test_sphinx/test_sphinx_builds/test_bibtex_norefs.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
<div class="body" role="main"> | ||
<p> | ||
missing ref | ||
<span class="bibtex" id="id1"> | ||
[abc] | ||
</span> | ||
</p> | ||
<p id="bibtex-bibliography-index-0"> | ||
</p> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<document source="index.md"> | ||
<paragraph> | ||
missing ref | ||
<pending_xref classes="bibtex" ids="id1" refdomain="citation" reftarget="abc" reftype="ref" refwarn="True" support_smartquotes="False"> | ||
<inline> | ||
[abc] | ||
<paragraph ids="bibtex-bibliography-index-0"> |