From: tangxiaofeng <tangxiaofeng@kylinos.cn>
Date: Mon, 21 Sep 2026 04:25:38 +0000
Subject: Drop the myst-parser 'linkify' extension from the docs build

docs/conf.py enables myst-parser's `linkify` extension, which needs the
`linkify-it-py` Python module. That module is not packaged in openKylin,
and sphinx's `-D` command line override cannot be used either because
sphinx rejects overriding a list-typed config value:

  WARNING: cannot override config setting 'myst_enable_extensions' with
  unsupported type, ignoring
  ModuleNotFoundError: Linkify enabled but not installed.

so `dh_sphinxdoc` fails. Drop `linkify` from myst_enable_extensions, the
same way 0013-remove-unavailable-sphinx-extensions.patch already drops
other unavailable Sphinx extensions. Only automatic hyperlinking of bare
URLs in the generated HTML documentation is affected.

Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: vendor
Forwarded: no
Last-Update: 2026-09-21

--- mupdf-1.27.0+ds1.orig/docs/conf.py
+++ mupdf-1.27.0+ds1/docs/conf.py
@@ -48,7 +48,6 @@ myst_heading_anchors = 2
 myst_enable_extensions = [
 	"deflist",
 	"html_image",
-	"linkify",
 	"replacements",
 	"smartquotes",
 	"strikethrough",
