Skip to content

Commit 80c3f1c

Browse files
committed
doc/requirements: update
Signed-off-by: Unai Martinez-Corral <[email protected]>
1 parent 3ea5e4f commit 80c3f1c

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

doc/requirements.txt

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# used by Read The Docs to install python required
33
# modules with pip.
44

5-
Sphinx==3.1
5+
sphinx
66
sphinx_rtd_theme
77

88
# Support custom domains
@@ -16,16 +16,8 @@ myst_parser
1616
git+https://github.com/SymbiFlow/sphinxcontrib-markdown-symlinks
1717

1818
#Handle references in bibtex format
19-
#
20-
# To work around citations not resolving we need to use a version < 1 (0.4.2 is the latest), until
21-
# we upgrade to using sphinx-2.0
22-
sphinxcontrib-bibtex==0.4.2
23-
24-
#Work-around bug "AttributeError: 'Values' object has no attribute 'character_level_inline_markup'" with docutils 0.13.1
25-
#See:
26-
# * https://github.com/sphinx-doc/sphinx/issues/3951
27-
# * https://sourceforge.net/p/docutils/bugs/304/
28-
docutils==0.17.1
19+
20+
sphinxcontrib-bibtex
2921

3022
#Generates a project specific 404 (page not found) page
3123
sphinx-notfound-page

doc/src/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272

7373
if have_sphinxcontrib_bibtex:
7474
extensions.append("sphinxcontrib.bibtex")
75+
bibtex_bibfiles = ["z_references.bib"]
7576
else:
7677
print(
7778
"Warning: Could not find sphinxcontrib.bibtex for managing citations, attempting to build anyway..."

0 commit comments

Comments
 (0)