From 80c3f1cdab4b40b88d0eeb17c59951d7189ffe46 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Wed, 16 Feb 2022 05:16:56 +0100 Subject: [PATCH] doc/requirements: update Signed-off-by: Unai Martinez-Corral --- doc/requirements.txt | 14 +++----------- doc/src/conf.py | 1 + 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 936fd87da6d..258480b95e8 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,7 +2,7 @@ # used by Read The Docs to install python required # modules with pip. -Sphinx==3.1 +sphinx sphinx_rtd_theme # Support custom domains @@ -16,16 +16,8 @@ myst_parser git+https://github.com/SymbiFlow/sphinxcontrib-markdown-symlinks #Handle references in bibtex format -# -# To work around citations not resolving we need to use a version < 1 (0.4.2 is the latest), until -# we upgrade to using sphinx-2.0 -sphinxcontrib-bibtex==0.4.2 - -#Work-around bug "AttributeError: 'Values' object has no attribute 'character_level_inline_markup'" with docutils 0.13.1 -#See: -# * https://github.com/sphinx-doc/sphinx/issues/3951 -# * https://sourceforge.net/p/docutils/bugs/304/ -docutils==0.17.1 + +sphinxcontrib-bibtex #Generates a project specific 404 (page not found) page sphinx-notfound-page diff --git a/doc/src/conf.py b/doc/src/conf.py index cc3ce3fb970..e924d3b7a19 100644 --- a/doc/src/conf.py +++ b/doc/src/conf.py @@ -72,6 +72,7 @@ if have_sphinxcontrib_bibtex: extensions.append("sphinxcontrib.bibtex") + bibtex_bibfiles = ["z_references.bib"] else: print( "Warning: Could not find sphinxcontrib.bibtex for managing citations, attempting to build anyway..."