File: dune

package info (click to toggle)
ocaml-odoc 1.5.2%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 5,972 kB
  • sloc: ml: 26,974; makefile: 59; sh: 35
file content (41 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(library
 (name odoc_odoc)
 (public_name odoc.odoc)
 (libraries
  compiler-libs.common
  fpath
  odoc_compat
  odoc_html
  odoc_loader
  odoc_model
  odoc_xref
  tyxml
  unix))

(documentation)

(rule
 (targets css_file.ml)
 (deps (:css etc/odoc.css))
 (action
  (with-stdout-to %{targets}
   (progn
    (echo "let content = {css|")
    (cat %{css})
    (echo "|css}")))))

(rule
 (targets highlight_js.ml)
; (deps (:js ../vendor/highlight.pack.js))
 (action
  (with-stdout-to %{targets}
   (progn
    (echo "let content = {js|")
;    (cat %{js})
    (echo "|js}")))))

; Install theme files for odig.
(install
 (section share)
 (files
  (etc/odoc.css as odoc-theme/default/odoc.css)))