Re: Examples in documentation



"Tim P. Gerla" wrote:
> 
> I have a question. Is there any provision for complete examples in the
> GNOME doc framework? I want to be able to write a complete compilable
> example for a certain widget, and put a link to it in the widget doc page.
> Then I want to put only the widget-specific code in the main page. I want
> the complete example to be html-formatted C code with hyperlinks to the
> various function calls, and then I want a link to a plain-text version of
> the code so that the user can save & compile.
> 
> Any thoughts? Is this doable? Thanks!

You can't do the html-formatted C code and the plain-text version of the code
within DocBook. You might be able to do them outside of DocBook and merge
them with the html output, but it would be quite tricky.

Damon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]