PlDoc --- SWI-Prolog source documentation

The pldoc module processes structured comments in Prolog source files. These comments can be saved to file. During development the documentation system can start a web-server to view the documentation of loaded sources through your browser. The server is defined in the file doc_http.pl and started through doc_server/1.

During development, a typical scenario is to first start the documentation server and start a browser at http://localhost:4000. Note that by default the web-pages allow for starting an editor only if the connection comes from localhost. See doc_server/2 to realise a different setup.

:- doc_server(4000).
:- [application].
author
- Jan Wielemaker
See also
- doc_server/1, doc_server/2, doc_collect/1.
license
- LGPL

Prolog files

doc_access.plShow source
doc_colour.pl  -- Source colouring supportShow source
doc_html.pl  -- PlDoc HTML backendShow source
doc_htmlsrc.pl  -- HTML source pretty-printerShow source
doc_index.pl  -- Create indexesShow source
doc_man.pl  -- Process SWI-Prolog HTML manualsShow source
doc_modes.pl  -- Analyse PlDoc mode declarationsShow source
doc_pack.pl  -- PlDoc for Prolog extension packsShow source
doc_pack/1Generate stand-alone documentation for the package Pack.Source
doc_process.pl  -- Process source documentationShow source
doc_register.plShow source
doc_search.pl  -- Search form and replyShow source
doc_util.pl  -- PlDoc utilitiesShow source
doc_wiki.pl  -- PlDoc wiki parserShow source