From: Petr Špaček Date: Thu, 30 Jun 2022 15:29:18 +0000 (+0200) Subject: Cleanup tag filtering code for statementlist:: RST directive X-Git-Tag: v9.19.3~16^2~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f5faddd08ad5aa8f95c647559e3529e0e3f16ed9;p=thirdparty%2Fbind9.git Cleanup tag filtering code for statementlist:: RST directive Technically this is fixup for 33931c97faaa0f728b4194b8077825e75c351e12 but that commit is already merged. --- diff --git a/doc/arm/_ext/iscconf.py b/doc/arm/_ext/iscconf.py index 809445ec504..4380a8c4c1a 100644 --- a/doc/arm/_ext/iscconf.py +++ b/doc/arm/_ext/iscconf.py @@ -442,20 +442,13 @@ def domain_factory(domainname, domainlabel, todolist, grammar): TableColumn("ref", "Statement"), TableColumn("short", "Description"), ] - table_b = DictToDocutilsTableBuilder(table_header) - table_b.append_iterable( - sorted( - iscconf.list_all(fromdocname), - key=lambda x: x["fullname"], - ) - ) tag_header = [] - if len(acceptable_tags) != 1: # tags column only if tag filter is not applied tag_header = [ TableColumn("tags_txt", "Tags"), ] + table_b = DictToDocutilsTableBuilder(table_header + tag_header) table_b.append_iterable( sorted(