File: run.t

package info (click to toggle)
ocaml-odoc 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,744 kB
  • sloc: ml: 37,049; makefile: 124; sh: 79
file content (19 lines) | stat: -rw-r--r-- 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  $ ocamlc -c -bin-annot Bar.mli
  $ ocamlc -c -bin-annot Baz.mli
  $ ocamlc -c -bin-annot foo.mli
  $ ocamlc -c -bin-annot moo.mli

  $ odoc compile page.mld --child bar --child module-baz --child Foo --child module-Moo
  $ odoc compile Bar.cmti -I . --parent page
  $ odoc compile Baz.cmti -I . --parent page-page
  $ odoc compile foo.cmti -I . --parent page
  $ odoc compile moo.cmti -I . --parent page-page

  $ odoc link page-page.odoc -I .
  $ odoc link Bar.odoc -I .
  $ odoc link Baz.odoc -I .
  $ odoc link foo.odoc -I .
  $ odoc link moo.odoc -I .

  $ for i in *.odocl; do odoc html-generate $i -o html; done
  $ odoc support-files -o html