# This will generate the api.xml file using docgen generator. It will
# read the JSON files from api/ directory. Make sure they're up to date.
-api: templates docgen
+api: docgen
docgen/kea-docgen api/*.json
# This convenience target makes sure the docgen tool is built properly
f << ".</para>" << endl;
}
+
for (auto hook : all_hooks) {
f << "<para xml:id=\"commands-" << hook << "-lib\">"
<< "Commands supported by " << hook << " hook library: ";
auto hook = cmd->get("hook");
if (hook) {
f << " (<link linkend=\"commands-" << hook->stringValue() << "-lib\">"
- << hook->stringValue() << "</link>)";
+ << hook->stringValue() << "</link> hook)";
} else {
f << " (built-in)";
}