Hello, I couldn't find any way to convert the SQLite docs (via sqlite.h) to UNIX manpages, so I wrote a tool that does so:
https://github.com/kristapsdz/sqlite2mdoc This generates one manpage per API reference with the proper SEE ALSO (from collected references) and IMPLEMENTATION NOTES (the raw declarations and preprocessor statements). Its deficiencies are in handling HTML tables (prints verbatim--not bad except for sqlite3_open, where the table is quite wide), the mdoc(7) isn't picture-perfect, and in handling some un-closed markup seen here and there. It follows the logic of the Tcl code in capi3ref[2], but does so in C w/o dependencies unless running Linux. Is there any interest in integrating this tool to have manpages in the doc distribution without downstream bits? I've been using this for a while as part of the manpage corpus on my OpenBSD, Mac OS X, and Linux machines. Best, Kristaps [1] http://man.openbsd.org/OpenBSD-current/man7/mdoc.7 [2] https://www.sqlite.org/cgi/docsrc/finfo?name=pages/capi3ref.in