SPHINXYGEN(1)

πŸ“¦
version 1.0.12 Β· 2 versions
, in fedora 44

✨ 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 πŸ™ˆ
  • -l lang, --language lang β€” 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