Skip to content

Commit 92e9547

Browse files
committed
DOC: Add sphinxcontrib-bibtex dependency
1 parent a83c65b commit 92e9547

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ install:
2828
- pip install .
2929
- pip install ipykernel
3030
- pip install matplotlib
31+
- pip install sphinxcontrib-bibtex
3132
script:
3233
- python -m sphinx doc/ doc/_build/ -b html
3334
- python -m sphinx doc/ doc/_build/ -b latex

doc/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
# Use sphinx-quickstart to create your own conf.py file!
55
# After that, you have to edit a few things. See below.
66

7-
# Select nbsphinx and, if needed, add a math extension (mathjax or imgmath):
7+
# Select nbsphinx and, if needed, other Sphinx extensions:
88
extensions = [
99
'nbsphinx',
1010
'sphinx.ext.mathjax',
11+
'sphinxcontrib.bibtex',
1112
]
1213

1314
# Exclude build directory and Jupyter backup files:
@@ -99,6 +100,9 @@
99100
'TeX': {'equationNumbers': {'autoNumber': 'AMS', 'useLabelIds': True}},
100101
}
101102

103+
# TODO: explain!
104+
latex_additional_files = ['references.bib']
105+
102106
# -- The settings below this line are not specific to nbsphinx ------------
103107

104108
master_doc = 'index'

doc/readthedocs-environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dependencies:
77
- nbconvert!=5.4
88
- ipykernel
99
- matplotlib
10+
- sphinxcontrib-bibtex

doc/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ sphinx>=1.6
22
nbconvert!=5.4
33
ipykernel
44
matplotlib
5+
sphinxcontrib-bibtex

0 commit comments

Comments
 (0)