[fpc-pascal] Add API to official documentation search
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Sun Nov 17 23:30:04 CET 2019
On 17/11/2019 10:20 pm, Michael Van Canneyt wrote:
>
> That would be me.
Thought that much. ;-)
> And there already is an API. How else ? This is Free Pascal !
>
>
> If you look in the browser developer console when using that page,
> you'll see there are 2 calls available which do return JSON.
My bad, I initially thought Ryan was simply quoting the FPC docs URL
with a "wish for a search URL". It's only after I sent my first reply
that I actually clicked on the URL and noticed the search box. Very nice
to see it available now.
How is the search data generated - via fpdoc? What storage format does
it use?
I remember years ago I found a JavaScript search engine that could be
integrated with fpdoc's HTML output, but that storage format was
JavaScript (if I remember correctly) and was huge.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list