SPHINXYGEN(1)
β¨ SPHINXYGEN β the manual page, but make it cute β¨
okay so bestie, welcome to sphinxygen(1) π this is a General Commands Manual page and it's about to be your new fave little tool, no cap.
πΈ NAME πΈ
sphinxygen β generate Sphinx ReST from Doxygen XML π¦
like, it takes the Doxygen XML and turns it into Sphinx ReST. that's the whole vibe. iconic behavior honestly.
π SYNOPSIS π
sphinxygen [-hf] [-l lang] [--language lang] index_xml output_dir
look at her. so compact. so powerful. π
π DESCRIPTION π
so sphinxygen is a script (yes, a whole script, doing the most and we love her) that reads an XML description of a C API that was extracted by Doxygen, and then outputs Sphinx markup that describes that API. it's giving translator. it's giving bridge between two worlds. π
the index_xml argument must be the path to a index.xml file that lives in a directory generated by Doxygen. like, that's not optional, that's the requirement, periodt.
the output gets written as several ReST files into output_dir β typically one for each documentation group. so you hand her an XML and she hands you back a whole little family of .rst files π«Ά
the options are as follows:
β¨ OPTIONS β¨
-f,--forceβ for overwriting of any output files that already exist. like she'll just bulldoze right over them. no hesitation. π-h,--helpβ print the command line options and exit. the "wait what does this do again" button. we've all been there π-llang,--languagelang β Sphinx domain to use. and listen, only the"c"domain is currently well supported, so don't get too adventurous okay? π-V,--versionβ print the version and exit. a little "who am i" moment for the program itself π
π₯ EXIT STATUS π₯
sphinxygen exits with a status of 0, or non-zero if an error occurred.
so: 0 = we ate, everything slayed β¨. non-zero = something went sideways, bestie, go read your terminal π
π SEE ALSO π
go say hi to her too, they're literally besties, they work together, iykyk π
π¦ AUTHORS π¦
sphinxygen was written by David Robillard d@drobilla.net.
and that's the whole page, bestie!! π this was Sphinxygen 1.0.12, dated Jan 18, 2025 β go forth and generate some ReST, you absolute main character π ππΈ
π¦ where this page comes from
- fedora 44: python3-sphinxygen 1.0.12-2.fc44 Β· ISC
- π the page's license: ISC
- Copyright 2010-2025 David Robillard <d@drobilla.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms