Hi to everybody,
I would like to announce I've released the first version of NimCfitsio, my Nim bindings to the CFITSIO library (https://github.com/ziotom78/nimcfitsio). Admittedly, this will be of little use for the most of yours (nobody seems to still use FITS outside the astrophysical community). However, in order to document the library, I have developed a Sphinx domain for the Nim language, and I think that this might be interesting for the people in this forum.
To have an idea of how the documentation looks like, go to the site http://nimcfitsio.readthedocs.org/en/latest (hosted by ReadTheDocs, which automatically generates the documentation every time I commit a change to GitHub!).
The Sphinx domain is available in the NimCfitsio repository (https://github.com/ziotom78/nimcfitsio/blob/master/docs/exts/nim-domain.py), and at the time can parse procedure declarations, enumerations, and objects. It is quite easy to use, just include it in your docs directory and add 'nim-domain' to the extensions list in your conf.py Sphinx script. Procedures, enums, and objects are declared and referenced through :nim:proc:, :nim:enum:, and :nim:object:.
There are many things that might be improved, but for my purposes of documenting NimCfitsio this is more than enough!