Nicholai Benalal:
> However, the other day I was looking into turning it into another format as to provide context sensitive documentation and API calltips. I then realized that it would be a bit tricky to parse the HTML file in order to create alternative document formats. The document doesn't really seem created for this purpose.
>
> Has it ever been considered to have the HTML document auto-created from another file format that is more structured?
Having the document in a format that could be mechanically reused in other ways would be great and it was a factor in defining the .iface file format.
However, there is a degree of irregularity in ordering and sectioning the document that is useful and difficult to specify formally. There is a reasonable classification hierarchy that starts with the table of contents but beneath that element relationships are harder to categorize.
A transformation that may appeal to some is to break up the document into one page per element. I wrote a script to do this for SciTE on OS X which uses the OS X "Help Center" to search and show an individual page. This doesn't allow browsing and its often something related to your search that is what you need.
Additional tags could be added to Scintilla's existing HTML to make it easier to break apart or treat as a tree.
Neil