Description: Remove unavailable and unwanted Sphinx extensions sphinxcontrib.imagesvg is not packaged in Debian, so replace the imagesvg directive with the standard image directive, which already handles SVG files just fine. . Drop sphinxcontrib.googleanalytics as well, since tracking should not be enabled in documentation built for Debian packages. Author: Daniel Echeverri Forwarded: not-needed Last-Update: 2025-12-14 --- a/docs/conf.py +++ b/docs/conf.py @@ -34,8 +34,6 @@ extensions = [ "myst_parser", "sphinx.ext.graphviz", - "sphinxcontrib.imagesvg", - "sphinxcontrib.googleanalytics", ] toc_object_entries_show_parents = "hide" @@ -57,8 +55,6 @@ "tasklist", ] -googleanalytics_id = "G-JZTN4VTL9M" - rst_prolog = """ .. |no_new| replace:: *You cannot create instances of this class with the new operator!* --- a/docs/reference/common/glossary.rst +++ b/docs/reference/common/glossary.rst @@ -21,8 +21,7 @@ on blend modes `_. - .. imagesvg:: ../../images/blendmodes.svg - :tagtype: object + .. image:: ../../images/blendmodes.svg :width: 75% File specification @@ -56,8 +55,7 @@ and `knockout `_. - .. imagesvg:: ../../images/knockout-isolated.svg - :tagtype: object + .. image:: ../../images/knockout-isolated.svg :width: 75% Winding @@ -81,8 +79,7 @@ `_ for details. - .. imagesvg:: ../../images/line-caps.svg - :tagtype: object + .. image:: ../../images/line-caps.svg :width: 75% Line Join Style @@ -93,8 +90,7 @@ Join Styles `_ for details. - .. imagesvg:: ../../images/line-joins.svg - :tagtype: object + .. image:: ../../images/line-joins.svg :width: 50% Miter Limit @@ -108,8 +104,7 @@ `_ for details. - .. imagesvg:: ../../images/miter-limit.svg - :tagtype: object + .. image:: ../../images/miter-limit.svg :width: 75% QuadPoint @@ -173,8 +168,7 @@ The example uses black line color, with both none and blue interior color. - .. imagesvg:: ../../images/line-ending-styles.svg - :tagtype: object + .. image:: ../../images/line-ending-styles.svg :width: 75% Border Style --- a/docs/reference/javascript/types/Path.rst +++ b/docs/reference/javascript/types/Path.rst @@ -60,8 +60,7 @@ Append operation drawing a cubic Bézier curve from the current point to (x3, y3) using (x1, y1) and (x2, y2) as control points. - .. imagesvg:: ../../../images/curveTo.svg - :tagtype: object + .. image:: ../../../images/curveTo.svg :width: 50% :param number x1: X1 coordinate. @@ -81,8 +80,7 @@ to (ex, ey) using the current point and (cx, cy) as control points. Will be converted to `Path.prototype.curveTo()` when appended to this Path. - .. imagesvg:: ../../../images/curveToV.svg - :tagtype: object + .. image:: ../../../images/curveToV.svg :width: 50% :param number cx: CX coordinate. @@ -100,8 +98,7 @@ to (ex, ey) using the (cx, cy) and (ex, ey) as control points. Will be converted to `Path.prototype.curveTo()` when appended to this Path. - .. imagesvg:: ../../../images/curveToY.svg - :tagtype: object + .. image:: ../../../images/curveToY.svg :width: 50% :param number cx: CX coordinate. @@ -142,8 +139,7 @@ Append operation drawing a straight line from the current point to the given point. - .. imagesvg:: ../../../images/lineTo.svg - :tagtype: object + .. image:: ../../../images/lineTo.svg :width: 50% :param number x: X coordinate. @@ -177,8 +173,7 @@ lineto(x1, y2) closePath() - .. imagesvg:: ../../../images/rect.svg - :tagtype: object + .. image:: ../../../images/rect.svg :width: 50% :param number x1: X1 coordinate. --- a/docs/reference/javascript/types/PathWalker.rst +++ b/docs/reference/javascript/types/PathWalker.rst @@ -26,8 +26,7 @@ curve from the current point to (x3, y3) using (x1, y1) and (x2, y2) as control points. - .. imagesvg:: ../../../images/curveTo.svg - :tagtype: object + .. image:: ../../../images/curveTo.svg :param number x1: X1 coordinate. :param number y1: Y1 coordinate. @@ -41,8 +40,7 @@ Called when `Path.prototype.walk()` encounters an operation drawing a straight line from the current point to the given point. - .. imagesvg:: ../../../images/lineTo.svg - :tagtype: object + .. image:: ../../../images/lineTo.svg :param number x: X coordinate. :param number y: Y coordinate.