]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
update python/sphinx to use non deprecated api (#362)
authorJeremy Linton <jlinton@users.noreply.github.com>
Thu, 12 Feb 2026 13:22:28 +0000 (07:22 -0600)
committerGitHub <noreply@github.com>
Thu, 12 Feb 2026 13:22:28 +0000 (15:22 +0200)
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Co-authored-by: Jeremy Linton <jeremy.linton@arm.com>
doc/dev-reference/CMakeLists.txt
doc/dev-reference/conf.py.in

index 6f48e2e49ca9c04597d21cb30803b222c49e998c..48349c224387240abd348f3b2d20f3d237b133f8 100644 (file)
@@ -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()
index 298a54b15b9f7f63fe51b2689c951324bc43f6d1..082f07e0bac53379cbd8031e5a681e8edf320e86 100644 (file)
@@ -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: