From 9f3867c5d20fbc8c7cdeeac62374dc4cdab65948 Mon Sep 17 00:00:00 2001 From: Yoan Picchi Date: Thu, 19 Jun 2025 14:00:36 +0000 Subject: [PATCH] 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 --- doc/dev-reference/conf.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dev-reference/conf.py.in b/doc/dev-reference/conf.py.in index 298a54b1..8adff2cb 100644 --- a/doc/dev-reference/conf.py.in +++ b/doc/dev-reference/conf.py.in @@ -23,7 +23,7 @@ import os # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' +needs_sphinx = '4.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom @@ -272,4 +272,4 @@ breathe_domain_by_extension = {"h" : "c"} # -- Add some customisation ----------------------------------------------- def setup(app): - app.add_stylesheet("hyperscan.css") # Custom stylesheet for e.g. :regex: + app.add_css_file("hyperscan.css") # Custom stylesheet for e.g. :regex: