[CMake] Re: Hyperlinked indexed reference?

a.neundorf-work at gmx.net a.neundorf-work at gmx.net
Mon Oct 22 11:55:03 EDT 2007


On Monday 22 October 2007 15:20, Fernando Cacciola wrote:
...
> Assuming that's true (I haven't seen any source code), isn't it somewhat
> simple to extend the pattern so that each command outputs also an HTML
> friendly documentation entryr?
>
> Something like:
>
> command->get_documentation_html_anchor();
> command->get_documentation_html_entry();
>
>
> The first would return "<a href="#command_id>Command</a>" line, to be put
> in a list on the top of the html document.
>
> And the second would return a "<a name="command_id>Command</a><p>COMMAND
> EXPLANATION</p>"
>
> It shouldn't be so difficult to add that based on the current documentation
> function.. is just a matter of adding the HTML formating.

A patch would be welcome :-)
It's in the CMake/Source/cmDocumentation*.cxx files in cmake cvs.

Bye
Alex


More information about the CMake mailing list