From: Jeremy Linton Date: Thu, 12 Feb 2026 13:22:28 +0000 (-0600) Subject: update python/sphinx to use non deprecated api (#362) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be70749992094f4e845a8fe7f901d00407779b7d;p=thirdparty%2Fvectorscan.git update python/sphinx to use non deprecated api (#362) Signed-off-by: Jeremy Linton Co-authored-by: Jeremy Linton --- diff --git a/doc/dev-reference/CMakeLists.txt b/doc/dev-reference/CMakeLists.txt index 6f48e2e4..48349c22 100644 --- a/doc/dev-reference/CMakeLists.txt +++ b/doc/dev-reference/CMakeLists.txt @@ -34,7 +34,7 @@ add_custom_target(dev-reference DEPENDS dev-reference-doxygen COMMENT "Building HTML dev reference with Sphinx") -add_custom_target(dev-reference-man +add_custom_target(dev-reference-man ALL ${SPHINX_BUILD} -b man -c "${CMAKE_CURRENT_BINARY_DIR}" @@ -43,4 +43,7 @@ add_custom_target(dev-reference-man "${SPHINX_MAN_DIR}" DEPENDS dev-reference-doxygen COMMENT "Building man page reference with Sphinx") + +install(FILES ${CMAKE_BINARY_DIR}/doc/dev-reference/man/vectorscan.7 + DESTINATION "${CMAKE_INSTALL_MANDIR}/man7/") endif() diff --git a/doc/dev-reference/conf.py.in b/doc/dev-reference/conf.py.in index 298a54b1..082f07e0 100644 --- a/doc/dev-reference/conf.py.in +++ b/doc/dev-reference/conf.py.in @@ -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: