DOXYGEN2MAN(1)
π DOXYGEN2MAN(1) π
okay bestie, gather round, because this is the manual page for doxygen2man β section 1 of the manual, in case you were wondering where to find her π
β¨ NAME β¨
doxygen2man β a tool that generates man pages out of Doxygen XML files π
πΈ SYNOPSIS πΈ
doxygen2man [OPTIONS] <XML file>
π¦ DESCRIPTION π¦
So here's the tea, bestie: this is a tool that generates API manpages from a doxygen-annotated header file. First you run doxygen on the file, and then you run this program against the main XML file it created and the directory containing the ancilliary files. After that it will output a lot of *.3 man page files which you can then ship with your library. iconic behaviour, honestly π
You will need to invoke this program once for each .h file in your library, using the name of the generated .xml file. That file will usually be called something like <include-file>_8h.xml, eg qbipcs_8h.xml. iykyk π«Ά
If you want HTML output then simpy use nroff on the generated files as you would do with any other man page. (yes, "simpy", that's what she wrote, and we love her for it π)
π OPTIONS π
-aβ print an ASCII dump of the man pages to stdout-mβ write the man page files to<output dir>-Pβ print the PARAMS section-s <n>β write the man pages into section<n>(default3)-p <package>β use the<package>name. default<Package>-H <header>β set the header (default β and yeah the original page literally just says(defaultand stops, no cap, so that's all we got π)-I <include>β set the include filename (defaults to the one in the XML file, orunknown.h)-i <prefix>β set the prefix for header files (egqb/) if they are installed a subdir of/usr/include-C <company>β set the company name in the copyright (defaultRed Hat)-D <date>β the date to print at the top of the man pages (format not checked, default: today)-Y <year>β the year to print at the end of the copyright line (default: today's year)-S <year>β the year to print at the start of the copyright line (default:2010)-o <dir>β write all man pages to<dir>(default.)-d <dir>β directory for XML files (./xml/)-cβ use the Copyright line from the header file as the copyright line in the manpage. This requires thatdoxygen2manhas access to the original.hfile (see option-Obelow) and that the Copyright line has a defined format. It whould be within the first 10 lines of the file and start with the text* Copyright. If this line is not found then the current year, or the one given by the-Yoption, will be used. (again, "whould" β she's doing her best, we stan π₯°)-Oβ specifies the directory containing the original header files. This is (currently) only used by the-coption above.-hβ print usage text
π SEE ALSO π
doxygen(1) β go say hi to her too π«Ά
π AUTHOR π
Christine Caulfield β thank you queen, we are obsessed π
and that's the whole page, bestie!! no notes, she ate and left absolutely no crumbs π
doxygen2man(1) β dated 2020-09-09 β slay, periodt πβ¨π
π¦ where this page comes from
- debian bookworm: doxygen2man 2.0.6-2 Β· LGPL-2.1-or-later
- debian trixie: doxygen2man 2.0.8-2+b1 Β· LGPL-2.1-or-later
- epel 9: doxygen2man 2.0.8-0.1.el9.1 Β· LGPLv2+
- fedora 43: doxygen2man 2.0.8-7.fc43 Β· LGPL-2.1-or-later
- fedora 44: doxygen2man 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: libqb 2.0.9
- opensuse-leap 16.0: doxygen2man 2.0.8+20230721.002171b-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: doxygen2man 2.0.8+20230721.002171b-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: doxygen2man 2.0.8+20230721.002171b-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: doxygen2man 2.0.8+20230721.002171b-160000.3.2 Β· LGPL-2.1-or-later
- ubuntu jammy: doxygen2man 2.0.4-1build1 Β· LGPL-2.1-or-later
- ubuntu jammy: doxygen2man 2.0.4-1ubuntu0.2 Β· LGPL-2.1-or-later
- ubuntu noble: doxygen2man 2.0.8-1ubuntu2 Β· LGPL-2.1-or-later
- ubuntu questing: doxygen2man 2.0.8-2build1
- ubuntu resolute: doxygen2man 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: doxygen2man 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- Copyright (C) 2010-2020 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms