lazarus/components/wiki
2025-03-18 09:47:45 +01:00
..
css
images/internal
lazwiki lazwiki: fixed compile 2025-03-18 09:47:45 +01:00
test Set HideSelection of all Treeviews to false. 2025-02-23 01:48:42 +01:00
.gitignore lazwiki: fixed compile 2025-03-18 09:47:45 +01:00
parsewikipage.lpi
parsewikipage.lpr
README.txt
wikiconvert.lpi components/wiki: Fix loading of wikiconvert project. 2021-07-30 22:42:19 +02:00
wikiconvert.lpr Turn some LazLogger into LazLoggerBase. 2024-04-06 16:45:28 +03:00
wikiget.lpi
wikiget.lpr Turn some LazLogger into LazLoggerBase. 2024-04-06 16:45:28 +03:00

BEWARE: This is all work in progress.

UNDER CONSTRUCTION

This directory contains tools to create the offline help of the wiki.

Downloading the wiki:

Compile wikiget.lpi

Download all pages and images:
./wikiget --allmissing

Download changes of last 2 days
./wikiget --recent=2 --deletenotusedpages --deletenotusedimages

Note: you can stop/kill the tool at any time and run it again. It will download
only the missing files.
See ./wikiget -h for all options.


Creating XHTML pages:
./wikiconvert --format=xhtml --css=css/wiki.css 'wikixml/*.xml'


Creating HTML pages:
./wikiconvert --format=html --css=css/wiki.css 'wikixml/*.xml'


Creating chm:
./wikiconvert --format=chm --css=css/wiki.css wikixml/Lazarus_Documentation.g400.xml 'wikixml/*.xml'


ToDos
ToDos wiki parser: see wikiparser.pas

ToDos iphtml:
-too big space between paragraphs
-background for pre
-slow on some pages (e.g. lazarus_documentation)

Todos: convert to fpdoc
 ./wikiconvert --format=fpdoc --outputdir=fpdocxml wikixml/1-dimensional_arrays.0000.xml
 cd fpdochtml/
 fpdoc --format=html --charset=UTF8 --image-url=../images --package=wiki --descr=../fpdocxml/1-dimensional_arrays.0000.xml --verbose
ToDo: find out why fpdoc does not use the description.