From aba135a5ce2c8a58551a478d064262bda19c9770 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 7 Nov 2018 11:47:37 -0500 Subject: 0.3.1 internal links, anchor tags & segment associations, toc --- src/doc_reform/output/xmls.d | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/doc_reform/output/xmls.d') diff --git a/src/doc_reform/output/xmls.d b/src/doc_reform/output/xmls.d index 6154010..b69d1a7 100644 --- a/src/doc_reform/output/xmls.d +++ b/src/doc_reform/output/xmls.d @@ -368,13 +368,15 @@ template outputXHTMLs() { ); } } else { - writeln( - "WARNING on internal document links, anchor to link <<" - ~ m.captures[3] - ~ ">> not found in document, " - ~ "anchor: " ~ m.captures[3] - ~ " document: " ~ doc_matters.src.filename - ); + if (!(doc_matters.opt.action.quiet)) { + writeln( + "WARNING on internal document links, anchor to link <<" + ~ m.captures[3] + ~ ">> not found in document, " + ~ "anchor: " ~ m.captures[3] + ~ " document: " ~ doc_matters.src.filename + ); + } } } } -- cgit v1.2.3