[Lazarus] [fpc-pascal] Searchable docs online

Michael Van Canneyt michael at freepascal.org
Sun Jul 8 21:07:15 CEST 2018



On Sun, 8 Jul 2018, Ryan Joseph wrote:

> Just tried to use https://www.freepascal.org/docsearch/docsearch.html and it seems to have a bug (not working, errors in the JS console). Awaiting the source on svn also. :)

Possibly, I have been doing some experiments. I have re-enabled it.

It is now also referred to from the main docs page:
https://www.freepascal.org/docs.var

The search term edit box now has type-ahead enabled.

Sources (webpage/server) can be found on:
https://svn.freepascal.org/svn/html/docsearch/

The server needs the latest fpindexer:

https://svn.freepascal.org/svn/fpc/trunk/packages/fpindexer/

The indexer works using postgres, but sqlite, firebird (in fact any SQLDB DB) are
also supported. There is also support for a custom file format.

The "client" is written in pas2js.

So it comprises now a full-fledged example of how FPC can be used as a 
full-stack web development environment.

In a couple of moments, I will commit a more general version of the 
HTML searchengine under fpindexer examples.

Michael.


More information about the Lazarus mailing list