Skip to content

Commit

Permalink
Don't use google fonts when building html doc.
Browse files Browse the repository at this point in the history
  Asciidoctor uses google fonts in its html documentation, which
  makes the html files not fully usable offline. This triggered
  a warning in lintian which would prefer all docs are fully ofline
  and don't download stuff automatically.

  This disables the webfonts from the html generation, so the html
  files are viewed the same offline and no longer automatically download
  google's webfonts.
  • Loading branch information
somiaj authored and ThomasAdam committed Dec 3, 2023
1 parent 5c388e2 commit 1d1c257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ $(html_MANS): $(SECTION_FILES)
"$(ASCIIDOC)" -b manpage -a "$(patsubst %.1,%,$@)" "$<" -o "$@"

%.html: %.adoc
"$(ASCIIDOC)" -b html5 -a toc -a "$(patsubst %.html,%,$@)" "$<" -o "$@"
"$(ASCIIDOC)" -b html5 -a toc -a webfonts! -a "$(patsubst %.html,%,$@)" "$<" -o "$@"

endif

0 comments on commit 1d1c257

Please sign in to comment.