OK guys, so it seems you're cooking something here
Let me finish the next version, which I am almost ready to release, and we'll talk about this topic seriously.
Following Sander's schema:
1) design the framework (I believe Juan intends to create a separate doc directory in the PCL tree)
Correct. My intention is to release a first version of the integrated documentation feature with PI 1.6. As I see it, we should have a system similar to Doxygen, but adapted to PI's specific requirements. What I want is a standardized system where the contents and the appearance are perfectly isolated. You just write the contents, then the framework creates the presentation. That's an information content manager. Of course, I'll implement this as a JavaScript script, similar in concept to the MakefileGenerator script.
2) define the documentation template (Juan and I discussed this over email, nothing fancy)
This actually forms part of the previous point. More than a template we'll have a —very simple— macro language to write documentation items.
3) implement the 'push a button and show an HTML page or dialog that says no page is found'
Let me do all the nitty-gritty. I have to decide what to use, since I have several good possibilities. Integrating Qt's Assistant application (a hierarchical HTML-based documentation manager) seems a good approach.
4) start writing
Aha. This is the hard core part, and here is where I'm gonna need some help!
As I've said, let's release the next version, then we'll talk more. Thank you guys for your help and all your fantastic contributions.