If you pass the CommandLine option --use-tipue-search to pasdoc (or check the Use tipue search engine box in PasDocGui) then additional things (some code in the navigation frame, and some additional files) will be added to the HtmlOutput. These things will provide a "Search" box on the navigation frame that allows full text search on the generated documentation.

The search engine used is tipue. It is a lightweight JavaScript search engine. But you don't have to know how it works – including this search engine in pasdoc is a matter of only passing --use-tipue-search option to pasdoc, everything else is done by pasdoc automatically and you get a working search engine in your documentation.

Tipue is client-side engine

You must be aware that tipue is a client-side engine (since it uses JavaScript). This means that the whole work is done on the client-side, i.e. by your webbrowser. This means that if you place your documentation on the internet for online browsing, then every user browsing this documentation will have to download the whole index data of your documentation (well, unless he has JavaScript disabled in his browser). And this index data may be large, if you have a large documentation.

So if you place your html documentation online, you should be cautious about the size of the generated index data file, tip_data.js. It really depends on the size of your documentation – it may be small, it may be huge, so I will not give you any general advice here like "use it!" or "don't use it!".

See also ToDoSearch.

Details on how index data is generated by pasdoc

Pages like AllUnits, AllIdentifiers etc. are not put in index at all (they only confuse the search engine, since they contain only some mixed parts from all other pages).

Old issue: Generating index data with Endsheet

At the beginning, when this option was implemented for the first time, users had to manually generate the index data using some external program, like Endsheet. This is no longer needed, not even advised, since pasdoc generates really good index data. But you can do this, if you really want. Here are instructions how:

After generating your documentation with pasdoc:

As you can see there are some flaws in Endsheet. Let me add some more:

UseTipueSearchOption (last edited 2007-10-28 22:57:07 by localhost)