Skip to content

Commit 541f417

Browse files
committed
Update to modern shpinx
The doc generations used a function removed since shpinx 4.0. This replace it with the modern equivalent. Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
1 parent 17d870c commit 541f417

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/dev-reference/conf.py.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import os
2323
# -- General configuration ------------------------------------------------
2424

2525
# If your documentation needs a minimal Sphinx version, state it here.
26-
#needs_sphinx = '1.0'
26+
needs_sphinx = '4.0'
2727

2828
# Add any Sphinx extension module names here, as strings. They can be
2929
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -272,4 +272,4 @@ breathe_domain_by_extension = {"h" : "c"}
272272
# -- Add some customisation -----------------------------------------------
273273

274274
def setup(app):
275-
app.add_stylesheet("hyperscan.css") # Custom stylesheet for e.g. :regex:
275+
app.add_css_file("hyperscan.css") # Custom stylesheet for e.g. :regex:

0 commit comments

Comments
 (0)