summaryrefslogtreecommitdiffstats
path: root/tools/bzl/asciidoc.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bzl/asciidoc.bzl')
-rw-r--r--tools/bzl/asciidoc.bzl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bzl/asciidoc.bzl b/tools/bzl/asciidoc.bzl
index 7977cf051d..703d5b7173 100644
--- a/tools/bzl/asciidoc.bzl
+++ b/tools/bzl/asciidoc.bzl
@@ -300,13 +300,14 @@ def genasciidoc_zip(
backend = None,
searchbox = True,
resources = True,
+ webfonts = True,
**kwargs):
SUFFIX = "_htmlonly"
_genasciidoc_htmlonly_zip(
name = name + SUFFIX if resources else name,
srcs = srcs,
- attributes = attributes,
+ attributes = attributes + ([] if webfonts else ["webfonts!"]),
backend = backend,
searchbox = searchbox,
**kwargs