Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 002a967

Browse files
committed
DOC: add compatibility for sphinxcontrib-bibtex>=2
1 parent 17ab94d commit 002a967

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
'nbsphinx',
4747
]
4848

49+
bibtex_bibfiles = ['references.bib']
50+
4951
nbsphinx_execute_arguments = [
5052
"--InlineBackend.figure_formats={'svg', 'pdf'}",
5153
"--InlineBackend.rc={'figure.dpi': 96}",

doc/references.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
References
22
==========
33

4-
.. bibliography:: references.bib
4+
.. bibliography::
55
:style: alpha
66
:all:

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Sphinx>=1.3.6
22
Sphinx-RTD-Theme
33
nbsphinx
44
ipykernel
5-
sphinxcontrib-bibtex
5+
sphinxcontrib-bibtex>=2.1.4
66

77
NumPy
88
SciPy

0 commit comments

Comments
 (0)