Re: Re: [MDB] documentation
| From: | Dan Scott | Date: | Tue, 22 Nov 2005 01:09:21 +0000 |
| Subject: | Re: Re: [MDB] documentation | ||
| References: | 1 2 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7191@lists.php.net to get a copy of this message | ||
On 11/21/05, Lukas Kahwe Smith <smith@pooteeweet.org> wrote:
> Howard Wertenteil wrote:
<snip>
> > Then there is Eclipse... is it and PEAR able to play well together? Would
> > developers be expecting documentation accessible via context sensitivity
> > inside the Eclipse IDE...?
>
> Well Eclipse seems to be gaining ground as a PHP development IDE. I
> personally do not know it. I also do not know what format Eclipse
> expects. However the doc team is pushing docbook mainly because it
> allows export to all sorts of formats. So maybe someone from the doc
> team could explore this.
>
I know the Eclipse help system pretty well; I was largely responsible
/ to blame for the DB2 Information Center appearing in Eclipse format
in DB2 Version 8.2
(http://publib.boulder.ibm.com/infocenter/db2help/).
The Eclipse help system displays any form of content that your Web
browser will display if you link to it from the Eclipse table of
contents (TOC) files. To preserve space and inodes on your filesystem
Eclipse can display documentation from within a zip file.
The TOC files are a really simple form of XML. It's very easy to
generate an Eclipse TOC from any other table of contents format for
which you have the source.
Typically, you bundle a set of help content + TOC files into a single
"plug-in". This gives you a component-based aggregation of content.
You can provide more sophisticated structure by pulling TOC files into
one another, or pushing a TOC file into an anchor node in another TOC
file. Best bet here is to use the HTML produced by the Docbook
transform as source files for the plugin(s) build.
Context sensitive help is another thing -- a little harder to pull
together, but probably doable with a little determination. IIRC pop-up
text is stored in another relatively simple XML format that supports
basic text formatting and links to full help pages of content in the
browser. Things might have advanced more since my time... but your
best bet in this case would be to generate these XML files directly
from the Docbook source.
Dan