Description/signal/properties links in html pages (generated using xsltproc) not working
Vishnu Motghare <[email protected]> Mon, 4 May 2020 18:39:35 +0530
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <CADSz7_ffF-J0DOdQ0oBQNFxV3bxJ-AF_7KNVCKezxRHiSab0tA@mail.gmail.com> |
I'm trying to generate documentation for gdbus interfaces.
I've used gdbus-codegen command to generate docbook,xml files.
{{{
gdbus-codegen --interface-prefix net.Corp.MyApp.Frobbe. \
--generate-docbook docbook \
net.Corp.MyApp.Frobber.xml
}}}
Above command generated docbook-net.Corp.MyApp.Frobber.xml which Is
included in my-doc.xml file.
Example my-doc.xml
{{{
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V5.0//EN'
'http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd' [
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED
'http://www.w3.org/2003/XInclude'">
]>
<book>
<title>Test Docs generation</title>
<part>
<partintro>
<para>D-Bus interface definitions </para>
</partintro>
<title>D-Bus Interfaces</title>
<xi:include href="docbook-net.Corp.MyApp.Frobber.xml"/>
</part>
</book>
}}}
I used xsltproc command to generate html pages
{{{
xsltproc --xinclude \
--nonet \
--stringparam html.stylesheet /usr/share/gtk-doc/data/style.css \
/usr/share/gtk-doc/data/gtk-doc.xsl my-doc.xml
}}}
Html pages generated, but description, signal,properties links at top
left are not working properly.
Am I doing anything wrong? Any help is appreciated.
Regards,
Vishnu