[RFC wayland] doc: generate doxygen html output from the scanner
Bill Spitzak
spitzak at gmail.com
Tue Nov 3 18:50:31 PST 2015
On Tue, Nov 3, 2015 at 2:02 PM, Peter Hutterer <peter.hutterer at who-t.net>
wrote:
> On Tue, Nov 03, 2015 at 12:37:39PM -0800, Bill Spitzak wrote:
> > On Sun, Nov 1, 2015 at 6:21 PM, Peter Hutterer <peter.hutterer at who-t.net
> >
> > wrote:
> >
> > > On Sun, Nov 01, 2015 at 05:41:04PM -0800, Bill Spitzak wrote:
> > > > On 11/01/2015 04:27 PM, Peter Hutterer wrote:
> > > >
> > > > >but: the current API docs in publican are useless. look at appendix
> B,
> > > the
> > > > >"client API". http://wayland.freedesktop.org/docs/html/apb.html
> > > > >it's technically the client API but it's lacking anything that's not
> > > core
> > > > >libwayland API. it doesn't describe protocol interfaces at all.
> That's
> > > only
> > > > >in the protocol spec (Appendix A) and that is generated straight
> from
> > > the
> > > > >xml without doxygen's involvement.
> > > >
> > > > That page is produced by converting doxygen output into docbook
> input,
> > > so it
> > > > actually matches what you get from doxygen.
> > >
> > > But it doesn't scan the actual protocol header, check e.g.
> > > scanned_src_files_Server in the makefile.
> > >
> >
> > It runs doxygen on those source files to produce doxygen xml output (look
> > in doc/doxygen/Makefile.am for scanned_src_files). Then in
> > doc/publican/Makefile.am it uses doc/publican/doxygen-to-publican.xsl to
> > convert that doxygen xml output into docbook input. This mostly preserves
> > the doxygen formatting.
>
> the protocol API is in the files wayland-server-protocol.h and
> wayland-client-protocol.h. The rest are largely utility functions.
>
I was responding to your complaint that "the current API docs in publican
are useless. look at appendix B, the
"client API". http://wayland.freedesktop.org/docs/html/apb.html"
The document in question is produced by running doxygen on the client api
header and source files, then converting it's xml output into docbook.
Therefore it is an example of what you get from doxygen and switching to
doxygen may not improve things
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151103/59347e42/attachment.html>
More information about the wayland-devel
mailing list