All hail the hyperlink! (and brace for tl;dr)
With this program you can take any source and (with lots of patience) filter it through idetools to generate not so pretty HTML which highlights idetools --def detection and hyperlinks Nimrod's stdlib docs if available. My reasons for developing this program were two:
Not only I want the examples to be generated, I also want the embedded code snippets to be hyperlinked! For example, the webpage lists a code snippet at http://nimrod-code.org/index.html, which comes from https://github.com/Araq/Nimrod/blob/master/web/index.txt. Just like this website, the code snippet is syntax highlighted, but it would be so much sweeter to just feed it to idetools and hyperlink stdlib docs!
I understand this may not be possible for the snippets as they are, and also may not be wanted for some, so I would like to propose adding .. code-block:: idetools to the snippets. The documentation generator would see this code just before the normal nimrod code block, and say "aha, for the idetools to work, I must generate a temporary file with both the idetools part and the normal codeblock and parse that combined through idetools". So usually this idetools part would contain mainly import and maybe other variables/globals setup. Thanks to this snippet preamble the idetools hyperlinking would work. Of course, the preamble would be hidden for the end output, as it's just an internal detail for generation.
Other stuff in no particular order I wanted to mention:
Version 0.4.0 of the_hyperlink_vs_nimrod was released, see the changes.
Some improvements were made to the generator, and idetools server mode was added but adds some bugs of its own.
Version 0.4.1 of the hyperlink vs nimrod was released, see the changes
The most visible changes are the use of javascript for the pseudo tooltip, which now allows easier copy&paste for commandline verification. I have updated all the examples linked from https://github.com/Araq/Nimrod/issues/416, https://github.com/Araq/Nimrod/issues/449 and https://github.com/Araq/Nimrod/issues/452.
With all that javascript programming I'm starting to look like a real programmer now.
Yes, version 0.6.0 of the hyperlink vs nimrod is finally out on the street and kicking ass! See the few but deep changes yourself. Now you have three speed levels for idetools queries. For reference a small test case file took 3.55s in default mode, 13s in brute force mode, and 18s in full retard mode.
Awesome.