]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#10,!3] Minor tweak in the docgen tool.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 5 Oct 2018 16:27:16 +0000 (18:27 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:57:14 +0000 (18:57 +0100)
doc/Makefile.am
doc/docgen/kea_docgen.cc

index 611e12f14b04a90f6050257031b4074f6351d2bc..805d5c0454fa8fd11368807022654a85d401399d 100644 (file)
@@ -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
index bd22cb6641e9e3dc4573950c41e995010587343f..a0d665e2e1d2e1e58be0e01f084bf6ba7fe165c9 100644 (file)
@@ -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)";
         }