Package ch.so.agi.hop.doclint.validate
Class DocumentationValidator
java.lang.Object
ch.so.agi.hop.doclint.validate.DocumentationValidator
Validates the AsciiDoc page of every discovered plugin element.
The page is derived from documentationUrl by convention. Two URL forms are supported:
- a page URL: the file name maps to the AsciiDoc file
(
.../transforms/example.htmltodocs/transforms/example.adoc), - a single-page handbook URL with fragment: the fragment maps to the AsciiDoc file and must
be declared as an explicit anchor (
.../index.html#exampletodocs/transforms/example.adocwith[[example]]).
No mapping file exists. The annotation id, the :plugin-id: attribute and the file name
must match.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DocumentationValidator
public DocumentationValidator()
-
-
Method Details
-
validate
public List<CheckResult> validate(List<PluginElement> elements, DocLintConfig config) throws IOException - Throws:
IOException
-