File: README

package info (click to toggle)
mlpost 0.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,844 kB
  • sloc: ml: 21,094; javascript: 4,047; makefile: 430; ansic: 34; lisp: 19; sh: 15
file content (25 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
To compile the examples, issue

  make

Note that this only compiles the images. If you want to have the html files as
well, do

  make html


======Developers notes=============

* You need the latest version of caml2html:
    svn checkout svn://svn.forge.ocamlcore.org/svnroot/caml2html
  To compile that, you also need camlmix, either by godi, or
    http://martin.jambon.free.fr/camlmix/

* using (*html, you can put html into the target file

* code hiding is done via (*parse. currently supported:
   <<togglescript>> inserts the javascript code to toggle visibility of an element
   <<name  - open a div with name "name" and show/hide link, defaults to hide
   >> - close the last opened div

* you can modify parse.mll if you need more than that