ROBODoc(1)

πŸ“¦ version 4.99.44, in epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ ROBODoc ✨

okay so bestie, welcome to ROBODoc(1) β€” it lives in the General Commands Manual section of your friendly neighbourhood man pages, and it's about to be your new fave πŸ’–


🌸 NAME 🌸

ROBODoc β€” extract documentation from source code. yep that's the whole vibe, it pulls the docs straight outta your code like magic ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

robodoc --src <source> --doc <destination> [options]

πŸ’… DESCRIPTION πŸ’…

ROBODoc extracts specially formated documentation from the source code. It allows you to maintain a program and its documentation in a single file.

okay literally the dream: one file, both the code AND the docs, no more "wait which version of the README is right" 😭 iconic behaviour honestly πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -c β€” shows you the copyright message. cute little legal moment πŸ’Œ
  • --version β€” prints the version info and then dips, exits immediately πŸšͺ
  • --doc β€” sets the documentation directory or documentation file. bestie listen: a directory should start with a / or a ./ and should not include any .. ⚠️
  • --src β€” sets the source directory or source file. same rules, no cap: a directory should start with a / or a ./ and should not include any .. 🚫
  • --ascii β€” generate the documentation in ASCII format.
  • --html β€” generate the documentation in HTML format.
  • --dbxml β€” generate the documentation in XML DocBook format.
  • --latex β€” generate the documentation in LaTeX format.
  • --rtf β€” generate the documentation in RTF format.
  • --index β€” create an additional master index file. so organised of it πŸ—‚οΈ
  • --multidoc β€” store all documentation in seperate files.
  • --singledoc β€” store all documentation in a single file.
  • --singlefile β€” generate a single document from a single file.
  • --cmode β€” handy defaults for C 🫢
  • --cobol β€” add hyphens to identifiers, breaks cmode indexing. (yes it really does break it, that's not me being dramatic, that's just the tea β˜•)

The complete list of options can be found in the HTML documentation. (Reference at the end of this page.)


🌈 EXAMPLES 🌈

robodoc --src ./ --doc myproject --singledoc --html

Creates a document called myproject.html from all source files in the current directory. slay πŸ’…

robodoc --src ./myproject/
      --doc ./myprojectdoc --multidoc --html --index

Creates seperate documents for all the source files found in the directory ./myproject they are stored in the directory ./myprojectdoc. A master index file called ./myprojectdoc/masterindex.html is also created. This provides links to all the individual files.

ngl the second one is giving main character energy β€” one directory in, a whole linked doc site out πŸ‘‘

Copyright Β© 1994-2008 Frans Slothouber, Petteri Kettunen, Gergely Budai and Jacco van Weert.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

fr fr, NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. read that again bestie, they mean it 😭

🧚 AUTHORS 🧚

Frans Slothouber, Jacco van Weert, Petteri Kettunen, Bernd Koesling, Thomas Aglassinger, Anthon Pang, Stefan Kost, David Druffner, Sasha Vasko, Nathan Prewitt, Gergely Budai and Dennis Stampfer.

the whole squad, absolute legends, periodt πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie πŸ’– this was robodoc 4.99.44, dated Feb 2021 β€” mwah, go document something gorgeous πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from