We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1e129 commit 918a527Copy full SHA for 918a527
test/search/module_aliases.t/main.ml
@@ -0,0 +1,5 @@
1
+module X = struct
2
+ let x = 1
3
+end
4
+
5
+module Y = X
test/search/module_aliases.t/run.t
@@ -0,0 +1,19 @@
+Compile the files
+ $ ocamlc -c main.ml -bin-annot -I .
+Compile and link the documentation
6
7
+ $ odoc compile main.cmt
8
+ $ odoc link main.odoc
9
+ $ odoc compile-index main.odocl
10
11
+We have a problem: The ID for Y generates an URL to a file which is not
12
+generated (as the module does not have an expansion).
13
14
+ $ cat index.json | jq | grep url |grep Y
15
+ "url": "Main/Y/index.html",
16
17
+ $ odoc html-generate -o html main.odocl && ls Main/Y/index.html
18
+ ls: cannot access 'Main/Y/index.html': No such file or directory
19
+ [2]
0 commit comments