From 13d4cace4b54dccb85643d63ada194f0ec2493b2 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 26 Aug 2026 02:48:43 +0100 Subject: Allow grouping options into separate lists in refentries. --- extractdoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extractdoc.py') diff --git a/extractdoc.py b/extractdoc.py index cd7c329..c2fbac1 100644 --- a/extractdoc.py +++ b/extractdoc.py @@ -37,7 +37,7 @@ def refentry2options(refentry): for option in varlistentry.xpath("dbk:term/dbk:option/text()", namespaces=namespaces)) for varlistentry - in refentry.xpath("dbk:refsection/dbk:variablelist[dbk:title='Options']//dbk:varlistentry", + in refentry.xpath("dbk:refsection/dbk:variablelist//dbk:varlistentry", namespaces=namespaces)})) subcommands = clickfunc2commands(main) -- cgit 1.4.1