jonludlam / odoc

Documentation compiler for OCaml and Reason
Other
0 stars 0 forks source link

Don't look at canonical paths when resolving references #26

Closed Julow closed 4 years ago

Julow commented 4 years ago

References are written by users so they should already be canonical.

Example diff on Base:

     <h1>Module <code>Bigarray.Array0</code></h1>
     <p>Zero-dimensional arrays. The <code>Array0</code> structure
     provides operations similar to those of
-    <a href="../../../../ocaml/Stdlib/Bigarray/Genarray/index.html">
-      <code>Stdlib.Bigarray.Genarray</code>
+    <a href="../Genarray/index.html">
+      <code>Bigarray.Genarray</code>
     </a>,
     but specialized to the case of zero-dimensional arrays that
     only contain a single scalar value. Statically knowing the
     number of dimensions of the array allows faster operations, and