-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from mcmtroffaes/feature/fix-issue85
Test and fix for sorting entries without author.
- Loading branch information
Showing
4 changed files
with
42 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extensions = ['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 @@ | ||
:cite:`_software_2015` | ||
:cite:`2009:mandel` | ||
|
||
.. bibliography:: test.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,17 @@ | ||
@misc{_software_2015, | ||
title = {Software projects built on {Mesos}}, | ||
url = {http://mesos.apache.org/documentation/latest/mesos-frameworks/}, | ||
month = sep, | ||
year = 2015 | ||
} | ||
|
||
@Misc{2009:mandel, | ||
author = {Jan Mandel}, | ||
title = {A Brief Tutorial on the Ensemble {K}alman Filter}, | ||
howpublished = {arXiv:0901.3725v1 [physics.ao-ph]}, | ||
month = jan, | ||
year = {2009}, | ||
archivePrefix = {arXiv}, | ||
eprint = {0901.3725}, | ||
primaryClass = {physics.ao-ph} | ||
} |
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,19 @@ | ||
""" | ||
test_issue77 | ||
~~~~~~~~~~~~ | ||
Test for reference with no author and no key. | ||
""" | ||
|
||
from sphinx_testing.util import path, with_app | ||
|
||
srcdir = path(__file__).dirname().joinpath('issue85').abspath() | ||
|
||
|
||
def teardown_module(): | ||
(srcdir / '_build').rmtree(True) | ||
|
||
|
||
@with_app(srcdir=srcdir, warningiserror=True) | ||
def test_issue77(app, status, warning): | ||
app.builder.build_all() |