diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-Run-flex-with-noline.patch b/meta-python/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-Run-flex-with-noline.patch
new file mode 100644
index 0000000000..dc769b22ba
--- /dev/null
+++ b/meta-python/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-Run-flex-with-noline.patch
@@ -0,0 +1,28 @@
+From 59b7c5d26d6141039b7c1ceb74500f8dfffd3a2d Mon Sep 17 00:00:00 2001
+From: Khem Raj <khem.raj@oss.qualcomm.com>
+Date: Sun, 29 Nov 2026 08:51:37 -0800
+Subject: [PATCH] c_comment_scanner: Run flex with --noline
+
+Without it the generated scanner.c contains #line directives with the
+absolute path of scanner.l, which end up in the debug info and trip the
+buildpaths QA check.
+
+Upstream-Status: Inappropriate [oe-specific]
+Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
+---
+ hotdoc/parsers/c_comment_scanner/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hotdoc/parsers/c_comment_scanner/meson.build b/hotdoc/parsers/c_comment_scanner/meson.build
+index 37f2caf..2fe0c75 100644
+--- a/hotdoc/parsers/c_comment_scanner/meson.build
++++ b/hotdoc/parsers/c_comment_scanner/meson.build
+@@ -3,7 +3,7 @@ flex = find_program('flex', native: true)
+ scanner_c = custom_target(
+     input: 'scanner.l',
+     output: 'scanner.c',
+-    command: [flex, '-o', '@OUTPUT@', '@INPUT@'],
++    command: [flex, '--noline', '-o', '@OUTPUT@', '@INPUT@'],
+ )
+ 
+ py.extension_module('c_comment_scanner',
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-fix-function-prototypes.patch b/meta-python/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-fix-function-prototypes.patch
deleted file mode 100644
index c26dde93b3..0000000000
--- a/meta-python/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-fix-function-prototypes.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Subject: [PATCH 1/2] c_comment_scanner: fix function prototypes
-
-scanner.l: Fix compile error as the following:
-
-python3-hotdoc/0.17.4/sources/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:126:1: error: conflicting types for 'parse_comment'; have 'int(PyObject *)' {aka 'int(struct _object *)'}
-|   126 | parse_comment (PyObject *comments)
-
-Upstream-Status: Backport [https://github.com/hotdoc/hotdoc/commit/adf8518431fafb78c9b47862a0a9a58824b6a421]
-
-Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
----
- hotdoc/parsers/c_comment_scanner/scanner.l | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/hotdoc/parsers/c_comment_scanner/scanner.l b/hotdoc/parsers/c_comment_scanner/scanner.l
-index 0408601..7bccd64 100644
---- a/hotdoc/parsers/c_comment_scanner/scanner.l
-+++ b/hotdoc/parsers/c_comment_scanner/scanner.l
-@@ -34,8 +34,8 @@
- extern int yylex (PyObject *comments);
- #define YY_DECL int yylex (PyObject *comments)
- static int yywrap (void);
--static int parse_comment ();
--static int parse_define ();
-+static int parse_comment (PyObject *);
-+static int parse_define (PyObject *);
- %}
- 
- %option nounput
--- 
-2.43.0
-
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc/0002-avoid-third-party-backports-dependency-on-sufficient.patch b/meta-python/recipes-devtools/hotdoc/hotdoc/0002-avoid-third-party-backports-dependency-on-sufficient.patch
deleted file mode 100644
index 560d1257f0..0000000000
--- a/meta-python/recipes-devtools/hotdoc/hotdoc/0002-avoid-third-party-backports-dependency-on-sufficient.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-Subject: [PATCH 2/2] avoid third-party backports dependency on sufficiently
- new python
-
-`backports.entry_points_selectable` backports functionality from python
-3.10 to older versions of python.
-
-Backport this patch to solve runtime backports import problem as following:
-  File "/usr/lib/python3.14/site-packages/hotdoc/utils/utils.py", line 38, in <module>
-  from backports.entry_points_selectable import entry_points
-ModuleNotFoundError: No module named 'backports'
-
-Upstream-Status: Backport [https://github.com/hotdoc/hotdoc/commit/51043c3ef889e36c8232280581598b875073ded7]
-
-Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
----
- hotdoc/extensions/gi/utils.py | 6 +++++-
- hotdoc/utils/utils.py         | 6 +++++-
- setup.py                      | 2 +-
- 3 files changed, 11 insertions(+), 3 deletions(-)
-
-diff --git a/hotdoc/extensions/gi/utils.py b/hotdoc/extensions/gi/utils.py
-index 159c2b6..91902cb 100644
---- a/hotdoc/extensions/gi/utils.py
-+++ b/hotdoc/extensions/gi/utils.py
-@@ -1,9 +1,13 @@
- import os
- from collections import namedtuple
- import pathlib
-+import sys
- import traceback
- 
--from backports.entry_points_selectable import entry_points
-+if sys.version_info >= (3, 10):
-+    from importlib.metadata import entry_points
-+else:
-+    from backports.entry_points_selectable import entry_points
- 
- from hotdoc.core.links import Link
- from hotdoc.utils.loggable import info, debug
-diff --git a/hotdoc/utils/utils.py b/hotdoc/utils/utils.py
-index 518d308..aef657a 100644
---- a/hotdoc/utils/utils.py
-+++ b/hotdoc/utils/utils.py
-@@ -35,7 +35,11 @@ import importlib.util
- from urllib.request import urlretrieve
- from pathlib import Path
- 
--from backports.entry_points_selectable import entry_points
-+if sys.version_info >= (3, 10):
-+    from importlib.metadata import entry_points
-+else:
-+    from backports.entry_points_selectable import entry_points
-+
- try:
-     import importlib.metadata as meta
- except ImportError:
-diff --git a/setup.py b/setup.py
-index 5d7f131..9ee504d 100644
---- a/setup.py
-+++ b/setup.py
-@@ -300,7 +300,7 @@ INSTALL_REQUIRES = [
-     'wheezy.template',
-     'toposort>=1.4',
-     'importlib_metadata; python_version<"3.10"',
--    'backports.entry_points_selectable',
-+    'backports.entry_points_selectable; python_version<"3.10"',
- ]
- 
- # dbus-deviation requires sphinx, which requires python 3.5
--- 
-2.43.0
-
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc/0002-css-track-lessc-dependencies-via-depfile-instead-of-depend_files.patch b/meta-python/recipes-devtools/hotdoc/hotdoc/0002-css-track-lessc-dependencies-via-depfile-instead-of-depend_files.patch
new file mode 100644
index 0000000000..94b71de49a
--- /dev/null
+++ b/meta-python/recipes-devtools/hotdoc/hotdoc/0002-css-track-lessc-dependencies-via-depfile-instead-of-depend_files.patch
@@ -0,0 +1,120 @@
+From 551472db5280128c1666d5b862d31f6f76c92d00 Mon Sep 17 00:00:00 2001
+From: Tristan Partin <tristan@partin.io>
+Date: Mon, 24 Aug 2026 21:45:32 +0000
+Subject: [PATCH] css: track lessc dependencies via depfile instead of
+ depend_files
+
+depend_files requires files strictly within the current (sub)project.
+The parent hotdoc project passes a directory from its own source tree
+(outside this subproject) as less_include_path, which was being stuffed
+into depend_files alongside less_dep_files -- Meson >=1.12 now correctly
+rejects this as a sandbox violation:
+
+  ERROR: Sandbox violation: Tried to grab directory less from outside
+  current (sub)project.
+
+Beyond the crash, this was already a poor mechanism for tracking these
+dependencies: less_dep_files only listed two hardcoded files
+(frontend.less, sitenav.less), and less_include_path pointed at a
+directory, whose mtime only changes when files are added/removed
+directly inside it, not when an existing file's contents are edited --
+so real edits to shared .less partials were never reliably caught
+either before or after the Meson 1.12 change.
+
+Use lessc's own -M flag instead, which discovers every actual import a
+.less file touches (including anything found via --include-path) and
+emits it as a Makefile-style dependency list. lessc-compile.py wraps
+lessc to write both a depfile (from -M) and the real compiled CSS from
+a single custom_target invocation, mirroring how a C compiler emits
+e.g. foo.o and foo.o.d from one invocation. This gives precise,
+automatic, content-aware rebuild tracking with no manual file list to
+keep in sync, and no cross-subproject depend_files reference at all.
+
+Fixes: https://github.com/hotdoc/hotdoc/issues/328
+
+Upstream-Status: Backport [https://github.com/hotdoc/hotdoc_bootstrap_theme/commit/551472db5280128c1666d5b862d31f6f76c92d00]
+Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com
+---
+ meson.build              |  1 +
+ src/css/lessc-compile.py | 13 +++++++++++++
+ src/css/meson.build      | 22 ++++++++++++----------
+ 3 files changed, 26 insertions(+), 10 deletions(-)
+ create mode 100644 src/css/lessc-compile.py
+
+diff --git a/meson.build b/meson.build
+index 9e358ff..679849a 100644
+--- a/meson.build
++++ b/meson.build
+@@ -13,6 +13,7 @@ if not get_option('offline')
+ endif
+ 
+ less = find_program('lessc', dirs: [meson.current_source_dir() / 'node_modules/less/bin/'], native: true)
++python = find_program('python3', native: true)
+ if get_option('less_include_path') != ''
+   less_options = ['--include-path=' + get_option('less_include_path')]
+ else
+diff --git a/src/css/lessc-compile.py b/src/css/lessc-compile.py
+new file mode 100644
+index 0000000..d68db9c
+--- /dev/null
++++ b/src/css/lessc-compile.py
+@@ -0,0 +1,13 @@
++import subprocess
++import sys
++
++lessc, input_file, output, depfile, *options = sys.argv[1:]
++
++deps = subprocess.run(
++    [lessc, "--depends", *options, input_file, output],
++    check=True, capture_output=True, text=True,
++).stdout
++with open(depfile, "w", encoding="utf-8") as f:
++    f.write(deps)
++
++subprocess.run([lessc, *options, input_file, output], check=True)
+diff --git a/src/css/meson.build b/src/css/meson.build
+index 7ca0139..f7df304 100644
+--- a/src/css/meson.build
++++ b/src/css/meson.build
+@@ -5,29 +5,31 @@ less_files = files(
+     'light-sitenav.less',
+ )
+ 
+-less_dep_files = files(
+-    'frontend.less',
+-    'sitenav.less',
+-)
+-
+ css_files = files(
+   npm_files_dir / 'malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css',
+   npm_files_dir / 'bootstrap-toc/dist/bootstrap-toc.min.css',
+ )
+ 
+ foreach css: less_files
++    # lessc can either compile a file or emit its dependency list (--depends),
++    # but not both in a single invocation. Wrap it (see lessc-compile.py) to do
++    # both from one custom_target, mirroring how a C compiler emits e.g. foo.o
++    # and foo.o.d from a single invocation: the depfile discovers every actual
++    # less import, including ones only reachable via less_include_path, without
++    # needing to hardcode a (possibly incomplete) file list, and without
++    # registering a cross-subproject file as a Meson dependency input.
+     targets += [
+       custom_target(
+-        command: [less] + less_options + ['@INPUT@', '@OUTPUT0@'],
+         input: css,
+         output: '@BASENAME@.css',
++        depfile: '@BASENAME@.css.d',
++        command: [
++          python, files('lessc-compile.py'),
++          less.full_path(), '@INPUT@', '@OUTPUT@', '@DEPFILE@',
++        ] + less_options,
+         build_by_default: true,
+         install: get_option('install'),
+         install_dir: install_dir / 'css',
+-        depend_files: [
+-          get_option('less_include_path'),
+-          less_dep_files
+-        ],
+       )
+     ]
+ endforeach
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc/0003-CMake-4-compatibility.patch b/meta-python/recipes-devtools/hotdoc/hotdoc/0003-CMake-4-compatibility.patch
deleted file mode 100644
index 056ad5d340..0000000000
--- a/meta-python/recipes-devtools/hotdoc/hotdoc/0003-CMake-4-compatibility.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Subject: [PATCH] CMake 4 compatibility
-
-All CMake versions older than 3.10 are deprecated.
-
-Upstream-Status: Backport [https://github.com/MathieuDuponchelle/cmark/commit/bd78193dbff98c3860e77629b5c7bfee6169d1da]
-
-Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
----
- CMakeLists.txt            | 11 ++---------
- extensions/CMakeLists.txt |  2 +-
- 2 files changed, 3 insertions(+), 10 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ff97419..45fdf6c 100755
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,12 +1,5 @@
--cmake_minimum_required(VERSION 2.8.9)
--
--# prevent ugly developer warnings because version is set directly, not through project()
--# it should be redone properly by using VERSION in project() if on CMake 3.x
--if(CMAKE_MAJOR_VERSION GREATER 2)
--    cmake_policy(SET CMP0048 OLD)
--endif()
--
--project(cmark)
-+cmake_minimum_required(VERSION 3.10)
-+project(cmark VERSION 0.28.3)
- 
- include("FindAsan.cmake")
- 
-diff --git a/extensions/CMakeLists.txt b/extensions/CMakeLists.txt
-index e62d155..b6a1556 100644
---- a/extensions/CMakeLists.txt
-+++ b/extensions/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 2.8)
-+cmake_minimum_required(VERSION 3.10)
- set(LIBRARY "cmarkextensions")
- set(LIBRARY_SOURCES
-     core-extensions.c
--- 
-2.43.0
-
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc/0004-Use-flex-with-noline-option-to-prevent.patch b/meta-python/recipes-devtools/hotdoc/hotdoc/0004-Use-flex-with-noline-option-to-prevent.patch
deleted file mode 100644
index 6b608ff8b9..0000000000
--- a/meta-python/recipes-devtools/hotdoc/hotdoc/0004-Use-flex-with-noline-option-to-prevent.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Subject: [PATCH] Use flex with --noline option to prevent adding #line to c file
-
-To fix following do_package QA Issue:
-
-do_package_qa:QA Issue: File /usr/src/debug/hotdoc/0.17.4/hotdoc/parsers/c_comment_scanner/scanner.c in package hotdoc-src contains reference to TMPDIR [buildpaths]
-
-Also drop the verbose=1 keyword from the spawn.spawn() call: newer
-setuptools/distutils' spawn() forwards **kwargs directly to
-subprocess.check_call(), which does not accept a verbose argument,
-causing do_compile to fail with:
-
-  TypeError: Popen.__init__() got an unexpected keyword argument 'verbose'
-
-Upstream-Status: Inappropriate [oe-specific]
-
-Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
----
- setup.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 9ee504d..a2ebdb1 100644
---- a/setup.py
-+++ b/setup.py
-@@ -365,10 +365,10 @@ class FlexExtension (Extension):
-
-         self.sources.append(built_scanner_path)
-         if newer_group(self.__flex_sources, built_scanner_path):
--            cmd = ['flex', '-o', built_scanner_path]
-+            cmd = ['flex', '--noline', '-o', built_scanner_path]
-             for s in self.__flex_sources:
-                 cmd.append(s)
--            spawn.spawn(cmd, verbose=1)
-+            spawn.spawn(cmd)
-
-     def build_custom(self):
-         if self.__flex_sources:
---
-2.43.0
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc_0.17.4.bb b/meta-python/recipes-devtools/hotdoc/hotdoc_0.17.4.bb
deleted file mode 100644
index c7093ff717..0000000000
--- a/meta-python/recipes-devtools/hotdoc/hotdoc_0.17.4.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "Hotdoc is a documentation framework"
-DESCRIPTION = "Hotdoc is a documentation micro-framework. It provides an interface for extensions to plug upon, along with some base objects (formatters, ...)"
-HOMEPAGE = "https://github.com/hotdoc/hotdoc"
-
-LICENSE = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=90263a49bc1d9a204656fec4d5616c66"
-
-SRC_URI[sha256sum] = "c4d5dff647f03aa87a1d2d06035d2819edd099b91635e3b2ee390829357ae9fc"
-
-SRC_URI = "file://0001-c_comment_scanner-fix-function-prototypes.patch \
-           file://0002-avoid-third-party-backports-dependency-on-sufficient.patch \
-           file://0003-CMake-4-compatibility.patch;patchdir=cmark \
-          "
-
-SRC_URI:append:class-target = " file://0004-Use-flex-with-noline-option-to-prevent.patch"
-
-DEPENDS += "libxml2 glib-2.0 json-glib"
-
-inherit pypi python_setuptools_build_meta pkgconfig
-
-#Fix LIBDIR path to fix buildpaths QA check of hotdoc/parsers/cmark.cpython-314-x86_64-linux-gnu.so
-do_configure:prepend:class-target() {
-    sed -i -e "s#'\"%s\"' % CMARK_BUILD_DIR#'\"${PYTHON_SITEPACKAGES_DIR}/${PN}\"'#" ${S}/setup.py
-}
-
-RDEPENDS:${PN} += "clang python3-appdirs python3-cchardet python3-dbus-deviation python3-lxml python3-networkx python3-pkgconfig python3-pyyaml python3-schema python3-toposort python3-wheezy-template"
-
-BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/hotdoc/hotdoc_0.18.3.bb b/meta-python/recipes-devtools/hotdoc/hotdoc_0.18.3.bb
new file mode 100644
index 0000000000..259936c767
--- /dev/null
+++ b/meta-python/recipes-devtools/hotdoc/hotdoc_0.18.3.bb
@@ -0,0 +1,79 @@
+SUMMARY = "Hotdoc is a documentation framework"
+DESCRIPTION = "Hotdoc is a documentation micro-framework. It provides an interface for extensions to plug upon, along with some base objects (formatters, ...)"
+HOMEPAGE = "https://github.com/hotdoc/hotdoc"
+
+# The default theme bundles these JavaScript libraries and fonts
+THEME_NPM = "${S}/hotdoc/hotdoc_bootstrap_theme/node_modules"
+
+LICENSE = "LGPL-2.1-or-later AND MIT AND (GPL-2.0-only OR MIT)"
+LIC_FILES_CHKSUM = "file://COPYING;md5=90263a49bc1d9a204656fec4d5616c66 \
+                    file://${THEME_NPM}/anchor-js/anchor.js;beginline=1;endline=5;md5=50c1b2cde48b467258801814ab02c0fa \
+                    file://${THEME_NPM}/bootstrap/LICENSE;md5=daaa3d40b9f79d0c80027c05116c083c \
+                    file://${THEME_NPM}/bootstrap-toc/LICENSE.md;md5=d4aca557b9ca213572c14d68f962834c \
+                    file://${THEME_NPM}/compare-versions/LICENSE;md5=0e2a8ffba75c439b2928fa0fe67769fb \
+                    file://${THEME_NPM}/jquery/LICENSE.txt;md5=de877aa6d744cc160ff41c26a8e4811f \
+                    file://${THEME_NPM}/jquery-touchswipe/LICENSE;md5=820eac125a44877b46a01496ec5716f2 \
+                    file://${THEME_NPM}/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js;beginline=10;endline=30;md5=b8beb47a18c213930a1ad9d587ada2a2 \
+                    file://${THEME_NPM}/mustache/LICENSE;md5=33fa3c7f27611cfb1191e5aa2bb107b1 \
+                    file://${THEME_NPM}/typeahead.js/LICENSE;md5=3c1e620fdfdc32344835b6b04915dab1 \
+                    "
+
+SRC_URI[sha256sum] = "cf22977cae68ca2f1e223dc901258dcbbd0e07eca924d8156c4fc94a54cad40b"
+
+SRC_URI += "file://0001-c_comment_scanner-Run-flex-with-noline.patch \
+            file://0002-css-track-lessc-dependencies-via-depfile-instead-of-depend_files.patch;patchdir=hotdoc/hotdoc_bootstrap_theme \
+            "
+
+# The theme's "npm install" is replaced by these, at the versions npm resolves
+# for its package.json; lessc only builds the CSS and is not installed.
+NPM_REGISTRY = "https://registry.npmjs.org"
+NPM_UNPACK = "striplevel=1;subdir=${BP}/hotdoc/hotdoc_bootstrap_theme/node_modules"
+SRC_URI += "${NPM_REGISTRY}/anchor-js/-/anchor-js-3.2.2.tgz;name=anchor-js;${NPM_UNPACK}/anchor-js \
+            ${NPM_REGISTRY}/bootstrap/-/bootstrap-3.4.1.tgz;name=bootstrap;${NPM_UNPACK}/bootstrap \
+            ${NPM_REGISTRY}/compare-versions/-/compare-versions-2.0.2.tgz;name=compare-versions;${NPM_UNPACK}/compare-versions \
+            ${NPM_REGISTRY}/jquery/-/jquery-3.8.0.tgz;name=jquery;${NPM_UNPACK}/jquery \
+            ${NPM_REGISTRY}/jquery-touchswipe/-/jquery-touchswipe-1.6.19.tgz;name=jquery-touchswipe;${NPM_UNPACK}/jquery-touchswipe \
+            ${NPM_REGISTRY}/less/-/less-2.7.3.tgz;name=less;${NPM_UNPACK}/less \
+            ${NPM_REGISTRY}/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-3.1.5.tgz;name=malihu;${NPM_UNPACK}/malihu-custom-scrollbar-plugin \
+            ${NPM_REGISTRY}/mustache/-/mustache-2.3.2.tgz;name=mustache;${NPM_UNPACK}/mustache \
+            ${NPM_REGISTRY}/typeahead.js/-/typeahead.js-0.11.1.tgz;name=typeahead;${NPM_UNPACK}/typeahead.js \
+            git://github.com/hotdoc/bootstrap-toc.git;protocol=https;branch=gh-pages;name=bootstrap-toc;destsuffix=${BP}/hotdoc/hotdoc_bootstrap_theme/node_modules/bootstrap-toc \
+            "
+SRC_URI[anchor-js.sha256sum] = "176b004992c3d341e5f0891070c256862498b84736d0bd8a214f2a38ccc96e86"
+SRC_URI[bootstrap.sha256sum] = "990c17dbc1560f3262b6a5404c6ed01ff5a58487b8f553663a284c37fb8ec5cc"
+SRC_URI[compare-versions.sha256sum] = "38b4814feb35f7e8c4974a66d48d8a0cd26ff1099efc0e866559565c72747286"
+SRC_URI[jquery.sha256sum] = "8d962d4569b757756cf21fc5f72a5185cbf299e9c5b71a6995a65f57c5a0e48f"
+SRC_URI[jquery-touchswipe.sha256sum] = "378324ad430ea1b61b9237186bbe98f634ca82ae08258785aba3f5ab2248a833"
+SRC_URI[less.sha256sum] = "06c0811fc8ee4db5d61d9b0e5cf5c46846264cb7b6e13cc639e51eefb15229c9"
+SRC_URI[malihu.sha256sum] = "c33f961db28ef7a03222c9b032d9aa864b45b40a89169f438ad440cb5aa24897"
+SRC_URI[mustache.sha256sum] = "2a755d9d05d06b12f3a90ff5a2b25f7a10081f844192f3d773f42a0101b3f256"
+SRC_URI[typeahead.sha256sum] = "da9916219d539813bcbced189988fc3a569330300d1e63260251f69a7959144f"
+SRCREV_bootstrap-toc = "0d481c8edf8a48c71c0fcec2f99d02613122e8c5"
+
+DEPENDS += "libxml2 glib-2.0 json-glib flex-native cmake-native nodejs-native"
+
+inherit pypi python_mesonpy pkgconfig
+
+EXTRA_OEMESON += "-Dhotdoc_bootstrap_theme:offline=true"
+
+# cmark is a CMake subproject; meson takes the host CMake only from the cross file
+do_write_config:append() {
+    sed -i "/^\[binaries\]/a cmake = 'cmake'" ${WORKDIR}/meson.cross
+}
+
+# meson expects the theme and cmark as wrap-git subprojects; the sdist ships
+# them (at the commits the 0.18.3 tag pins) under hotdoc/ and cmark/. Copy,
+# do not symlink: meson drops cmark include paths that resolve outside it.
+do_configure:prepend() {
+    for sub in hotdoc/hotdoc_bootstrap_theme:hotdoc_bootstrap_theme cmark:cmark; do
+        rm -rf ${S}/subprojects/${sub#*:}
+        cp -a ${S}/${sub%:*} ${S}/subprojects/${sub#*:}
+    done
+    # cmark looks for extension plugins in LIBDIR, by default its build dir
+    sed -i -e 's#-DLIBDIR=\\"${CMAKE_BINARY_DIR}\\"#-DLIBDIR=\\"${PYTHON_SITEPACKAGES_DIR}/${BPN}\\"#' \
+        ${S}/subprojects/cmark/src/CMakeLists.txt
+}
+
+RDEPENDS:${PN} += "clang python3-appdirs python3-dbus-deviation python3-feedgen python3-lxml python3-networkx python3-pkgconfig python3-pyyaml python3-schema python3-toposort python3-wheezy-template"
+
+BBCLASSEXTEND = "native"
