Skip to content

Commit d39da11

Browse files
authored
Merge pull request #813 from jonludlam/doc-fixes
Documentation fixes
2 parents d38a31c + 301a62d commit d39da11

21 files changed

+71
-7
lines changed

doc/dune

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,29 @@
33
(deps (package eio_main) (env_var "EIO_BACKEND"))
44
(enabled_if (<> %{os_type} "Win32"))
55
(files multicore.md))
6+
7+
(install
8+
(section doc)
9+
(files
10+
(odoc-config-eio.sexp as odoc-config.sexp))
11+
(package eio))
12+
13+
(install
14+
(section doc)
15+
(files
16+
odoc-config.sexp)
17+
(package eio_linux))
18+
19+
(install
20+
(section doc)
21+
(files
22+
odoc-config.sexp)
23+
(package eio_posix))
24+
25+
(install
26+
(section doc)
27+
(files
28+
odoc-config.sexp)
29+
(package eio_windows))
30+
31+

doc/odoc-config-eio.sexp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(libraries unix)
2+
(packages eio_main bigstring)
3+

doc/odoc-config.sexp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(packages eio_main)
2+

eio.opam

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ build: [
4242
]
4343
]
4444
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
45+
x-extra-doc-deps: [
46+
"eio_main" {= version}
47+
"bigstring"
48+
]

eio.opam.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
x-extra-doc-deps: [
2+
"eio_main" {= version}
3+
"bigstring"
4+
]

eio_linux.opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ build: [
3434
]
3535
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
3636
available: [os = "linux"]
37+
x-extra-doc-deps: [
38+
"eio_main" {= version}
39+
]

eio_linux.opam.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
available: [os = "linux"]
2+
x-extra-doc-deps: [
3+
"eio_main" {= version}
4+
]

eio_main.opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ build: [
3535
]
3636
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
3737
x-ci-accept-failures: ["macos-homebrew"]
38+
x-extra-doc-deps: [
39+
"eio_main" {= version}
40+
]

eio_main.opam.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
x-ci-accept-failures: ["macos-homebrew"]
2+
x-extra-doc-deps: [
3+
"eio_main" {= version}
4+
]

eio_posix.opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ build: [
3131
]
3232
]
3333
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
34+
x-extra-doc-deps: [
35+
"eio_main" {= version}
36+
]

0 commit comments

Comments
 (0)