GSoC/GCI Archive
Google Code-in 2014 BRL-CAD

Write manual page documentation (for archer)

completed by: shardulc

mentors: Popescu Andrei, Jacob B

BRL-CAD has hundreds of tools but they're not all documented. We use the Docbook XML system for documentation, which is very much like HTML, but don't worry -- we have LOTS of examples you can follow. Our build system will even validate your file to make sure you didn't make a mistake.

This task entails briefly learning how the archer tool works and then writing initial documentation for it. Look at the other XML files in the doc/docbook/system/man1/en directory for dozens of examples.

Once you've created your new file, you'll want to check your work.

  1. download BRL-CAD from Subversion or use our VM image
  2. compile BRL-CAD: http://brlcad.org/wiki/Compiling
  3. create your new file (doc/docbook/system/man1/en/archer.xml)
  4. add it to the build system ( edit doc/docbook/system/man1/en/CMakeLists.txt )
  5. compile again (make) and make sure it doesn't give an error
  6. check the compiled version ( in your build directory, run: bin/brlman archer)

A lot of little steps, but it's really very easy.

References:
  • doc/docbook/system/man1/en/*.xml
  • doc/docbook/system/man1/en/mged.xml <-- this is particularly relevant/similar
Modify:
  • doc/docbook/system/man1/en/archer.xml <-- you'll create this
  • doc/docbook/system/man1/en/CMakeLists.txt <-- add your new file here