File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ doc: setup.data build
1414 $(SETUP ) -doc $(DOCFLAGS )
1515 ./jsapi.native -destdir _build/ocaml/doc -templdir ocaml/doc/templates
1616 ./datamodel_main.native -closed -markdown -templdir ocaml/doc/templates _build/ocaml/doc/markdown
17- cp ocaml/doc/* .dot ocaml/doc/* .md ocaml/doc/doc-convert.sh _build/ocaml/doc/markdown
17+ cp ocaml/doc/* .dot ocaml/doc/doc-convert.sh _build/ocaml/doc/markdown
18+ find ocaml/doc -name " *.md" -not -name " README.md" -exec cp {} _build/ocaml/doc/markdown/ \;
1819
1920test : setup.data build
2021 $(SETUP ) -test $(TESTFLAGS )
Original file line number Diff line number Diff line change 33Run ` make doc ` . The output is in ` _build/ocaml/doc/markdown ` .
44
55To view the markdown properly you will need to install ` graphviz ` so as to
6- convert the dot files to images. To generate a pdf in addition, you will need to
7- install ` pandoc ` and ` pdflatex ` .
6+ convert the dot files to images. To generate the API reference in other formats
7+ (currently docbook and pdf) you will need to install ` pandoc ` . For pdf format
8+ you will also need ` pdflatex ` .
89
910To convert the images only, run ` sh doc-convert.sh ` .
1011
11- To also generate the pdf run ` sh doc-convert.sh --pdf ` .
12+ To generate the docbook run ` sh doc-convert.sh --docbook ` .
13+
14+ To generate the pdf run ` sh doc-convert.sh --pdf ` .
You can’t perform that action at this time.
0 commit comments