Question
I like to use Twiki for adding documentation to a C++ library which has the class documentation generated by Doxygen. Each C++ class mentioned in the Twiki Topics i like to link to that documentation automatically. I already can do this from docbook documentation, but Twiki documentation i like to achieve the same.
The question: is it possible to couple a special variable (e.g CLASSNAME), having the classname as value, to a unix script on the server? The script will be used to translate the variable+value into the right URL to reach the class documentation, when viewing/displaying the topic.
So something like a hook to a script when the topic renderer is generating the HTML from the raw topics text.
Or is something like this only possible by writing a plugin, which i don't know how to yet.
Any ideas welcome.
Environment
--
KlaasHolwerda - 09 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Not sure I understand your question properly, but a new
InterwikiPlugin link rule might be all you need.
You can also define a preferences value in
WebPreferences, such as CLASSROOT, and use it for example as
%CLASSROOT%/Bicycles.cpp
--
PeterThoeny - 10 Dec 2006
Like in docbook this:
<classname role="lnk">a2dPropObject</classname>
Is translated using TSL ( transforming style sheets ) into:
http://wxart2d.sourceforge.net/docs/docbook_html/classa2dPropObject.html
The first part is constant, next the value of the tag is added, and at last .html.
And from what i see
InterwikiPlugin can do the job, perfect, by translating/substituting the $page being the classname into the fixed Url.
--
KlaasHolwerda - 11 Dec 2006
The
DoxygenPlugin is the real answer to this question.
--
KlaasHolwerda - 07 Mar 2007