lazarus/components/wiki
2015-02-13 20:34:21 +00:00
..
chm
html
lazwiki lazutils: moved ReplaceSubString to LazUTF8, added UTF8QuotedStr 2015-02-13 20:34:21 +00:00
test wikigui: fixed comment 2015-01-23 01:24:49 +00:00
xhtml
myfphttpclient.pp Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already. 2013-05-25 09:22:25 +00:00
parsewikipage.lpi
parsewikipage.lpr
README.txt wikiconvert: readme 2015-01-26 18:15:52 +00:00
wikiconvert.lpi wikiconvert: clean up 2015-01-26 18:23:55 +00:00
wikiconvert.lpr wikiconvert: started fpdoc project file 2015-01-27 00:26:17 +00:00
wikiget.lpi wikiget: clean up 2015-01-20 01:18:23 +00:00
wikiget.lpr lazutils: moved ReplaceSubString to LazUTF8, added UTF8QuotedStr 2015-02-13 20:34:21 +00: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=html/wiki.css 'wikixml/*.xml'


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


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


ToDos
ToDos wiki parser: see wikiparser.pas

ToDos iphtml:
-too big space between paragraphs
-jump to anchor after loading, Note: before first paint the areas are all 0,0,0,0
-background for pre
-backslashes in text are not shown
-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.