Commit 86e4884c authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[#10,!3] Minor tweak in the docgen tool.

parent 191194ff
......@@ -82,7 +82,7 @@ templates: docgen
# 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
......
......@@ -246,6 +246,7 @@ public:
f << ".</para>" << endl;
}
for (auto hook : all_hooks) {
f << "<para xml:id=\"commands-" << hook << "-lib\">"
<< "Commands supported by " << hook << " hook library: ";
......@@ -405,7 +406,7 @@ public:
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)";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment