From b2f45c471f6e1d51f13b5d64314535473dbf73af Mon Sep 17 00:00:00 2001 From: Paul-Elliot Date: Mon, 10 Jun 2024 12:31:00 +0200 Subject: [PATCH 1/3] Fix gaps (#1111) Since the introduction of the grid system, margin collapse did not work between the preamble and content as they are not in the same element. It makes sense to have them in the same element, as they are to be displayed in a single flow. Signed-off-by: Paul-Elliot --- src/html/html_page.ml | 13 +++++++++---- src/html_support_files/odoc.css | 9 ++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/html/html_page.ml b/src/html/html_page.ml index 9244cf35ac..168ff13d74 100644 --- a/src/html/html_page.ml +++ b/src/html/html_page.ml @@ -210,10 +210,15 @@ let search_urls = %s; let body = html_of_breadcrumbs breadcrumbs - @ search_bar - @ [ Html.header ~a:[ Html.a_class [ "odoc-preamble" ] ] header ] - @ sidebar toc - @ [ Html.div ~a:[ Html.a_class [ "odoc-content" ] ] content ] + @ search_bar @ sidebar toc + @ [ + Html.div + ~a:[ Html.a_class [ "odoc-main" ] ] + [ + Html.header ~a:[ Html.a_class [ "odoc-preamble" ] ] header; + Html.div ~a:[ Html.a_class [ "odoc-content" ] ] content; + ]; + ] in let htmlpp = Html.pp ~indent:(Config.indent config) () in diff --git a/src/html_support_files/odoc.css b/src/html_support_files/odoc.css index 93dc1efd2c..845cf312dd 100644 --- a/src/html_support_files/odoc.css +++ b/src/html_support_files/odoc.css @@ -307,8 +307,8 @@ body.odoc-src { margin-right: calc(10vw + 20ex); } -.odoc-content { - grid-row: 4; +.odoc-main { + grid-row: 3; grid-column: 2; } @@ -322,11 +322,6 @@ header { margin-bottom: 30px; } -header.odoc-preamble { - grid-column: 2; - grid-row: 3; -} - nav { font-family: "Fira Sans", sans-serif; } From 04a5a28fad2fd8af83311808a3d426eb7ad0c7b5 Mon Sep 17 00:00:00 2001 From: Paul-Elliot Date: Mon, 10 Jun 2024 13:02:58 +0200 Subject: [PATCH 2/3] Add changelof for #1146 Signed-off-by: Paul-Elliot --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index baab008aba..e96cab6290 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -39,6 +39,8 @@ - Fixed title content not being picked up across pages when rendering references (#1116, @panglesd) - Fix wrong links to standalone comments in search results (#1118, @panglesd) +- Fix a big gap between the preamble and the content of a page (#1146, + @panglesd) # 2.4.0 From f14a5a51fa1bd30e776ef8232a2fd637bee49c9c Mon Sep 17 00:00:00 2001 From: Paul-Elliot Date: Mon, 10 Jun 2024 13:18:54 +0200 Subject: [PATCH 3/3] Fix gaps: Promote tests Signed-off-by: Paul-Elliot --- test/generators/html/Alerts-Top1.html | 14 +- test/generators/html/Alerts-Top2.html | 14 +- test/generators/html/Alerts.html | 203 +- test/generators/html/Alias-X.html | 32 +- test/generators/html/Alias.html | 30 +- test/generators/html/Bugs.html | 62 +- .../html/Bugs_post_406-class-let_open'.html | 8 +- .../Bugs_post_406-class-type-let_open.html | 8 +- test/generators/html/Bugs_post_406.html | 63 +- test/generators/html/Bugs_pre_410.html | 68 +- .../html/Class-class-empty_virtual'.html | 8 +- .../html/Class-class-mutually'.html | 8 +- .../html/Class-class-polymorphic'.html | 8 +- .../html/Class-class-recursive'.html | 8 +- .../html/Class-class-type-empty.html | 8 +- .../html/Class-class-type-empty_virtual.html | 8 +- .../html/Class-class-type-mutually.html | 8 +- .../html/Class-class-type-polymorphic.html | 8 +- .../html/Class-class-type-recursive.html | 8 +- test/generators/html/Class.html | 219 +- .../html/Class_comments-class-c.html | 54 +- .../html/Class_comments-class-x.html | 8 +- test/generators/html/Class_comments.html | 48 +- test/generators/html/External.html | 28 +- .../html/Functor-F1-argument-1-Arg.html | 18 +- test/generators/html/Functor-F1.html | 40 +- .../html/Functor-F2-argument-1-Arg.html | 18 +- test/generators/html/Functor-F2.html | 46 +- .../html/Functor-F3-argument-1-Arg.html | 18 +- test/generators/html/Functor-F3.html | 46 +- .../html/Functor-F4-argument-1-Arg.html | 18 +- test/generators/html/Functor-F4.html | 40 +- test/generators/html/Functor-F5.html | 24 +- .../html/Functor-module-type-S.html | 18 +- .../Functor-module-type-S1-argument-1-_.html | 18 +- .../html/Functor-module-type-S1.html | 40 +- test/generators/html/Functor.html | 196 +- .../html/Functor2-X-argument-1-Y.html | 18 +- .../html/Functor2-X-argument-2-Z.html | 18 +- test/generators/html/Functor2-X.html | 88 +- .../html/Functor2-module-type-S.html | 18 +- .../Functor2-module-type-XF-argument-1-Y.html | 18 +- .../Functor2-module-type-XF-argument-2-Z.html | 18 +- .../html/Functor2-module-type-XF.html | 96 +- test/generators/html/Functor2.html | 106 +- test/generators/html/Functor_ml-Bar.html | 18 +- .../html/Functor_ml-Foo'-argument-1-X.html | 18 +- test/generators/html/Functor_ml-Foo'.html | 48 +- test/generators/html/Functor_ml.html | 84 +- .../Include-module-type-Dorminant_Module.html | 44 +- .../Include-module-type-Inherent_Module.html | 26 +- .../html/Include-module-type-Inlined.html | 18 +- .../html/Include-module-type-Not_inlined.html | 18 +- ...de-module-type-Not_inlined_and_closed.html | 20 +- ...de-module-type-Not_inlined_and_opened.html | 20 +- test/generators/html/Include.html | 323 +- test/generators/html/Include2-X.html | 24 +- test/generators/html/Include2-Y.html | 20 +- .../html/Include2-Y_include_doc.html | 57 +- .../html/Include2-Y_include_synopsis.html | 53 +- test/generators/html/Include2.html | 159 +- ...nclude_sections-module-type-Something.html | 60 +- test/generators/html/Include_sections.html | 190 +- test/generators/html/Interlude.html | 78 +- test/generators/html/Labels-A.html | 12 +- test/generators/html/Labels-class-c.html | 12 +- .../generators/html/Labels-class-type-cs.html | 12 +- .../generators/html/Labels-module-type-S.html | 12 +- test/generators/html/Labels.html | 351 +- test/generators/html/Markup-X.html | 8 +- test/generators/html/Markup-Y.html | 8 +- test/generators/html/Markup.html | 616 +- test/generators/html/Module-M'.html | 8 +- test/generators/html/Module-Mutually.html | 8 +- test/generators/html/Module-Recursive.html | 8 +- .../html/Module-module-type-S-M.html | 7 +- .../generators/html/Module-module-type-S.html | 78 +- .../html/Module-module-type-S3-M.html | 8 +- .../html/Module-module-type-S3.html | 86 +- .../html/Module-module-type-S4-M.html | 8 +- .../html/Module-module-type-S4.html | 68 +- .../html/Module-module-type-S5-M.html | 8 +- .../html/Module-module-type-S5.html | 66 +- .../html/Module-module-type-S6-M.html | 8 +- .../html/Module-module-type-S6.html | 64 +- .../html/Module-module-type-S7.html | 68 +- .../html/Module-module-type-S8.html | 54 +- .../html/Module-module-type-S9.html | 8 +- test/generators/html/Module.html | 422 +- .../html/Module_type_alias-module-type-A.html | 18 +- ...type_alias-module-type-B-argument-1-C.html | 18 +- .../html/Module_type_alias-module-type-B.html | 47 +- ...type_alias-module-type-E-argument-1-F.html | 18 +- ...type_alias-module-type-E-argument-2-C.html | 18 +- .../html/Module_type_alias-module-type-E.html | 70 +- ...type_alias-module-type-G-argument-1-H.html | 18 +- .../html/Module_type_alias-module-type-G.html | 47 +- test/generators/html/Module_type_alias.html | 186 +- test/generators/html/Module_type_of-T-N.html | 21 +- .../html/Module_type_of-T-module-type-T.html | 18 +- test/generators/html/Module_type_of-T.html | 79 +- test/generators/html/Module_type_of-X.html | 28 +- .../html/Module_type_of-module-type-S-M.html | 17 +- .../html/Module_type_of-module-type-S-N.html | 23 +- ...e_type_of-module-type-S-module-type-T.html | 18 +- .../html/Module_type_of-module-type-S.html | 90 +- test/generators/html/Module_type_of.html | 86 +- ...dule_type_subst-Basic-module-type-a-M.html | 7 +- ...Module_type_subst-Basic-module-type-a.html | 48 +- ...dule_type_subst-Basic-module-type-c-M.html | 7 +- ...Module_type_subst-Basic-module-type-c.html | 28 +- ...bst-Basic-module-type-u-module-type-T.html | 8 +- ...Module_type_subst-Basic-module-type-u.html | 36 +- ...ule_type_subst-Basic-module-type-u2-M.html | 8 +- ...st-Basic-module-type-u2-module-type-T.html | 8 +- ...odule_type_subst-Basic-module-type-u2.html | 62 +- ...le_type_subst-Basic-module-type-with_.html | 28 +- ...type_subst-Basic-module-type-with_2-M.html | 8 +- ...asic-module-type-with_2-module-type-T.html | 8 +- ...e_type_subst-Basic-module-type-with_2.html | 70 +- .../html/Module_type_subst-Basic.html | 179 +- ...le_type_subst-Local-module-type-local.html | 24 +- ...Module_type_subst-Local-module-type-s.html | 8 +- .../html/Module_type_subst-Local.html | 98 +- ...ed-module-type-nested-N-module-type-t.html | 8 +- ...ype_subst-Nested-module-type-nested-N.html | 40 +- ..._type_subst-Nested-module-type-nested.html | 32 +- ...type_subst-Nested-module-type-with_-N.html | 28 +- ...e_type_subst-Nested-module-type-with_.html | 32 +- ...subst-Nested-module-type-with_subst-N.html | 8 +- ...e_subst-Nested-module-type-with_subst.html | 33 +- .../html/Module_type_subst-Nested.html | 110 +- ...le-type-a-module-type-b-module-type-c.html | 40 +- ...le-type-u-module-type-a-module-type-b.html | 40 +- ...tructural-module-type-u-module-type-a.html | 40 +- ...e_type_subst-Structural-module-type-u.html | 40 +- ...le-type-a-module-type-b-module-type-c.html | 40 +- ...le-type-w-module-type-a-module-type-b.html | 40 +- ...tructural-module-type-w-module-type-a.html | 40 +- ...e_type_subst-Structural-module-type-w.html | 40 +- .../html/Module_type_subst-Structural.html | 72 +- .../html/Module_type_subst-module-type-s.html | 8 +- test/generators/html/Module_type_subst.html | 130 +- .../html/Nested-F-argument-1-Arg1.html | 40 +- .../html/Nested-F-argument-2-Arg2.html | 22 +- test/generators/html/Nested-F.html | 74 +- test/generators/html/Nested-X.html | 42 +- .../html/Nested-class-inherits.html | 24 +- test/generators/html/Nested-class-z.html | 74 +- .../generators/html/Nested-module-type-Y.html | 42 +- test/generators/html/Nested.html | 153 +- test/generators/html/Ocamlary-Aliases-E.html | 38 +- .../html/Ocamlary-Aliases-Foo-A.html | 38 +- .../html/Ocamlary-Aliases-Foo-B.html | 38 +- .../html/Ocamlary-Aliases-Foo-C.html | 38 +- .../html/Ocamlary-Aliases-Foo-D.html | 38 +- .../html/Ocamlary-Aliases-Foo-E.html | 38 +- .../generators/html/Ocamlary-Aliases-Foo.html | 128 +- .../html/Ocamlary-Aliases-P1-Y.html | 38 +- test/generators/html/Ocamlary-Aliases-P1.html | 32 +- .../html/Ocamlary-Aliases-P2-Z.html | 38 +- test/generators/html/Ocamlary-Aliases-P2.html | 32 +- .../generators/html/Ocamlary-Aliases-Std.html | 78 +- test/generators/html/Ocamlary-Aliases.html | 395 +- test/generators/html/Ocamlary-Buffer.html | 32 +- .../Ocamlary-CanonicalTest-Base-List.html | 44 +- .../html/Ocamlary-CanonicalTest-Base.html | 32 +- .../Ocamlary-CanonicalTest-Base_Tests-C.html | 44 +- .../Ocamlary-CanonicalTest-Base_Tests.html | 134 +- .../Ocamlary-CanonicalTest-List_modif.html | 54 +- .../html/Ocamlary-CanonicalTest.html | 97 +- ...tionModule-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...camlary-CollectionModule-InnerModuleA.html | 105 +- .../html/Ocamlary-CollectionModule.html | 102 +- .../html/Ocamlary-Dep1-X-Y-class-c.html | 16 +- test/generators/html/Ocamlary-Dep1-X-Y.html | 27 +- test/generators/html/Ocamlary-Dep1-X.html | 27 +- .../Ocamlary-Dep1-module-type-S-class-c.html | 16 +- .../html/Ocamlary-Dep1-module-type-S.html | 28 +- test/generators/html/Ocamlary-Dep1.html | 58 +- .../Ocamlary-Dep11-module-type-S-class-c.html | 16 +- .../html/Ocamlary-Dep11-module-type-S.html | 28 +- test/generators/html/Ocamlary-Dep11.html | 34 +- .../html/Ocamlary-Dep12-argument-1-Arg.html | 26 +- test/generators/html/Ocamlary-Dep12.html | 58 +- .../html/Ocamlary-Dep13-class-c.html | 18 +- test/generators/html/Ocamlary-Dep13.html | 28 +- test/generators/html/Ocamlary-Dep2-A.html | 26 +- .../html/Ocamlary-Dep2-argument-1-Arg-X.html | 26 +- .../html/Ocamlary-Dep2-argument-1-Arg.html | 50 +- test/generators/html/Ocamlary-Dep2.html | 72 +- test/generators/html/Ocamlary-Dep3.html | 18 +- test/generators/html/Ocamlary-Dep4-X.html | 18 +- .../html/Ocamlary-Dep4-module-type-S-X.html | 17 +- .../html/Ocamlary-Dep4-module-type-S-Y.html | 7 +- .../html/Ocamlary-Dep4-module-type-S.html | 51 +- .../html/Ocamlary-Dep4-module-type-T.html | 18 +- test/generators/html/Ocamlary-Dep4.html | 79 +- test/generators/html/Ocamlary-Dep5-Z.html | 40 +- ...y-Dep5-argument-1-Arg-module-type-S-Y.html | 7 +- ...ary-Dep5-argument-1-Arg-module-type-S.html | 50 +- .../html/Ocamlary-Dep5-argument-1-Arg.html | 66 +- test/generators/html/Ocamlary-Dep5.html | 64 +- test/generators/html/Ocamlary-Dep6-X-Y.html | 17 +- test/generators/html/Ocamlary-Dep6-X.html | 46 +- .../html/Ocamlary-Dep6-module-type-S.html | 18 +- .../html/Ocamlary-Dep6-module-type-T-Y.html | 17 +- .../html/Ocamlary-Dep6-module-type-T.html | 46 +- test/generators/html/Ocamlary-Dep6.html | 79 +- test/generators/html/Ocamlary-Dep7-M.html | 50 +- .../html/Ocamlary-Dep7-argument-1-Arg-X.html | 50 +- ...ary-Dep7-argument-1-Arg-module-type-T.html | 50 +- .../html/Ocamlary-Dep7-argument-1-Arg.html | 76 +- test/generators/html/Ocamlary-Dep7.html | 58 +- .../html/Ocamlary-Dep8-module-type-T.html | 18 +- test/generators/html/Ocamlary-Dep8.html | 34 +- .../html/Ocamlary-Dep9-argument-1-X.html | 26 +- test/generators/html/Ocamlary-Dep9.html | 58 +- ...camlary-DoubleInclude1-DoubleInclude2.html | 20 +- .../html/Ocamlary-DoubleInclude1.html | 34 +- ...camlary-DoubleInclude3-DoubleInclude2.html | 20 +- .../html/Ocamlary-DoubleInclude3.html | 55 +- test/generators/html/Ocamlary-Empty.html | 12 +- test/generators/html/Ocamlary-ExtMod.html | 56 +- ...Collection-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...Of-argument-1-Collection-InnerModuleA.html | 111 +- ...y-FunctorTypeOf-argument-1-Collection.html | 107 +- .../html/Ocamlary-FunctorTypeOf.html | 71 +- ...ary-IncludeInclude1-IncludeInclude2_M.html | 10 +- ...eInclude1-module-type-IncludeInclude2.html | 22 +- .../html/Ocamlary-IncludeInclude1.html | 66 +- .../html/Ocamlary-IncludeInclude2_M.html | 8 +- test/generators/html/Ocamlary-IncludedA.html | 18 +- test/generators/html/Ocamlary-M.html | 18 +- .../html/Ocamlary-ModuleWithSignature.html | 16 +- .../Ocamlary-ModuleWithSignatureAlias.html | 20 +- test/generators/html/Ocamlary-One.html | 18 +- .../html/Ocamlary-Only_a_module.html | 18 +- ...collection-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 35 +- .../Ocamlary-Recollection-InnerModuleA.html | 103 +- ...gument-1-C-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...ecollection-argument-1-C-InnerModuleA.html | 109 +- .../Ocamlary-Recollection-argument-1-C.html | 105 +- .../html/Ocamlary-Recollection.html | 151 +- .../html/Ocamlary-With10-module-type-T-M.html | 25 +- .../html/Ocamlary-With10-module-type-T.html | 52 +- test/generators/html/Ocamlary-With10.html | 46 +- .../html/Ocamlary-With2-module-type-S.html | 18 +- test/generators/html/Ocamlary-With2.html | 34 +- test/generators/html/Ocamlary-With3-N.html | 18 +- test/generators/html/Ocamlary-With3.html | 42 +- test/generators/html/Ocamlary-With4-N.html | 18 +- test/generators/html/Ocamlary-With4.html | 29 +- test/generators/html/Ocamlary-With5-N.html | 18 +- .../html/Ocamlary-With5-module-type-S.html | 18 +- test/generators/html/Ocamlary-With5.html | 54 +- .../html/Ocamlary-With6-module-type-T-M.html | 39 +- .../html/Ocamlary-With6-module-type-T.html | 32 +- test/generators/html/Ocamlary-With6.html | 34 +- .../html/Ocamlary-With7-argument-1-X.html | 26 +- test/generators/html/Ocamlary-With7.html | 58 +- .../html/Ocamlary-With9-module-type-S.html | 18 +- test/generators/html/Ocamlary-With9.html | 34 +- .../html/Ocamlary-class-empty_class.html | 8 +- .../html/Ocamlary-class-one_method_class.html | 18 +- .../html/Ocamlary-class-param_class.html | 26 +- .../html/Ocamlary-class-two_method_class.html | 38 +- ...e-type-A-Q-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...Ocamlary-module-type-A-Q-InnerModuleA.html | 104 +- .../html/Ocamlary-module-type-A-Q.html | 100 +- .../html/Ocamlary-module-type-A.html | 40 +- ...e-type-B-Q-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...Ocamlary-module-type-B-Q-InnerModuleA.html | 104 +- .../html/Ocamlary-module-type-B-Q.html | 100 +- .../html/Ocamlary-module-type-B.html | 40 +- ...e-type-C-Q-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...Ocamlary-module-type-C-Q-InnerModuleA.html | 104 +- .../html/Ocamlary-module-type-C-Q.html | 100 +- .../html/Ocamlary-module-type-C.html | 114 +- ...COLLECTION-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...y-module-type-COLLECTION-InnerModuleA.html | 109 +- .../html/Ocamlary-module-type-COLLECTION.html | 107 +- .../html/Ocamlary-module-type-Dep10.html | 22 +- .../html/Ocamlary-module-type-Empty.html | 20 +- .../html/Ocamlary-module-type-EmptySig.html | 10 +- .../Ocamlary-module-type-IncludeInclude2.html | 20 +- ...camlary-module-type-IncludeModuleType.html | 36 +- .../html/Ocamlary-module-type-IncludedB.html | 18 +- .../html/Ocamlary-module-type-M.html | 18 +- ...type-MMM-C-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...amlary-module-type-MMM-C-InnerModuleA.html | 105 +- .../html/Ocamlary-module-type-MMM-C.html | 103 +- .../html/Ocamlary-module-type-MMM.html | 30 +- .../Ocamlary-module-type-MissingComment.html | 20 +- ...edInclude1-module-type-NestedInclude2.html | 22 +- .../Ocamlary-module-type-NestedInclude1.html | 40 +- .../Ocamlary-module-type-NestedInclude2.html | 20 +- .../Ocamlary-module-type-RECOLLECTION.html | 28 +- ...tionModule-InnerModuleA-InnerModuleA'.html | 32 +- ...ModuleA-module-type-InnerModuleTypeA'.html | 36 +- ...-type-RecollectionModule-InnerModuleA.html | 110 +- ...amlary-module-type-RecollectionModule.html | 144 +- ...ype-SigForMod-Inner-module-type-Empty.html | 8 +- .../Ocamlary-module-type-SigForMod-Inner.html | 38 +- .../html/Ocamlary-module-type-SigForMod.html | 34 +- ...le-type-SuperSig-module-type-EmptySig.html | 20 +- ...-module-type-SuperSig-module-type-One.html | 18 +- ...perSig-module-type-SubSigA-SubSigAMod.html | 20 +- ...ule-type-SuperSig-module-type-SubSigA.html | 54 +- ...ule-type-SuperSig-module-type-SubSigB.html | 24 +- ...le-type-SuperSig-module-type-SuperSig.html | 8 +- .../html/Ocamlary-module-type-SuperSig.html | 154 +- ...mlary-module-type-ToInclude-IncludedA.html | 18 +- ...-type-ToInclude-module-type-IncludedB.html | 18 +- .../html/Ocamlary-module-type-ToInclude.html | 62 +- .../html/Ocamlary-module-type-TypeExt.html | 72 +- .../Ocamlary-module-type-TypeExtPruned.html | 62 +- .../html/Ocamlary-module-type-With1-M.html | 26 +- .../html/Ocamlary-module-type-With1.html | 50 +- .../html/Ocamlary-module-type-With11-N.html | 22 +- .../html/Ocamlary-module-type-With11.html | 50 +- .../html/Ocamlary-module-type-With8-M-N.html | 21 +- .../html/Ocamlary-module-type-With8-M.html | 69 +- .../html/Ocamlary-module-type-With8.html | 48 +- test/generators/html/Ocamlary.html | 5377 +++++++++-------- test/generators/html/Recent-X.html | 76 +- test/generators/html/Recent-Z-Y-X.html | 19 +- test/generators/html/Recent-Z-Y.html | 31 +- test/generators/html/Recent-Z.html | 32 +- .../html/Recent-module-type-PolyS.html | 42 +- .../generators/html/Recent-module-type-S.html | 8 +- .../Recent-module-type-S1-argument-1-_.html | 8 +- .../html/Recent-module-type-S1.html | 30 +- test/generators/html/Recent.html | 568 +- test/generators/html/Recent_impl-B.html | 34 +- test/generators/html/Recent_impl-Foo-A.html | 34 +- test/generators/html/Recent_impl-Foo-B.html | 34 +- test/generators/html/Recent_impl-Foo.html | 56 +- ...ent_impl-module-type-S-F-argument-1-_.html | 8 +- .../html/Recent_impl-module-type-S-F.html | 45 +- .../html/Recent_impl-module-type-S-X.html | 7 +- .../html/Recent_impl-module-type-S.html | 78 +- test/generators/html/Recent_impl.html | 106 +- test/generators/html/Section.html | 79 +- test/generators/html/Stop-N.html | 18 +- test/generators/html/Stop-O.html | 18 +- test/generators/html/Stop-P.html | 18 +- test/generators/html/Stop.html | 133 +- .../html/Stop_dead_link_doc-Foo.html | 18 +- test/generators/html/Stop_dead_link_doc.html | 352 +- test/generators/html/Stop_first_comment.html | 18 +- test/generators/html/Tag_link.html | 84 +- .../html/Toplevel_comments-Alias.html | 20 +- .../Toplevel_comments-Comments_on_open-M.html | 18 +- .../Toplevel_comments-Comments_on_open.html | 50 +- .../Toplevel_comments-Include_inline'.html | 22 +- .../Toplevel_comments-Include_inline.html | 20 +- .../html/Toplevel_comments-M''.html | 12 +- .../generators/html/Toplevel_comments-M'.html | 10 +- test/generators/html/Toplevel_comments-M.html | 10 +- .../Toplevel_comments-Ref_in_synopsis.html | 26 +- .../html/Toplevel_comments-class-c1.html | 12 +- .../html/Toplevel_comments-class-c2.html | 10 +- .../html/Toplevel_comments-class-type-ct.html | 12 +- ...omments-module-type-Include_inline_T'.html | 24 +- ...comments-module-type-Include_inline_T.html | 22 +- .../html/Toplevel_comments-module-type-T.html | 21 +- test/generators/html/Toplevel_comments.html | 391 +- test/generators/html/Type-module-type-X.html | 28 +- test/generators/html/Type.html | 1605 ++--- test/generators/html/Val.html | 49 +- test/generators/html/mld.html | 43 +- test/integration/html_opts.t/run.t | 8 +- test/sources/double_wrapped.t/run.t | 24 +- test/sources/functor.t/run.t | 48 +- test/sources/include_in_expansion.t/run.t | 18 +- test/sources/lookup_def_wrapped.t/run.t | 24 +- test/sources/recursive_module.t/run.t | 20 +- test/sources/single_mli.t/run.t | 12 +- test/sources/source.t/run.t | 204 +- test/xref2/canonical_hidden_module.t/run.t | 208 +- test/xref2/github_issue_342.t/run.t | 16 +- test/xref2/github_issue_447.t/run.t | 14 +- test/xref2/github_issue_857.t/run.t | 6 +- test/xref2/github_issue_932.t/run.t | 100 +- test/xref2/inherit_top_comment.t/run.t | 22 +- test/xref2/initially_open.t/run.t | 4 +- test/xref2/label_reference_text.t/run.t | 18 +- test/xref2/labels/labels.t/run.t | 95 +- test/xref2/module_preamble.t/run.t | 73 +- test/xref2/ocaml_stdlib.t/run.t | 2 +- 400 files changed, 13966 insertions(+), 13049 deletions(-) diff --git a/test/generators/html/Alerts-Top1.html b/test/generators/html/Alerts-Top1.html index 2cff2248c8..628e799d40 100644 --- a/test/generators/html/Alerts-Top1.html +++ b/test/generators/html/Alerts-Top1.html @@ -11,11 +11,13 @@ -
-

Module Alerts.Top1

Top-comment.

-
    -
  • deprecated A
  • -
-
+
+
+

Module Alerts.Top1

Top-comment.

+
    +
  • deprecated A
  • +
+
+
diff --git a/test/generators/html/Alerts-Top2.html b/test/generators/html/Alerts-Top2.html index bfda574990..d7934c5954 100644 --- a/test/generators/html/Alerts-Top2.html +++ b/test/generators/html/Alerts-Top2.html @@ -11,11 +11,13 @@ -
-

Module Alerts.Top2

Top-comment.

-
    -
  • deprecated A
  • -
-
+
+
+

Module Alerts.Top2

Top-comment.

+
    +
  • deprecated A
  • +
+
+
diff --git a/test/generators/html/Alerts.html b/test/generators/html/Alerts.html index d334ec9e68..8dbd744222 100644 --- a/test/generators/html/Alerts.html +++ b/test/generators/html/Alerts.html @@ -8,114 +8,117 @@ -
-

Module Alerts

-
-
-
-
- - val a : int +
+
+

Module Alerts

+
+
+
+
+ + val a : int +
+
+
    +
  • deprecated a
  • +
+
-
-
    -
  • deprecated a
  • -
+
+
+ + val b : int +
+
+
    +
  • deprecated +

    b.

    +
  • +
+
-
-
-
- - val b : int +
+
+ + val c : int +
+
+
    +
  • deprecated
  • +
+
-
-
    -
  • deprecated

    b.

    -
  • -
+
+
+ + + module + Top1 + + : sig ... + end + + +

Top-comment.

-
-
-
- - val c : int +
+
+ + + module + Top2 + + : sig ... + end + + +

Top-comment.

-
-
    -
  • deprecated
  • -
+
+
+ + val d : int +
+
+
    +
  • deprecated + A deprecated alert d +
  • +
+
-
-
-
- - - module - Top1 - - : sig ... - end - - -

Top-comment.

-
-
-
- - - module - Top2 - - : sig ... - end - - -

Top-comment.

-
-
-
- - val d : int -
-
-
    -
  • deprecated - A deprecated alert d -
  • -
+
+
+ + val d2 : int +
+
+
    +
  • deprecated
  • +
+
-
-
-
- - val d2 : int -
-
-
    -
  • deprecated
  • -
-
-
-
-
- - val e : int -
-
-
    -
  • alert e an alert
  • -
-
-
-
-
- - val f : int +
+
+ + val e : int +
+
+
    +
  • alert e an alert
  • +
+
-
-
    -
  • alert f
  • -
+
+
+ + val f : int +
+
+
    +
  • alert f
  • +
+
diff --git a/test/generators/html/Alias-X.html b/test/generators/html/Alias-X.html index 06a61a10bd..172806af32 100644 --- a/test/generators/html/Alias-X.html +++ b/test/generators/html/Alias-X.html @@ -11,21 +11,23 @@ -
-

Module Alias.X

-
-
-
-
- - type t - = int - -
-
-

Module Foo__X documentation. This should appear in the documentation - for the alias to this module 'X' -

+
+
+

Module Alias.X

+
+
+
+
+ + type t + = int + +
+
+

Module Foo__X documentation. This should appear in the documentation + for the alias to this module 'X' +

+
diff --git a/test/generators/html/Alias.html b/test/generators/html/Alias.html index c027fee7ac..de094b6418 100644 --- a/test/generators/html/Alias.html +++ b/test/generators/html/Alias.html @@ -8,20 +8,22 @@ -
-

Module Alias

-
-
-
-
- - - module X - - : sig ... - end - - +
+
+

Module Alias

+
+
+
+
+ + + module X + + : sig ... + end + + +
diff --git a/test/generators/html/Bugs.html b/test/generators/html/Bugs.html index 50e7220735..842be59d34 100644 --- a/test/generators/html/Bugs.html +++ b/test/generators/html/Bugs.html @@ -8,36 +8,40 @@ -
-

Module Bugs

-
-
-
-
- - type 'a opt - = 'a option - +
+
+

Module Bugs

+
+
+
+
+ + + type 'a opt + = 'a option + +
-
-
-
- - - val foo : - ?bar: - 'a -> - unit -> - unit - - -
-
-

Triggers an assertion failure when - - https://github.com/ocaml/odoc/issues/101 - is not fixed. -

+
+
+ + + val foo : + ?bar: + 'a + -> + unit -> + unit + + +
+
+

Triggers an assertion failure when + + https://github.com/ocaml/odoc/issues/101 + is not fixed. +

+
diff --git a/test/generators/html/Bugs_post_406-class-let_open'.html b/test/generators/html/Bugs_post_406-class-let_open'.html index 3617864a7e..10543f9eae 100644 --- a/test/generators/html/Bugs_post_406-class-let_open'.html +++ b/test/generators/html/Bugs_post_406-class-let_open'.html @@ -11,8 +11,10 @@ -
-

Class Bugs_post_406.let_open'

-
+
+
+

Class Bugs_post_406.let_open'

+
+
diff --git a/test/generators/html/Bugs_post_406-class-type-let_open.html b/test/generators/html/Bugs_post_406-class-type-let_open.html index b07bd10ee5..dcee44a6f1 100644 --- a/test/generators/html/Bugs_post_406-class-type-let_open.html +++ b/test/generators/html/Bugs_post_406-class-type-let_open.html @@ -11,8 +11,10 @@ -
-

Class type Bugs_post_406.let_open

-
+
+
+

Class type Bugs_post_406.let_open

+
+
diff --git a/test/generators/html/Bugs_post_406.html b/test/generators/html/Bugs_post_406.html index c1d806cfb6..786ddc9380 100644 --- a/test/generators/html/Bugs_post_406.html +++ b/test/generators/html/Bugs_post_406.html @@ -8,37 +8,40 @@ -
-

Module Bugs_post_406

-

Let-open in class types, https://github.com/ocaml/odoc/issues/543 - This was added to the language in 4.06 -

-
-
-
-
- - - class - type - - let_open - - = object ... - end - - +
+
+

Module Bugs_post_406

+

Let-open in class types, https://github.com/ocaml/odoc/issues/543 + This was added to the language in 4.06 +

+
+
+
+
+ + + class + type + + let_open + + = object ... + end + + +
-
-
-
- - class - let_open' - : object ... - end - - +
+
+ + class + let_open' + + : object ... + end + + +
diff --git a/test/generators/html/Bugs_pre_410.html b/test/generators/html/Bugs_pre_410.html index e0fb955358..51377da3ce 100644 --- a/test/generators/html/Bugs_pre_410.html +++ b/test/generators/html/Bugs_pre_410.html @@ -8,39 +8,43 @@ -
-

Module Bugs_pre_410

-
-
-
-
- - - type 'a opt' - = int option - +
+
+

Module Bugs_pre_410

+
+
+
+
+ + + type 'a opt' + = int option + +
-
-
-
- - - val foo' : - ?bar: - 'a -> - unit -> - unit - - -
-
-

Similar to Bugs, but the printed type of - ~bar should be int, not 'a - . This probably requires fixing in the compiler. See - - https://github.com/ocaml/odoc/pull/230#issuecomment-433226807 - . -

+
+
+ + + val foo' : + ?bar: + 'a + -> + unit -> + unit + + +
+
+

Similar to Bugs, but the printed type of + ~bar should be int, not 'a + . This probably requires fixing in the compiler. See + + https://github.com/ocaml/odoc/pull/230#issuecomment-433226807 + . +

+
diff --git a/test/generators/html/Class-class-empty_virtual'.html b/test/generators/html/Class-class-empty_virtual'.html index 6faa2bed1d..3f343181cc 100644 --- a/test/generators/html/Class-class-empty_virtual'.html +++ b/test/generators/html/Class-class-empty_virtual'.html @@ -11,8 +11,10 @@ -
-

Class Class.empty_virtual'

-
+
+
+

Class Class.empty_virtual'

+
+
diff --git a/test/generators/html/Class-class-mutually'.html b/test/generators/html/Class-class-mutually'.html index 359b7d2ea2..a2c3eaff2c 100644 --- a/test/generators/html/Class-class-mutually'.html +++ b/test/generators/html/Class-class-mutually'.html @@ -11,8 +11,10 @@ -
-

Class Class.mutually'

-
+
+
+

Class Class.mutually'

+
+
diff --git a/test/generators/html/Class-class-polymorphic'.html b/test/generators/html/Class-class-polymorphic'.html index b196cf73e0..6f7e2c2e73 100644 --- a/test/generators/html/Class-class-polymorphic'.html +++ b/test/generators/html/Class-class-polymorphic'.html @@ -11,8 +11,10 @@ -
-

Class Class.polymorphic'

-
+
+
+

Class Class.polymorphic'

+
+
diff --git a/test/generators/html/Class-class-recursive'.html b/test/generators/html/Class-class-recursive'.html index 02013341b8..0374d2a112 100644 --- a/test/generators/html/Class-class-recursive'.html +++ b/test/generators/html/Class-class-recursive'.html @@ -11,8 +11,10 @@ -
-

Class Class.recursive'

-
+
+
+

Class Class.recursive'

+
+
diff --git a/test/generators/html/Class-class-type-empty.html b/test/generators/html/Class-class-type-empty.html index c6d42f797d..bcfb78c0ed 100644 --- a/test/generators/html/Class-class-type-empty.html +++ b/test/generators/html/Class-class-type-empty.html @@ -11,8 +11,10 @@ -
-

Class type Class.empty

-
+
+
+

Class type Class.empty

+
+
diff --git a/test/generators/html/Class-class-type-empty_virtual.html b/test/generators/html/Class-class-type-empty_virtual.html index 63fbd3d616..94dbb75af7 100644 --- a/test/generators/html/Class-class-type-empty_virtual.html +++ b/test/generators/html/Class-class-type-empty_virtual.html @@ -11,8 +11,10 @@ -
-

Class type Class.empty_virtual

-
+
+
+

Class type Class.empty_virtual

+
+
diff --git a/test/generators/html/Class-class-type-mutually.html b/test/generators/html/Class-class-type-mutually.html index f48782c6cc..e9827ddfa2 100644 --- a/test/generators/html/Class-class-type-mutually.html +++ b/test/generators/html/Class-class-type-mutually.html @@ -11,8 +11,10 @@ -
-

Class type Class.mutually

-
+
+
+

Class type Class.mutually

+
+
diff --git a/test/generators/html/Class-class-type-polymorphic.html b/test/generators/html/Class-class-type-polymorphic.html index 9be32678bc..e0f22c4f92 100644 --- a/test/generators/html/Class-class-type-polymorphic.html +++ b/test/generators/html/Class-class-type-polymorphic.html @@ -11,8 +11,10 @@ -
-

Class type Class.polymorphic

-
+
+
+

Class type Class.polymorphic

+
+
diff --git a/test/generators/html/Class-class-type-recursive.html b/test/generators/html/Class-class-type-recursive.html index bf84495e85..ca03a2b52d 100644 --- a/test/generators/html/Class-class-type-recursive.html +++ b/test/generators/html/Class-class-type-recursive.html @@ -11,8 +11,10 @@ -
-

Class type Class.recursive

-
+
+
+

Class type Class.recursive

+
+
diff --git a/test/generators/html/Class.html b/test/generators/html/Class.html index 2101b65206..f69181cc0d 100644 --- a/test/generators/html/Class.html +++ b/test/generators/html/Class.html @@ -8,123 +8,126 @@ -
-

Module Class

-
-
-
-
- - - class - type - empty - = object ... - end - - +
+
+

Module Class

+
+
+
+
+ + + class + type + empty + = object ... + end + + +
-
-
-
- - - class - type - - mutually - = object ... - end - - +
+
+ + + class + type + + mutually + = object ... + end + + +
-
-
-
- - - class - type - - recursive - = object ... - end - - +
+
+ + + class + type + + recursive + = object ... + end + + +
-
-
-
- - class - mutually' - : mutually - +
+
+ + class + mutually' + : mutually + +
-
-
-
- - class - recursive' - : recursive - +
+
+ + class + recursive' + : recursive + + +
-
-
-
- - - class - type virtual - - - empty_virtual - - = object ... - end - - +
+
+ + + class + type + virtual + + empty_virtual + + = object ... + end + + +
-
-
-
- - - class - virtual - - empty_virtual' - : empty - +
+
+ + + class + virtual + + empty_virtual' + : empty + +
-
-
-
- - - class - type 'a - - polymorphic - - = object ... - end - - +
+
+ + + class + type 'a + + polymorphic + + = object ... + end + + +
-
-
-
- - class 'a - polymorphic' - : - 'a - polymorphic +
+
+ + class 'a + polymorphic' + : + 'a + polymorphic + - - + +
diff --git a/test/generators/html/Class_comments-class-c.html b/test/generators/html/Class_comments-class-c.html index 633b97cfae..817d01b812 100644 --- a/test/generators/html/Class_comments-class-c.html +++ b/test/generators/html/Class_comments-class-c.html @@ -11,32 +11,34 @@ -
-

Class Class_comments.c

-
-
-
-
- - inherit - x - - -

Inherit.

-
-
-
- - constraint - 'a = int - - -

Constraint.

-

Floating comment.

-
-
- - method bar : int +
+
+

Class Class_comments.c

+
+
+
+
+ + inherit + x + + +

Inherit.

+
+
+
+ + constraint + 'a = int + + +

Constraint.

+

Floating comment.

+
+
+ + method bar : int +
diff --git a/test/generators/html/Class_comments-class-x.html b/test/generators/html/Class_comments-class-x.html index 21bb040057..3e147c9b22 100644 --- a/test/generators/html/Class_comments-class-x.html +++ b/test/generators/html/Class_comments-class-x.html @@ -11,8 +11,10 @@ -
-

Class Class_comments.x

-
+
+
+

Class Class_comments.x

+
+
diff --git a/test/generators/html/Class_comments.html b/test/generators/html/Class_comments.html index f71a774558..45a7936e8e 100644 --- a/test/generators/html/Class_comments.html +++ b/test/generators/html/Class_comments.html @@ -8,30 +8,32 @@ -
-

Module Class_comments

-
-
-
-
- - class - x - : object ... - end - - +
+
+

Module Class_comments

+
+
+
+
+ + class + x + : object ... + end + + +
-
-
-
- - class 'a - c - : object ... - end - - +
+
+ + class 'a + c + : object ... + end + + +
diff --git a/test/generators/html/External.html b/test/generators/html/External.html index fc83891005..a96f604b9b 100644 --- a/test/generators/html/External.html +++ b/test/generators/html/External.html @@ -8,19 +8,21 @@ -
-

Module External

-
-
-
-
- - - val foo : - unit -> unit - - -

Foo bar.

+
+
+

Module External

+
+
+
+
+ + + val foo : + unit -> unit + + +

Foo bar.

+
diff --git a/test/generators/html/Functor-F1-argument-1-Arg.html b/test/generators/html/Functor-F1-argument-1-Arg.html index aaa4f4369d..ad4c63ef60 100644 --- a/test/generators/html/Functor-F1-argument-1-Arg.html +++ b/test/generators/html/Functor-F1-argument-1-Arg.html @@ -12,14 +12,16 @@ Functor » F1 » Arg -
-

Parameter F1.Arg

-
-
-
-
- - type t +
+
+

Parameter F1.Arg

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor-F1.html b/test/generators/html/Functor-F1.html index a29db91dc8..5ee996a7be 100644 --- a/test/generators/html/Functor-F1.html +++ b/test/generators/html/Functor-F1.html @@ -11,31 +11,33 @@ -
-

Module Functor.F1

-
-
-

Parameters -

-
-
- - module - Arg - : S - +
+
+

Module Functor.F1

+
+
+

Parameters +

+
+
+ + module + Arg + : S + +
-
-

Signature

-
-
- - type t +

Signature

+
+
+ + type t +
diff --git a/test/generators/html/Functor-F2-argument-1-Arg.html b/test/generators/html/Functor-F2-argument-1-Arg.html index e5baa4acf9..745856ed4d 100644 --- a/test/generators/html/Functor-F2-argument-1-Arg.html +++ b/test/generators/html/Functor-F2-argument-1-Arg.html @@ -12,14 +12,16 @@ Functor » F2 » Arg -
-

Parameter F2.Arg

-
-
-
-
- - type t +
+
+

Parameter F2.Arg

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor-F2.html b/test/generators/html/Functor-F2.html index 6727456270..93f6bd6df3 100644 --- a/test/generators/html/Functor-F2.html +++ b/test/generators/html/Functor-F2.html @@ -11,34 +11,36 @@ -
-

Module Functor.F2

-
-
-

Parameters -

-
-
- - module - Arg - : S - +
+
+

Module Functor.F2

+
+
+

Parameters +

+
+
+ + module + Arg + : S + +
-
-

Signature

-
-
- - type t - = Arg.t - - +

Signature

+
+
+ + type t + = Arg.t + + +
diff --git a/test/generators/html/Functor-F3-argument-1-Arg.html b/test/generators/html/Functor-F3-argument-1-Arg.html index 93c9069f81..83dc8f59c3 100644 --- a/test/generators/html/Functor-F3-argument-1-Arg.html +++ b/test/generators/html/Functor-F3-argument-1-Arg.html @@ -12,14 +12,16 @@ Functor » F3 » Arg -
-

Parameter F3.Arg

-
-
-
-
- - type t +
+
+

Parameter F3.Arg

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor-F3.html b/test/generators/html/Functor-F3.html index cbb122503d..bba803a71f 100644 --- a/test/generators/html/Functor-F3.html +++ b/test/generators/html/Functor-F3.html @@ -11,34 +11,36 @@ -
-

Module Functor.F3

-
-
-

Parameters -

-
-
- - module - Arg - : S - +
+
+

Module Functor.F3

+
+
+

Parameters +

+
+
+ + module + Arg + : S + +
-
-

Signature

-
-
- - type t - = Arg.t - - +

Signature

+
+
+ + type t + = Arg.t + + +
diff --git a/test/generators/html/Functor-F4-argument-1-Arg.html b/test/generators/html/Functor-F4-argument-1-Arg.html index 80ad6fbf7a..5d1e78346e 100644 --- a/test/generators/html/Functor-F4-argument-1-Arg.html +++ b/test/generators/html/Functor-F4-argument-1-Arg.html @@ -12,14 +12,16 @@ Functor » F4 » Arg -
-

Parameter F4.Arg

-
-
-
-
- - type t +
+
+

Parameter F4.Arg

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor-F4.html b/test/generators/html/Functor-F4.html index 14785500a6..c8c3e56add 100644 --- a/test/generators/html/Functor-F4.html +++ b/test/generators/html/Functor-F4.html @@ -11,31 +11,33 @@ -
-

Module Functor.F4

-
-
-

Parameters -

-
-
- - module - Arg - : S - +
+
+

Module Functor.F4

+
+
+

Parameters +

+
+
+ + module + Arg + : S + +
-
-

Signature

-
-
- - type t +

Signature

+
+
+ + type t +
diff --git a/test/generators/html/Functor-F5.html b/test/generators/html/Functor-F5.html index 9dc35c8cc8..796a74eb35 100644 --- a/test/generators/html/Functor-F5.html +++ b/test/generators/html/Functor-F5.html @@ -11,22 +11,24 @@ -
-

Module Functor.F5

-
-
-

Parameters -

-

Signature

-
-
- - type t +
+
+

Module Functor.F5

+
+
+

Parameters +

+

Signature

+
+
+ + type t +
diff --git a/test/generators/html/Functor-module-type-S.html b/test/generators/html/Functor-module-type-S.html index b22ac38752..7059367cbf 100644 --- a/test/generators/html/Functor-module-type-S.html +++ b/test/generators/html/Functor-module-type-S.html @@ -11,14 +11,16 @@ -
-

Module type Functor.S

-
-
-
-
- - type t +
+
+

Module type Functor.S

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor-module-type-S1-argument-1-_.html b/test/generators/html/Functor-module-type-S1-argument-1-_.html index 2ca011cc99..02f281c9d2 100644 --- a/test/generators/html/Functor-module-type-S1-argument-1-_.html +++ b/test/generators/html/Functor-module-type-S1-argument-1-_.html @@ -12,14 +12,16 @@ Functor » S1 » _ -
-

Parameter S1._

-
-
-
-
- - type t +
+
+

Parameter S1._

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor-module-type-S1.html b/test/generators/html/Functor-module-type-S1.html index 9226695794..b6f95204df 100644 --- a/test/generators/html/Functor-module-type-S1.html +++ b/test/generators/html/Functor-module-type-S1.html @@ -11,31 +11,33 @@ -
-

Module type Functor.S1

-
-
-

Parameters -

-
-
- - module - _ - : S - +
+
+

Module type Functor.S1

+
+
+

Parameters +

+
+
+ + module + _ + : S + +
-
-

Signature

-
-
- - type t +

Signature

+
+
+ + type t +
diff --git a/test/generators/html/Functor.html b/test/generators/html/Functor.html index 9f21dbc764..7439551bf1 100644 --- a/test/generators/html/Functor.html +++ b/test/generators/html/Functor.html @@ -8,110 +8,112 @@ -
-

Module Functor

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Functor

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - type - S1 - - = functor - (_ - : S) - -> - S - - +
+
+ + + module + type + S1 + + = functor + (_ + : S) + -> + S + + +
-
-
-
- - - module - F1 - - (Arg : - S) : - S - - +
+
+ + + module + F1 + + (Arg : + S) : + S + + +
-
-
-
- - - module - F2 - - (Arg : - S) : - S - with - type - t = - Arg.t +
+
+ + + module + F2 - - + (Arg : + S) : + S + with + type + t = + Arg.t + + + +
-
-
-
- - - module - F3 - - (Arg : - S) : - sig ... end - - +
+
+ + + module + F3 + + (Arg : + S) : + sig ... end + + +
-
-
-
- - - module - F4 - - (Arg : - S) : - S - - +
+
+ + + module + F4 + + (Arg : + S) : + S + + +
-
-
-
- - - module - F5 - () : S - +
+
+ + + module + F5 + () : S + +
diff --git a/test/generators/html/Functor2-X-argument-1-Y.html b/test/generators/html/Functor2-X-argument-1-Y.html index 6c81a5b031..a803334218 100644 --- a/test/generators/html/Functor2-X-argument-1-Y.html +++ b/test/generators/html/Functor2-X-argument-1-Y.html @@ -12,14 +12,16 @@ Functor2 » X » Y -
-

Parameter X.Y

-
-
-
-
- - type t +
+
+

Parameter X.Y

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor2-X-argument-2-Z.html b/test/generators/html/Functor2-X-argument-2-Z.html index fb38d8e976..b41a9c0732 100644 --- a/test/generators/html/Functor2-X-argument-2-Z.html +++ b/test/generators/html/Functor2-X-argument-2-Z.html @@ -12,14 +12,16 @@ Functor2 » X » Z -
-

Parameter X.Z

-
-
-
-
- - type t +
+
+

Parameter X.Z

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor2-X.html b/test/generators/html/Functor2-X.html index 633e92aa3e..2dbce1e6b3 100644 --- a/test/generators/html/Functor2-X.html +++ b/test/generators/html/Functor2-X.html @@ -11,58 +11,60 @@ -
-

Module Functor2.X

-
-
-

Parameters -

-
-
- - module - Y - : S - +
+
+

Module Functor2.X

+
+
+

Parameters +

+
+
+ + module + Y + : S + +
-
-
-
- - module - Z - : S - +
+
+ + module + Z + : S + +
-
-

Signature

-
-
- - type y_t - = Y.t - +

Signature

+
+
+ + type y_t + = Y.t + +
-
-
-
- - type z_t - = Z.t - +
+
+ + type z_t + = Z.t + +
-
-
-
- - type x_t - = y_t - +
+
+ + type x_t + = y_t + +
diff --git a/test/generators/html/Functor2-module-type-S.html b/test/generators/html/Functor2-module-type-S.html index d8ec583dc5..6607869319 100644 --- a/test/generators/html/Functor2-module-type-S.html +++ b/test/generators/html/Functor2-module-type-S.html @@ -11,14 +11,16 @@ -
-

Module type Functor2.S

-
-
-
-
- - type t +
+
+

Module type Functor2.S

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor2-module-type-XF-argument-1-Y.html b/test/generators/html/Functor2-module-type-XF-argument-1-Y.html index 780fe1dc55..beabc0adf0 100644 --- a/test/generators/html/Functor2-module-type-XF-argument-1-Y.html +++ b/test/generators/html/Functor2-module-type-XF-argument-1-Y.html @@ -12,14 +12,16 @@ – Functor2 » XF » Y -
-

Parameter XF.Y

-
-
-
-
- - type t +
+
+

Parameter XF.Y

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor2-module-type-XF-argument-2-Z.html b/test/generators/html/Functor2-module-type-XF-argument-2-Z.html index bf0305798d..1987f4c7f7 100644 --- a/test/generators/html/Functor2-module-type-XF-argument-2-Z.html +++ b/test/generators/html/Functor2-module-type-XF-argument-2-Z.html @@ -12,14 +12,16 @@ – Functor2 » XF » Z -
-

Parameter XF.Z

-
-
-
-
- - type t +
+
+

Parameter XF.Z

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor2-module-type-XF.html b/test/generators/html/Functor2-module-type-XF.html index 27f75d4593..5ae719fdea 100644 --- a/test/generators/html/Functor2-module-type-XF.html +++ b/test/generators/html/Functor2-module-type-XF.html @@ -11,62 +11,64 @@ -
-

Module type Functor2.XF

-
-
-

Parameters -

-
-
- - module - Y - : S - +
+
+

Module type Functor2.XF

+
+
+

Parameters +

+
+
+ + module + Y + : S + +
-
-
-
- - module - Z - : S - +
+
+ + module + Z + : S + +
-
-

Signature

-
-
- - type y_t - = - Y.t - - +

Signature

+
+
+ + type y_t + = + Y.t + + +
-
-
-
- - type z_t - = - Z.t - - +
+
+ + type z_t + = + Z.t + + +
-
-
-
- - type x_t - = y_t - +
+
+ + type x_t + = y_t + +
diff --git a/test/generators/html/Functor2.html b/test/generators/html/Functor2.html index 93eac48450..5f74e4d9e9 100644 --- a/test/generators/html/Functor2.html +++ b/test/generators/html/Functor2.html @@ -8,60 +8,62 @@ -
-

Module Functor2

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Functor2

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - X - - (Y : - S) ( - Z : - S) : - sig ... end - - +
+
+ + + module + X + + (Y : + S) ( + Z : + S) : + sig ... end + + +
-
-
-
- - - module - type - XF - - = functor - (Y - : S) - -> - functor - (Z - : S) - -> - sig ... - end - - +
+
+ + + module + type + XF + + = functor + (Y + : S) + -> + functor + (Z + : S) + -> + sig ... + end + + +
diff --git a/test/generators/html/Functor_ml-Bar.html b/test/generators/html/Functor_ml-Bar.html index 5f5f5f2568..db6b66a282 100644 --- a/test/generators/html/Functor_ml-Bar.html +++ b/test/generators/html/Functor_ml-Bar.html @@ -11,14 +11,16 @@ -
-

Module Functor_ml.Bar

-
-
-
-
- - type t +
+
+

Module Functor_ml.Bar

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Functor_ml-Foo'-argument-1-X.html b/test/generators/html/Functor_ml-Foo'-argument-1-X.html index e7925b529a..d519bdd663 100644 --- a/test/generators/html/Functor_ml-Foo'-argument-1-X.html +++ b/test/generators/html/Functor_ml-Foo'-argument-1-X.html @@ -12,14 +12,16 @@ Functor_ml » Foo' » X -
-

Parameter Foo'.X

-
-
-
-
- - val foo : int +
+
+

Parameter Foo'.X

+
+
+
+
+ + val foo : int +
diff --git a/test/generators/html/Functor_ml-Foo'.html b/test/generators/html/Functor_ml-Foo'.html index 159f47f352..4fa3e691e1 100644 --- a/test/generators/html/Functor_ml-Foo'.html +++ b/test/generators/html/Functor_ml-Foo'.html @@ -11,35 +11,37 @@ -
-

Module Functor_ml.Foo'

-
-
-

Parameters -

-
-
- - module - X - : sig ... - end - - +
+
+

Module Functor_ml.Foo'

+
+
+

Parameters +

+
+
+ + module + X + : sig ... + end + + +
-
-

Signature

-
-
- - type t - = Bar.t - +

Signature

+
+
+ + type t + = Bar.t + +
diff --git a/test/generators/html/Functor_ml.html b/test/generators/html/Functor_ml.html index 4edddf4a9b..6eabcffc84 100644 --- a/test/generators/html/Functor_ml.html +++ b/test/generators/html/Functor_ml.html @@ -8,49 +8,51 @@ -
-

Module Functor_ml

-
-
-
-
- - module Foo - (X : - sig ... end - ) : module - type of - Stdlib.String - - +
+
+

Module Functor_ml

+
+
+
+
+ + module Foo + (X : + sig ... end + ) : module + type of + Stdlib.String + + +
-
-
-
- - - module - Bar - - : sig ... - end - - +
+
+ + + module + Bar + + : sig ... + end + + +
-
-
-
- - - module - Foo' - - (X : - sig ... end - ) : sig ... - end - - +
+
+ + + module + Foo' + + (X : + sig ... end + ) : sig ... + end + + +
diff --git a/test/generators/html/Include-module-type-Dorminant_Module.html b/test/generators/html/Include-module-type-Dorminant_Module.html index 4e9766f968..686ba643c6 100644 --- a/test/generators/html/Include-module-type-Dorminant_Module.html +++ b/test/generators/html/Include-module-type-Dorminant_Module.html @@ -11,30 +11,32 @@ -
-

Module type Include.Dorminant_Module

-
-
-
-
- +
+
+

Module type Include.Dorminant_Module

+
+
+
+
+ + + include + Inherent_Module + + + + +
+
+
+
+ - include - Inherent_Module - + val a : + u -
-
-
-
-
- - - val a : - u - - +
diff --git a/test/generators/html/Include-module-type-Inherent_Module.html b/test/generators/html/Include-module-type-Inherent_Module.html index 1cce2178a3..4a8e00ccec 100644 --- a/test/generators/html/Include-module-type-Inherent_Module.html +++ b/test/generators/html/Include-module-type-Inherent_Module.html @@ -11,18 +11,20 @@ -
-

Module type Include.Inherent_Module

-
-
-
-
- - - val a : - t - - +
+
+

Module type Include.Inherent_Module

+
+
+
+
+ + + val a : + t + + +
diff --git a/test/generators/html/Include-module-type-Inlined.html b/test/generators/html/Include-module-type-Inlined.html index ce89e9e074..e3463aa2b4 100644 --- a/test/generators/html/Include-module-type-Inlined.html +++ b/test/generators/html/Include-module-type-Inlined.html @@ -11,14 +11,16 @@ -
-

Module type Include.Inlined

-
-
-
-
- - type u +
+
+

Module type Include.Inlined

+
+
+
+
+ + type u +
diff --git a/test/generators/html/Include-module-type-Not_inlined.html b/test/generators/html/Include-module-type-Not_inlined.html index dcdc5d0974..803e8a906b 100644 --- a/test/generators/html/Include-module-type-Not_inlined.html +++ b/test/generators/html/Include-module-type-Not_inlined.html @@ -11,14 +11,16 @@ -
-

Module type Include.Not_inlined

-
-
-
-
- - type t +
+
+

Module type Include.Not_inlined

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Include-module-type-Not_inlined_and_closed.html b/test/generators/html/Include-module-type-Not_inlined_and_closed.html index 231ad1630a..7d22f44d2c 100644 --- a/test/generators/html/Include-module-type-Not_inlined_and_closed.html +++ b/test/generators/html/Include-module-type-Not_inlined_and_closed.html @@ -11,15 +11,17 @@ -
-

Module type Include.Not_inlined_and_closed -

-
-
-
-
- - type v +
+
+

Module type Include.Not_inlined_and_closed +

+
+
+
+
+ + type v +
diff --git a/test/generators/html/Include-module-type-Not_inlined_and_opened.html b/test/generators/html/Include-module-type-Not_inlined_and_opened.html index 78f934331d..a13f97f02e 100644 --- a/test/generators/html/Include-module-type-Not_inlined_and_opened.html +++ b/test/generators/html/Include-module-type-Not_inlined_and_opened.html @@ -11,15 +11,17 @@ -
-

Module type Include.Not_inlined_and_opened -

-
-
-
-
- - type w +
+
+

Module type Include.Not_inlined_and_opened +

+
+
+
+
+ + type w +
diff --git a/test/generators/html/Include.html b/test/generators/html/Include.html index 8a31609048..339e61dcc4 100644 --- a/test/generators/html/Include.html +++ b/test/generators/html/Include.html @@ -8,206 +8,209 @@ -
-

Module Include

-
-
-
-
- - - module - type - Not_inlined - - = sig ... - end - - -
-
-
-
- +
+
+

Module Include

+
+
+
+
+ - include + module + type Not_inlined + = sig ... + end + -
-
-
- - type t -
-
-
-
-
- - - module - type - Inlined - - = sig ... - end - -
-
-
-
- - type u +
+
+ + + include + Not_inlined + + + +
+
+ + type t +
+
+
-
-
-
- - - module - type - - Not_inlined_and_closed - - - = sig ... - end - - +
+
+ + + module + type + Inlined + + = sig ... + end + + +
-
-
-
- +
+
+ + type u +
+
+
+
+ - include + module + type Not_inlined_and_closed + = sig ... + end + -
-
-
- - type v -
-
-
-
-
- - - module - type - - Not_inlined_and_opened - - - = sig ... - end - -
-
-
-
- +
+
+ + + include + + Not_inlined_and_closed + + + + +
+
+ + type v +
+
+
+
+
+
+ - include + module + type Not_inlined_and_opened + = sig ... + end + -
-
-
- - type w -
-
-
-
-
- - - module - type - Inherent_Module - - = sig ... - end - -
-
-
-
- +
+
+ + + include + + Not_inlined_and_opened + + + + +
+
+ + type w +
+
+
+
+
+
+ - include + module + type Inherent_Module + = sig ... + end + -
-
-
-
-
- - - module - type - Dorminant_Module - - - = sig ... - end - - +
-
-
-
- +
+
+ + + include + Inherent_Module + + + + +
+
+
+
+ - include + module + type Dorminant_Module + = sig ... + end + -
-
-
- - - include - Inherent_Module - - - - -
-
-
- +
+
+
+ - val a : u + include + Dorminant_Module + + +
+
+ + + include + Inherent_Module + + + + +
-
-
+
+
+ + + val a : u + + +
+
+ +
diff --git a/test/generators/html/Include2-X.html b/test/generators/html/Include2-X.html index 85e215134c..46040a508f 100644 --- a/test/generators/html/Include2-X.html +++ b/test/generators/html/Include2-X.html @@ -11,17 +11,19 @@ -
-

Module Include2.X

-

Comment about X that should not appear when including X below.

-
-
-
-
- - type t - = int - +
+
+

Module Include2.X

+

Comment about X that should not appear when including X below.

+
+
+
+
+ + type t + = int + +
diff --git a/test/generators/html/Include2-Y.html b/test/generators/html/Include2-Y.html index c1023f1da9..edb9951df2 100644 --- a/test/generators/html/Include2-Y.html +++ b/test/generators/html/Include2-Y.html @@ -11,15 +11,17 @@ -
-

Module Include2.Y

-

Top-comment of Y.

-
-
-
-
- - type t +
+
+

Module Include2.Y

+

Top-comment of Y.

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Include2-Y_include_doc.html b/test/generators/html/Include2-Y_include_doc.html index 3988c2444a..c8d7711fa1 100644 --- a/test/generators/html/Include2-Y_include_doc.html +++ b/test/generators/html/Include2-Y_include_doc.html @@ -11,36 +11,39 @@ -
-

Module Include2.Y_include_doc

-
-
-
-
-

Doc attached to include Y. Y's top-comment - shouldn't appear here. -

-
-
- - - include - module type - of struct +
+
+

Module Include2.Y_include_doc

+
+
+
+
+

Doc attached to include Y. Y's top-comment + shouldn't appear here. +

+
+
+ + + include + module + type of + struct include Y - end - - - -
-
- - type t - = Y.t + end + +
+
+
+ + type t + = Y.t + +
-
- + +
diff --git a/test/generators/html/Include2-Y_include_synopsis.html b/test/generators/html/Include2-Y_include_synopsis.html index 9cca26e019..5a7bf2670e 100644 --- a/test/generators/html/Include2-Y_include_synopsis.html +++ b/test/generators/html/Include2-Y_include_synopsis.html @@ -11,34 +11,37 @@ -
-

Module Include2.Y_include_synopsis

-

The include Y below should have the synopsis from - Y's top-comment attached to it. -

-
-
-
-
- - - include - module type - of struct +
+
+

Module Include2.Y_include_synopsis

+

The include Y below should have the synopsis from + Y's top-comment attached to it. +

+
+
+
+
+ + + include + module + type of + struct include Y - end - - - -
-
- - type t - = Y.t + end + +
+
+
+ + type t + = Y.t + +
-
- + +
diff --git a/test/generators/html/Include2.html b/test/generators/html/Include2.html index 89c41d0344..7e6c8aecdb 100644 --- a/test/generators/html/Include2.html +++ b/test/generators/html/Include2.html @@ -8,91 +8,94 @@ -
-

Module Include2

-
-
-
-
- - - module - X - - : sig ... - end - - -
-
-

Comment about X that should not appear when including X below.

-
-
-
-
- +
+
+

Module Include2

+
+
+
+
+ - include - module type - of struct - include X - end + module + X + + : sig ... + end -
-

Comment about X that should not appear when including X below.

-
-
- - type t - = int +
+
+

Comment about X that should not appear when including X below.

+
+
+
+
+ + + include + module + type of + struct + include X + end + + +

Comment about X that should not appear when including X below.

+
+
+ + type t + = int + +
-
-
-
-
-
- - - module - Y - - : sig ... - end - - -

Top-comment of Y.

-
-
-
- - - module - Y_include_synopsis - - : sig ... - end - - +
-
-

The include Y below should have the synopsis from - Y's top-comment attached to it. -

+
+
+ + + module + Y + + : sig ... + end + + +

Top-comment of Y.

-
-
-
- - - module - Y_include_doc - - : sig ... - end - - +
+
+ + + module + Y_include_synopsis + + : sig ... + end + + +
+
+

The include Y below should have the synopsis from + Y's top-comment attached to it. +

+
+
+
+
+ + + module + Y_include_doc + + : sig ... + end + + +
diff --git a/test/generators/html/Include_sections-module-type-Something.html b/test/generators/html/Include_sections-module-type-Something.html index 1fd37a6eb6..1a34e1edca 100644 --- a/test/generators/html/Include_sections-module-type-Something.html +++ b/test/generators/html/Include_sections-module-type-Something.html @@ -11,10 +11,6 @@ -
-

Module type Include_sections.Something

-

A module type.

-
-
-
-
- - val something : unit - +
+
+

Module type Include_sections.Something

+

A module type.

+
+
+
+
+ + val something : unit + +
-
-

Something 1 -

foo

-
-
- - val foo : unit +

Something + 1 +

foo

+
+
+ + val foo : unit +
+

Something + 2 +

+
+
+ + val bar : unit +

foo bar

+
+

+ Something 1-bis +

Some text.

-

Something 2 -

-
-
- - val bar : unit -

foo bar

-
-

- Something 1-bis -

Some text.

diff --git a/test/generators/html/Include_sections.html b/test/generators/html/Include_sections.html index 8abc3247fb..c6d8ed2086 100644 --- a/test/generators/html/Include_sections.html +++ b/test/generators/html/Include_sections.html @@ -8,9 +8,6 @@ -
-

Module Include_sections

-
-
-
-
- - - module - type - Something - - = sig ... - end - - -

A module type.

-
-

Let's include - - Something - once -

-

Something 1 -

foo

-

Something 2 -

-

- Something 1-bis -

Some text.

-

- Second include -

-

Let's include - - Something - a second time: the heading level should be shift here. -

-

- Something 1 -

foo

-

- Something 2 -

-

- Something 1-bis -

Some text.

-

- Third include -

Shifted some more.

-

- Something 1 -

foo

-
- Something 2 -
-

- Something 1-bis -

Some text.

-

And let's include it again, but without inlining it this time: - the ToC shouldn't grow. -

-
-
- +
+
+

Module Include_sections

+
+
+
+
+ - include + module + type Something + = sig ... + end + -
-
-
- - val something : unit +

A module type.

+
+

Let's include + + Something + once +

+

Something + 1 +

foo

+

Something + 2 +

+

+ Something 1-bis +

Some text.

+

+ Second include +

+

Let's include + + Something + a second time: the heading level should be shift here. +

+

+ Something 1 +

foo

+

+ Something 2 +

+

+ Something 1-bis +

Some text.

+

+ Third include +

Shifted some more.

+

+ Something 1 +

foo

+
+ Something 2 +
+

+ Something 1-bis +

Some text.

+

And let's include it again, but without inlining it this time: + the ToC shouldn't grow. +

+
+
+ + + include + Something + + +
+
+ + val something : unit + +
+
+

+ Something 1 +

foo

+
+
+ + val foo : unit +
-
-

- Something 1 -

foo

-
-
- - val foo : unit +

+ Something 2 +

+
+
+ + val bar : unit +

foo bar

-
-

- Something 2 -

-
-
- - val bar : unit -

foo bar

-
-

- Something 1-bis -

Some text.

-
+

+ Something 1-bis +

Some text.

+ +
diff --git a/test/generators/html/Interlude.html b/test/generators/html/Interlude.html index 5a2a22a7a8..54142023cf 100644 --- a/test/generators/html/Interlude.html +++ b/test/generators/html/Interlude.html @@ -8,47 +8,49 @@ -
-

Module Interlude

-

This is the comment associated to the module.

-
-
-

Some separate stray text at the top of the module.

-
-
- - val foo : unit -

Foo.

-
-

Some stray text that is not associated with any signature item.

-

It has multiple paragraphs.

-

A separate block of stray text, adjacent to the preceding one.

-
-
- - val bar : unit -

Bar.

-
-
-
- - val multiple : unit - +
+
+

Module Interlude

+

This is the comment associated to the module.

+
+
+

Some separate stray text at the top of the module.

+
+
+ + val foo : unit +

Foo.

-
-
-
- - val signature : unit - +

Some stray text that is not associated with any signature item.

+

It has multiple paragraphs.

+

A separate block of stray text, adjacent to the preceding one.

+
+
+ + val bar : unit +

Bar.

-
-
-
- - val items : unit +
+
+ + val multiple : unit + +
+
+
+
+ + val signature : unit + +
-

Stray text at the bottom of the module.

+
+
+ + val items : unit +
+

Stray text at the bottom of the module.

+
diff --git a/test/generators/html/Labels-A.html b/test/generators/html/Labels-A.html index 3221eca408..87780adb24 100644 --- a/test/generators/html/Labels-A.html +++ b/test/generators/html/Labels-A.html @@ -11,14 +11,16 @@ -
-

Module Labels.A

-
-
-

Attached to module

+
+
+

Module Labels.A

+
+
+

Attached to module

+
diff --git a/test/generators/html/Labels-class-c.html b/test/generators/html/Labels-class-c.html index 345c1bcd40..6c80403572 100644 --- a/test/generators/html/Labels-class-c.html +++ b/test/generators/html/Labels-class-c.html @@ -11,13 +11,15 @@ -
-

Class Labels.c

-
-
-

Attached to class

+
+
+

Class Labels.c

+
+
+

Attached to class

+
diff --git a/test/generators/html/Labels-class-type-cs.html b/test/generators/html/Labels-class-type-cs.html index c9dba76adb..65a7867952 100644 --- a/test/generators/html/Labels-class-type-cs.html +++ b/test/generators/html/Labels-class-type-cs.html @@ -11,14 +11,16 @@ -
-

Class type Labels.cs

-
-
-

Attached to class type

+
+
+

Class type Labels.cs

+
+
+

Attached to class type

+
diff --git a/test/generators/html/Labels-module-type-S.html b/test/generators/html/Labels-module-type-S.html index 6a6b29b4cb..21eac45374 100644 --- a/test/generators/html/Labels-module-type-S.html +++ b/test/generators/html/Labels-module-type-S.html @@ -11,14 +11,16 @@ -
-

Module type Labels.S

-
-
-

Attached to module type

+
+
+

Module type Labels.S

+
+
+

Attached to module type

+
diff --git a/test/generators/html/Labels.html b/test/generators/html/Labels.html index e5375fb264..10814f5041 100644 --- a/test/generators/html/Labels.html +++ b/test/generators/html/Labels.html @@ -8,192 +8,195 @@ -
-

Module Labels

-
-
-

Attached to unit

-

Attached to nothing

-
-
- - - module A - - : sig ... - end - - +
+
+

Module Labels

+
+
+

Attached to unit

+

Attached to nothing

+
+
+ + + module + A + + : sig ... + end + + +
-
-
-
- - type t -

Attached to type

-
-
-
- - - val f : t - - -

Attached to value

-
-
-
- - - val e : - unit -> - t - - -

Attached to external

-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+ + type t +

Attached to type

-
-
-
- - class - c - : object ... - end - - +
+
+ + + val f : t + + +

Attached to value

-
-
-
- - - class - type - cs - = object ... - end - - +
+
+ + + val e : + unit -> + t + + +

Attached to external

-
-
-
- - exception - E - -

Attached to exception

-
-
-
- - type x = - .. - +
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - type x += - - -
    -
  1. - - | X - -
  2. -
-

Attached to extension

-
-
-
- - - module S := - A - - -

Attached to module subst

-
-
-
- - type s - := t - -

Attached to type subst

-
-
-
- - type u = - -
    -
  1. - - | A' - -
    (* -

    Attached to constructor

    *) -
    -
  2. -
+
+
+ + class + c + : object ... + end + + +
-
-
-
- - type v = - { - -
    -
  1. - - f : t; -
    (* -

    Attached to field

    *) -
    -
  2. -
} +
+
+ + + class + type + cs + = object ... + end + + +
-

Testing that labels can be referenced

- +
+
+ + exception + E + +

Attached to exception

+
+
+
+ + type x = + .. + +
+
+
+
+ + + type x += + + +
    +
  1. + + | X + +
  2. +
+

Attached to extension

+
+
+
+ + + module S := + A + + +

Attached to module subst

+
+
+
+ + type s + := t + +

Attached to type subst

+
+
+
+ + type u = + +
    +
  1. + + | A' + +
    (* +

    Attached to constructor

    *) +
    +
  2. +
+
+
+
+
+ + type v = + { + +
    +
  1. + + f : t; +
    (* +

    Attached to field

    *) +
    +
  2. +
} +
+

Testing that labels can be referenced

+ +
diff --git a/test/generators/html/Markup-X.html b/test/generators/html/Markup-X.html index 6c8a405a8f..b6cf934acc 100644 --- a/test/generators/html/Markup-X.html +++ b/test/generators/html/Markup-X.html @@ -11,8 +11,10 @@ -
-

Module Markup.X

-
+
+
+

Module Markup.X

+
+
diff --git a/test/generators/html/Markup-Y.html b/test/generators/html/Markup-Y.html index 7b9cb0c9a8..deb6739e0b 100644 --- a/test/generators/html/Markup-Y.html +++ b/test/generators/html/Markup-Y.html @@ -11,8 +11,10 @@ -
-

Module Markup.Y

-
+
+
+

Module Markup.Y

+
+
diff --git a/test/generators/html/Markup.html b/test/generators/html/Markup.html index 5b71cd28ce..8a45dd3836 100644 --- a/test/generators/html/Markup.html +++ b/test/generators/html/Markup.html @@ -30,10 +30,6 @@ -
-

Module Markup

-

Here, we test the rendering of comment markup.

-
-
-

Sections

-

Let's get these done first, because sections will be used to break - up the rest of this test. -

Besides the section heading above, there are also

-

- Subsection headings -

and

-

- Sub-subsection - headings -

-

but odoc has banned deeper headings. There are also title headings, - but they are only allowed in mld files. -

Anchors

-

Sections can have attached - Anchors, and it is possible - to link to them. Links to - section headers should not be set in source code style. -

-
Paragraph
-

Individual paragraphs can have a heading.

-
- Subparagraph -
-

Parts of a longer paragraph that can be considered alone can also - have headings. -

Styling

-

This paragraph has some styled elements: bold and italic - , bold italic, emphasis, - emphasis within emphasis, - bold italic, superscript, subscript - . The line spacing should be enough for superscripts and subscripts - not to look odd. -

-

Note: - In italics emphasis is rendered as normal text while - emphasis in emphasis is rendered in - italics. - - It also work the same in - links in italics with - emphasis in emphasis. - - -

-

code is a different kind of markup that doesn't allow - nested markup. -

-

It's possible for two markup elements to appear next to - each other and have a space, and appear nextto each - other with no space. It doesn't matter how much space - it was in the source: in this sentence, it was two space characters. - And in this one, there is a newline. -

-

This is also true between non-code markup - and code. -

-

Code can appear inside other markup. Its display - shouldn't be affected. -

-

There is no differences between a b and a b. -

-

Consecutive whitespaces not after a newline are conserved as they - are: a b. -

- -

This is a link. It sends you to the top of this - page. Links can have markup inside them: bold - , italics, emphasis - , superscript, - subscript, and - code. Links can also be nested - inside markup. Links cannot be nested inside - each other. This link has no replacement text: # - . The text is filled in by odoc. This is a shorthand link: - #. The text is also filled in by odoc in this case. -

-

This is a reference to foo. - References can have replacement text: - the value foo. Except for the - special lookup support, references are pretty much just like links. - The replacement text can have nested styles: - bold, - italic, - emphasis, - superscript, - subscript, and - code. It's also possible - to surround a reference in a style: - foo. References can't - be nested inside references, and links and references can't be nested - inside each other. -

-

- Preformatted text -

This is a code block:

-
-    
-     let foo = ()
-     (** There are some nested comments in here, but an unpaired comment
-         terminator would terminate the whole doc surrounding comment. It's
-         best to keep code blocks no wider than 72 characters. *)
-     
-     let bar =
-       ignore foo
-    
-   

There are also verbatim blocks:

-
The main difference is these don't get syntax highlighting.
-

Lists

-
  • This is a
  • shorthand bulleted list,
  • -
  • and the paragraphs in each list item support styling.
  • -
  1. This is a
  2. shorthand numbered list.
-
    -
  • Shorthand list items can span multiple lines, however trying - to put two paragraphs into a shorthand list item using a double - line break -
  • -

just creates a paragraph outside the list.

-
  • Similarly, inserting a blank line between two list items
-
  • creates two separate lists.
-
    -
  • To get around this limitation, one

    -

    can use explicitly-delimited lists.

    -
  • This one is bulleted,
  • -
  1. but there is also the numbered variant.
-
    -
  • -
    • lists
    • can be nested
    • -
    • and can include references
    • -
    • foo
    • -
    -
  • -

Unicode

-

The parser supports any ASCII-compatible encoding, in particuλar - UTF-8. -

Raw HTML

-

Raw HTML can be as inline - elements into sentences. -

- +
+
+

Module Markup

+

Here, we test the rendering of comment markup.

+
+
+

Sections

+

Let's get these done first, because sections will be used to break + up the rest of this test. +

Besides the section heading above, there are also

+

+ Subsection headings +

and

+

+ Sub-subsection + headings +

+

but odoc has banned deeper headings. There are also title headings, + but they are only allowed in mld files. +

Anchors

+

Sections can have attached + Anchors, and it is possible + to link to them. Links to + section headers should not be set in source code style. +

+
Paragraph
+

Individual paragraphs can have a heading.

+
+ Subparagraph +
+

Parts of a longer paragraph that can be considered alone can also + have headings. +

Styling

+

This paragraph has some styled elements: bold and italic + , bold italic, emphasis, + emphasis within emphasis, + bold italic, superscript, subscript + . The line spacing should be enough for superscripts and subscripts + not to look odd. +

+

Note: + In italics emphasis is rendered as normal text while + emphasis in emphasis is rendered + in italics. + + It also work the same in + links in italics with + emphasis in emphasis. + + +

+

code is a different kind of markup that doesn't allow + nested markup. +

+

It's possible for two markup elements to appear next to + each other and have a space, and appear nextto each + other with no space. It doesn't matter how much space + it was in the source: in this sentence, it was two space characters. + And in this one, there is a newline. +

+

This is also true between non-code markup + and code. +

+

Code can appear inside other markup. Its display + shouldn't be affected. +

+

There is no differences between a b and a b. +

+

Consecutive whitespaces not after a newline are conserved as they + are: a b. +

+ +

This is a link. It sends you to the top of this + page. Links can have markup inside them: bold + , italics, emphasis + , superscript, + subscript, and + code. Links can also be nested + inside markup. Links cannot be nested inside + each other. This link has no replacement text: # + . The text is filled in by odoc. This is a shorthand link: + #. The text is also filled in by odoc in this case. +

+

This is a reference to foo + . References can have replacement text: + the value foo. Except for the + special lookup support, references are pretty much just like links. + The replacement text can have nested styles: + bold, + italic, + emphasis, + superscript, + subscript, and + code. It's also + possible to surround a reference in a style: + foo. References can't + be nested inside references, and links and references can't be + nested inside each other. +

+

+ Preformatted text +

This is a code block:

+
+     
+      let foo = ()
+      (** There are some nested comments in here, but an unpaired comment
+          terminator would terminate the whole doc surrounding comment. It's
+          best to keep code blocks no wider than 72 characters. *)
+      
+      let bar =
+        ignore foo
+     
+    

There are also verbatim blocks:

+
The main difference is these don't get syntax highlighting.
+

Lists

+
  • This is a
  • shorthand bulleted list,
  • +
  • and the paragraphs in each list item support styling.
  • +
  1. This is a
  2. shorthand numbered list.
+
    +
  • Shorthand list items can span multiple lines, however trying + to put two paragraphs into a shorthand list item using a double + line break +
  • +

just creates a paragraph outside the list.

+
  • Similarly, inserting a blank line between two list items
  • +
  • creates two separate lists.
+
    +
  • To get around this limitation, one

    +

    can use explicitly-delimited lists.

    +
  • This one is bulleted,
  • +
  1. but there is also the numbered variant.
+
    +
  • +
    • lists
    • can be nested
    • +
    • and can include references
    • +
    • foo
    • +
    +
  • +

Unicode

+

The parser supports any ASCII-compatible encoding, in particuλar + UTF-8. +

+

Raw HTML

+

Raw HTML can be as + inline elements into sentences. +

+
If the raw HTML is the only thing in a paragraph, it is treated as a block element, and won't be wrapped in paragraph tags by the HTML generator.
-

Math

-

Math elements can be inline: - \int_{-\infty}^\infty, or blocks: -

-
-
-         % \f is defined as #1f(#2) using the macro
-         \newcommand{\f}[2]{#1f(#2)}
-         \f\relax{x} = \int_{-\infty}^\infty
-         \f\hat\xi\,e^{2 \pi i \xi x}
-         \,d\xi
-         
-    
-

Modules

- -

Tables

- - - - - - - - - -

Left

Center

Right

Default

A

B

C

D

- - - - - - - - - - - - - - - -

Left

Center

Right

Default

A

B

C

D

-

A much longer paragraph which will need to be wrapped and more - content and more content and some different content and we will - see what is does if we can see it -

-
-

B much longer paragraph which will need to be wrapped and more - content and more content and some different content and we will - see what is does if we can see it -

-
-

C much longer paragraph which will need to be wrapped and more - content and more content and some different content and we will - see what is does if we can see it -

-
-

D much longer paragraph which will need to be wrapped and more - content and more content and some different content and we will - see what is does if we can see it +

Math

+

Math elements can be inline: + \int_{-\infty}^\infty, or blocks: +

+
+
+          % \f is defined as #1f(#2) using the macro
+          \newcommand{\f}[2]{#1f(#2)}
+          \f\relax{x} = \int_{-\infty}^\infty
+          \f\hat\xi\,e^{2 \pi i \xi x}
+          \,d\xi
+          
+     
+

Modules

+ +

Tables

+ + + + + + + + + +

Left

Center

Right

Default

A

B

C

D

+ + + + + + + + + + + + + + + +

Left

Center

Right

Default

A

B

C

D

+

A much longer paragraph which will need to be wrapped and more + content and more content and some different content and we will + see what is does if we can see it +

+
+

B much longer paragraph which will need to be wrapped and more + content and more content and some different content and we will + see what is does if we can see it +

+
+

C much longer paragraph which will need to be wrapped and more + content and more content and some different content and we will + see what is does if we can see it +

+
+

D much longer paragraph which will need to be wrapped and more + content and more content and some different content and we will + see what is does if we can see it +

+
+ + + +

No

Header

A

B

+ + + +

Header 1

Header 2

Data 1

Data 2

+ + + +

Header 1

Data 1

Header 2

Data 2

Tags

+

Each comment can end with zero or more tags. Here are some examples: +

+
    +
  • author antron
  • +
+
    +
  • deprecated +

    a long time ago

    +
  • +
+
    +
  • parameter + foo

    unused

    +
  • +
+
    +
  • raises + Failure

    always

    +
  • +
+
    +
  • returns

    never

    +
  • +
+
    +
  • see + #

    this url

    +
  • +
+
    +
  • see + foo.ml

    this file

    +
  • +
+
    +
  • see + Foo

    this document

    +
  • +
+
    +
  • since 0
  • +
+
    +
  • before + 1.0 +

    it was in beta

    +
  • +
+
    +
  • version -1
  • +
+
+
+ + val foo : unit +
+
+

Comments in structure items support markup, + too.

-
- - - -

No

Header

A

B

- - - -

Header 1

Header 2

Data 1

Data 2

- - - -

Header 1

Data 1

Header 2

Data 2

Tags

-

Each comment can end with zero or more tags. Here are some examples: -

-
    -
  • author antron
  • -
-
    -
  • deprecated -

    a long time ago

    -
  • -
-
    -
  • parameter - foo

    unused

    -
  • -
-
    -
  • raises - Failure

    always

    -
  • -
-
    -
  • returns

    never

  • -
-
    -
  • see - #

    this url

    -
  • -
-
    -
  • see - foo.ml

    this file

    -
  • -
-
    -
  • see - Foo

    this document

    -
  • -
-
    -
  • since 0
  • -
-
    -
  • before - 1.0 -

    it was in beta

    -
  • -
-
    -
  • version -1
  • -
-
-
- - val foo : unit +
+

Some modules to support references.

+
+
+ + + module + X + + : sig ... + end + + +
-
-

Comments in structure items support markup, t - oo. -

-
-

Some modules to support references.

-
-
- - - module X - - : sig ... - end - - -
-
-
-
- - - module Y - - : sig ... - end - - +
+
+ + + module + Y + + : sig ... + end + + +
diff --git a/test/generators/html/Module-M'.html b/test/generators/html/Module-M'.html index 20043fcc7b..c9bf79acc7 100644 --- a/test/generators/html/Module-M'.html +++ b/test/generators/html/Module-M'.html @@ -11,8 +11,10 @@ -
-

Module Module.M'

-
+
+
+

Module Module.M'

+
+
diff --git a/test/generators/html/Module-Mutually.html b/test/generators/html/Module-Mutually.html index 324aab4e85..34ec645d23 100644 --- a/test/generators/html/Module-Mutually.html +++ b/test/generators/html/Module-Mutually.html @@ -11,8 +11,10 @@ -
-

Module Module.Mutually

-
+
+
+

Module Module.Mutually

+
+
diff --git a/test/generators/html/Module-Recursive.html b/test/generators/html/Module-Recursive.html index 2ab34f8455..e80bf11661 100644 --- a/test/generators/html/Module-Recursive.html +++ b/test/generators/html/Module-Recursive.html @@ -11,8 +11,10 @@ -
-

Module Module.Recursive

-
+
+
+

Module Module.Recursive

+
+
diff --git a/test/generators/html/Module-module-type-S-M.html b/test/generators/html/Module-module-type-S-M.html index 59e662a544..71debcff7a 100644 --- a/test/generators/html/Module-module-type-S-M.html +++ b/test/generators/html/Module-module-type-S-M.html @@ -12,7 +12,10 @@ Module » S » M -

Module S.M

-
+
+
+

Module S.M

+
+
diff --git a/test/generators/html/Module-module-type-S.html b/test/generators/html/Module-module-type-S.html index 6312586c27..f8dbf3c72d 100644 --- a/test/generators/html/Module-module-type-S.html +++ b/test/generators/html/Module-module-type-S.html @@ -11,48 +11,50 @@ -
-

Module type Module.S

-
-
-
-
- - type t +
+
+

Module type Module.S

+
+
+
+
+ + type t +
-
-
-
- - type u +
+
+ + type u +
-
-
-
- - type 'a v - +
+
+ + type 'a v + +
-
-
-
- - - type ('a, 'b) w - +
+
+ + + type ('a, 'b) w + +
-
-
-
- - - module - M - - : sig ... - end - - +
+
+ + + module + M + + : sig ... + end + + +
diff --git a/test/generators/html/Module-module-type-S3-M.html b/test/generators/html/Module-module-type-S3-M.html index 40cddfcadd..013fd3f861 100644 --- a/test/generators/html/Module-module-type-S3-M.html +++ b/test/generators/html/Module-module-type-S3-M.html @@ -12,8 +12,10 @@ Module » S3 » M -
-

Module S3.M

-
+
+
+

Module S3.M

+
+
diff --git a/test/generators/html/Module-module-type-S3.html b/test/generators/html/Module-module-type-S3.html index cccad9feb6..16abff7b82 100644 --- a/test/generators/html/Module-module-type-S3.html +++ b/test/generators/html/Module-module-type-S3.html @@ -11,52 +11,54 @@ -
-

Module type Module.S3

-
-
-
-
- - type t - = int - +
+
+

Module type Module.S3

+
+
+
+
+ + type t + = int + +
-
-
-
- - type u - = string - +
+
+ + type u + = string + +
-
-
-
- - type 'a v - +
+
+ + type 'a v + +
-
-
-
- - - type ('a, 'b) w - +
+
+ + + type ('a, 'b) w + +
-
-
-
- - - module - M - - : sig ... - end - - +
+
+ + + module + M + + : sig ... + end + + +
diff --git a/test/generators/html/Module-module-type-S4-M.html b/test/generators/html/Module-module-type-S4-M.html index 07fe2b2310..f96f3293b9 100644 --- a/test/generators/html/Module-module-type-S4-M.html +++ b/test/generators/html/Module-module-type-S4-M.html @@ -12,8 +12,10 @@ Module » S4 » M -
-

Module S4.M

-
+
+
+

Module S4.M

+
+
diff --git a/test/generators/html/Module-module-type-S4.html b/test/generators/html/Module-module-type-S4.html index 35e99b1e2a..c4901c14c6 100644 --- a/test/generators/html/Module-module-type-S4.html +++ b/test/generators/html/Module-module-type-S4.html @@ -11,42 +11,44 @@ -
-

Module type Module.S4

-
-
-
-
- - type u +
+
+

Module type Module.S4

+
+
+
+
+ + type u +
-
-
-
- - type 'a v - +
+
+ + type 'a v + +
-
-
-
- - - type ('a, 'b) w - +
+
+ + + type ('a, 'b) w + +
-
-
-
- - - module - M - - : sig ... - end - - +
+
+ + + module + M + + : sig ... + end + + +
diff --git a/test/generators/html/Module-module-type-S5-M.html b/test/generators/html/Module-module-type-S5-M.html index d2c351927d..8dd7636f2a 100644 --- a/test/generators/html/Module-module-type-S5-M.html +++ b/test/generators/html/Module-module-type-S5-M.html @@ -12,8 +12,10 @@ Module » S5 » M -
-

Module S5.M

-
+
+
+

Module S5.M

+
+
diff --git a/test/generators/html/Module-module-type-S5.html b/test/generators/html/Module-module-type-S5.html index a0bb80fb41..c3cadc9d46 100644 --- a/test/generators/html/Module-module-type-S5.html +++ b/test/generators/html/Module-module-type-S5.html @@ -11,41 +11,43 @@ -
-

Module type Module.S5

-
-
-
-
- - type t +
+
+

Module type Module.S5

+
+
+
+
+ + type t +
-
-
-
- - type u +
+
+ + type u +
-
-
-
- - - type ('a, 'b) w - +
+
+ + + type ('a, 'b) w + +
-
-
-
- - - module - M - - : sig ... - end - - +
+
+ + + module + M + + : sig ... + end + + +
diff --git a/test/generators/html/Module-module-type-S6-M.html b/test/generators/html/Module-module-type-S6-M.html index 7825dd1083..9b5c15f0aa 100644 --- a/test/generators/html/Module-module-type-S6-M.html +++ b/test/generators/html/Module-module-type-S6-M.html @@ -12,8 +12,10 @@ Module » S6 » M -
-

Module S6.M

-
+
+
+

Module S6.M

+
+
diff --git a/test/generators/html/Module-module-type-S6.html b/test/generators/html/Module-module-type-S6.html index ee486c2a43..95db89b9a3 100644 --- a/test/generators/html/Module-module-type-S6.html +++ b/test/generators/html/Module-module-type-S6.html @@ -11,40 +11,42 @@ -
-

Module type Module.S6

-
-
-
-
- - type t +
+
+

Module type Module.S6

+
+
+
+
+ + type t +
-
-
-
- - type u +
+
+ + type u +
-
-
-
- - type 'a v - +
+
+ + type 'a v + +
-
-
-
- - - module - M - - : sig ... - end - - +
+
+ + + module + M + + : sig ... + end + + +
diff --git a/test/generators/html/Module-module-type-S7.html b/test/generators/html/Module-module-type-S7.html index 247acb8635..6215fe3c29 100644 --- a/test/generators/html/Module-module-type-S7.html +++ b/test/generators/html/Module-module-type-S7.html @@ -11,43 +11,45 @@ -
-

Module type Module.S7

-
-
-
-
- - type t +
+
+

Module type Module.S7

+
+
+
+
+ + type t +
-
-
-
- - type u +
+
+ + type u +
-
-
-
- - type 'a v - +
+
+ + type 'a v + +
-
-
-
- - - type ('a, 'b) w - +
+
+ + + type ('a, 'b) w + +
-
-
-
- - module M - = M' - +
+
+ + module M + = M' + +
diff --git a/test/generators/html/Module-module-type-S8.html b/test/generators/html/Module-module-type-S8.html index 4b8b5ee601..f170d98dd6 100644 --- a/test/generators/html/Module-module-type-S8.html +++ b/test/generators/html/Module-module-type-S8.html @@ -11,35 +11,37 @@ -
-

Module type Module.S8

-
-
-
-
- - type t +
+
+

Module type Module.S8

+
+
+
+
+ + type t +
-
-
-
- - type u +
+
+ + type u +
-
-
-
- - type 'a v - +
+
+ + type 'a v + +
-
-
-
- - - type ('a, 'b) w - +
+
+ + + type ('a, 'b) w + +
diff --git a/test/generators/html/Module-module-type-S9.html b/test/generators/html/Module-module-type-S9.html index 38297ad2ed..0a556e89f6 100644 --- a/test/generators/html/Module-module-type-S9.html +++ b/test/generators/html/Module-module-type-S9.html @@ -11,8 +11,10 @@ -
-

Module type Module.S9

-
+
+
+

Module type Module.S9

+
+
diff --git a/test/generators/html/Module.html b/test/generators/html/Module.html index c80f2c9c05..02493fe44e 100644 --- a/test/generators/html/Module.html +++ b/test/generators/html/Module.html @@ -8,233 +8,235 @@ -
-

Module Module

Foo.

-
-
-
-
- - val foo : unit -
-
-

The module needs at least one signature item, otherwise a bug - causes the compiler to drop the module comment (above). See - - https://caml.inria.fr/mantis/view.php?id=7701 - . -

-
-
-
-
- - - module - type - S - - = sig ... - end - - -
-
-
-
- - - module - type S1 - - -
-
-
-
- - - module - type S2 - = S - -
-
-
-
- - - module - type - S3 - - = S - with - type - t = int - and - type - u = string - - - +
+
+

Module Module

Foo.

+
+
+
+
+ + val foo : unit +
+
+

The module needs at least one signature item, otherwise a bug + causes the compiler to drop the module comment (above). See + + https://caml.inria.fr/mantis/view.php?id=7701 + . +

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - type - S4 - - = S - with - type - t := int - - - +
+
+ + + module + type S1 + + +
-
-
-
- - - module - type - S5 - - = S - with - type - 'a v - := 'a list - - - +
+
+ + + module + type S2 + = S + +
+
+
+
+ + + module + type + S3 + + = S + with + type + t = int + and + type + u = string + + + +
-
-
-
- - - type ('a, 'b) result - - +
+
+ + + module + type + S4 + + = S + with + type + t := int + + + +
-
-
-
- - - module - type - S6 - - = S - with - type - ('a, 'b) w - := - - ('a, - 'b) - result +
+
+ + + module + type + S5 + + = S + with + type + 'a v + := 'a list - - + +
+
+
+
+ + + type ('a, 'b) result + + +
-
-
-
- - - module - M' - - : sig ... - end - - +
+
+ + + module + type + S6 + + = S + with + type + ('a, 'b) w + := + + ('a, + 'b) + result + + + + +
-
-
-
- - - module - type - S7 - - = S - with +
+
+ + module - M = M' - - + : sig ... + end + + +
-
-
-
- - - module - type - S8 - - = S - with +
+
+ + module - M := - M' + type + S7 + + = S + with + module + M = + M' + - - + +
-
-
-
- - - module - type - S9 - - = module - type of - M' - - +
+
+ + + module + type + S8 + + = S + with + module + M := + M' + + + +
-
-
-
- - - module - Mutually - - : sig ... - end - - +
+
+ + + module + type + S9 + + = module + type of + M' + + +
-
-
-
- - - module - Recursive - - : sig ... - end - - +
+
+ + + module + Mutually + + : sig ... + end + + +
+
+
+
+ + + module + Recursive + + : sig ... + end + + +
diff --git a/test/generators/html/Module_type_alias-module-type-A.html b/test/generators/html/Module_type_alias-module-type-A.html index fe38cb9aa4..7f5449a03f 100644 --- a/test/generators/html/Module_type_alias-module-type-A.html +++ b/test/generators/html/Module_type_alias-module-type-A.html @@ -11,14 +11,16 @@ -
-

Module type Module_type_alias.A

-
-
-
-
- - type a +
+
+

Module type Module_type_alias.A

+
+
+
+
+ + type a +
diff --git a/test/generators/html/Module_type_alias-module-type-B-argument-1-C.html b/test/generators/html/Module_type_alias-module-type-B-argument-1-C.html index 76a5b55ad9..636101ad17 100644 --- a/test/generators/html/Module_type_alias-module-type-B-argument-1-C.html +++ b/test/generators/html/Module_type_alias-module-type-B-argument-1-C.html @@ -12,14 +12,16 @@ – Module_type_alias » B » C -
-

Parameter B.C

-
-
-
-
- - type c +
+
+

Parameter B.C

+
+
+
+
+ + type c +
diff --git a/test/generators/html/Module_type_alias-module-type-B.html b/test/generators/html/Module_type_alias-module-type-B.html index 0c34a94746..3ed5972136 100644 --- a/test/generators/html/Module_type_alias-module-type-B.html +++ b/test/generators/html/Module_type_alias-module-type-B.html @@ -11,34 +11,37 @@ -
-

Module type Module_type_alias.B

-
-
-

Parameters -

-
-
- - module - C - - : sig ... - end - - +
+
+

Module type Module_type_alias.B

+
+
+

Parameters +

+
+
+ + module + + C + + : sig ... + end + + +
-
-

Signature

-
-
- - type b +

Signature

+
+
+ + type b +
diff --git a/test/generators/html/Module_type_alias-module-type-E-argument-1-F.html b/test/generators/html/Module_type_alias-module-type-E-argument-1-F.html index d16b34b60c..99f667dee4 100644 --- a/test/generators/html/Module_type_alias-module-type-E-argument-1-F.html +++ b/test/generators/html/Module_type_alias-module-type-E-argument-1-F.html @@ -12,14 +12,16 @@ – Module_type_alias » E » F -
-

Parameter E.F

-
-
-
-
- - type f +
+
+

Parameter E.F

+
+
+
+
+ + type f +
diff --git a/test/generators/html/Module_type_alias-module-type-E-argument-2-C.html b/test/generators/html/Module_type_alias-module-type-E-argument-2-C.html index be3c76bb91..aa7ddaf36f 100644 --- a/test/generators/html/Module_type_alias-module-type-E-argument-2-C.html +++ b/test/generators/html/Module_type_alias-module-type-E-argument-2-C.html @@ -12,14 +12,16 @@ – Module_type_alias » E » C -
-

Parameter E.C

-
-
-
-
- - type c +
+
+

Parameter E.C

+
+
+
+
+ + type c +
diff --git a/test/generators/html/Module_type_alias-module-type-E.html b/test/generators/html/Module_type_alias-module-type-E.html index e283f5c689..0909118dd2 100644 --- a/test/generators/html/Module_type_alias-module-type-E.html +++ b/test/generators/html/Module_type_alias-module-type-E.html @@ -11,46 +11,50 @@ -
-

Module type Module_type_alias.E

-
-
-

Parameters -

-
-
- - module - F - - : sig ... - end - - +
+
+

Module type Module_type_alias.E

+
+
+

Parameters +

+
+
+ + module + + F + + : sig ... + end + + +
-
-
-
- - module - C - - : sig ... - end - - +
+
+ + module + + C + + : sig ... + end + + +
-
-

Signature

-
-
- - type b +

Signature

+
+
+ + type b +
diff --git a/test/generators/html/Module_type_alias-module-type-G-argument-1-H.html b/test/generators/html/Module_type_alias-module-type-G-argument-1-H.html index dba15ab9f6..c5ab5c27e0 100644 --- a/test/generators/html/Module_type_alias-module-type-G-argument-1-H.html +++ b/test/generators/html/Module_type_alias-module-type-G-argument-1-H.html @@ -12,14 +12,16 @@ – Module_type_alias » G » H -
-

Parameter G.H

-
-
-
-
- - type h +
+
+

Parameter G.H

+
+
+
+
+ + type h +
diff --git a/test/generators/html/Module_type_alias-module-type-G.html b/test/generators/html/Module_type_alias-module-type-G.html index 20093ba726..f41d5859a1 100644 --- a/test/generators/html/Module_type_alias-module-type-G.html +++ b/test/generators/html/Module_type_alias-module-type-G.html @@ -11,34 +11,37 @@ -
-

Module type Module_type_alias.G

-
-
-

Parameters -

-
-
- - module - H - - : sig ... - end - - +
+
+

Module type Module_type_alias.G

+
+
+

Parameters +

+
+
+ + module + + H + + : sig ... + end + + +
-
-

Signature

-
-
- - type a +

Signature

+
+
+ + type a +
diff --git a/test/generators/html/Module_type_alias.html b/test/generators/html/Module_type_alias.html index da57c21f60..f615d4e55f 100644 --- a/test/generators/html/Module_type_alias.html +++ b/test/generators/html/Module_type_alias.html @@ -8,103 +8,105 @@ -
-

Module Module_type_alias

-

Module Type Aliases

-
-
-
-
- - - module - type - A - - = sig ... - end - - +
+
+

Module Module_type_alias

+

Module Type Aliases

+
+
+
+
+ + + module + type + A + + = sig ... + end + + +
-
-
-
- - - module - type - B - - = functor - ( - C - : sig ... - end) - -> - sig ... - end - - +
+
+ + + module + type + B + + = functor + ( + C + : sig ... + end) + -> + sig ... + end + + +
-
-
-
- - - module - type D - - = A - +
+
+ + + module + type D + + = A + +
-
-
-
- - - module - type - E - - = functor - ( - F - : sig ... - end) - -> - B - - +
+
+ + + module + type + E + + = functor + ( + F + : sig ... + end) + -> + B + + +
-
-
-
- - - module - type - G - - = functor - ( - H - : sig ... - end) - -> - D - - +
+
+ + + module + type + G + + = functor + ( + H + : sig ... + end) + -> + D + + +
-
-
-
- - - module - type I - - = B - +
+
+ + + module + type I + + = B + +
diff --git a/test/generators/html/Module_type_of-T-N.html b/test/generators/html/Module_type_of-T-N.html index 2f21dd6f6a..ed8c224dbc 100644 --- a/test/generators/html/Module_type_of-T-N.html +++ b/test/generators/html/Module_type_of-T-N.html @@ -12,15 +12,18 @@ Module_type_of » T » N -

Module T.N

-
-
-
-
- - type t - = M.t - +
+
+

Module T.N

+
+
+
+
+ + type t + = M.t + +
diff --git a/test/generators/html/Module_type_of-T-module-type-T.html b/test/generators/html/Module_type_of-T-module-type-T.html index b577a72195..2aa8aa8af2 100644 --- a/test/generators/html/Module_type_of-T-module-type-T.html +++ b/test/generators/html/Module_type_of-T-module-type-T.html @@ -12,14 +12,16 @@ Module_type_of » T » T -
-

Module type T.T

-
-
-
-
- - type t +
+
+

Module type T.T

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Module_type_of-T.html b/test/generators/html/Module_type_of-T.html index 6521e9f3e8..e9d770b5ea 100644 --- a/test/generators/html/Module_type_of-T.html +++ b/test/generators/html/Module_type_of-T.html @@ -11,46 +11,49 @@ -
-

Module Module_type_of.T

-
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+

Module Module_type_of.T

+
+
+
+
+ + + module + type + T + + = sig ... + end + + +
-
-
-
- - module M - = X - +
+
+ + module M + = X + +
-
-
-
- - - module - N - - : module - type of - struct - include - M end - - +
+
+ + + module + N + + : module + type of + struct + include + M + end + + +
diff --git a/test/generators/html/Module_type_of-X.html b/test/generators/html/Module_type_of-X.html index 0a9e2d4806..ff178bf078 100644 --- a/test/generators/html/Module_type_of-X.html +++ b/test/generators/html/Module_type_of-X.html @@ -11,20 +11,22 @@ -
-

Module Module_type_of.X

-
-
-
-
- - type t +
+
+

Module Module_type_of.X

+
+
+
+
+ + type t +
-
-
-
- - type u +
+
+ + type u +
diff --git a/test/generators/html/Module_type_of-module-type-S-M.html b/test/generators/html/Module_type_of-module-type-S-M.html index 785d0ef772..92d725d6de 100644 --- a/test/generators/html/Module_type_of-module-type-S-M.html +++ b/test/generators/html/Module_type_of-module-type-S-M.html @@ -12,13 +12,16 @@ – Module_type_of » S » M -

Module S.M

-
-
-
-
- - type t +
+
+

Module S.M

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Module_type_of-module-type-S-N.html b/test/generators/html/Module_type_of-module-type-S-N.html index 33aab3ea7d..b223fd55cb 100644 --- a/test/generators/html/Module_type_of-module-type-S-N.html +++ b/test/generators/html/Module_type_of-module-type-S-N.html @@ -12,16 +12,19 @@ – Module_type_of » S » N -

Module S.N

-
-
-
-
- - type t - = M.t - - +
+
+

Module S.N

+
+
+
+
+ + type t + = M.t + + +
diff --git a/test/generators/html/Module_type_of-module-type-S-module-type-T.html b/test/generators/html/Module_type_of-module-type-S-module-type-T.html index 0d2df5e2a5..f4d1dcb8f2 100644 --- a/test/generators/html/Module_type_of-module-type-S-module-type-T.html +++ b/test/generators/html/Module_type_of-module-type-S-module-type-T.html @@ -12,14 +12,16 @@ – Module_type_of » S » T -
-

Module type S.T

-
-
-
-
- - type t +
+
+

Module type S.T

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Module_type_of-module-type-S.html b/test/generators/html/Module_type_of-module-type-S.html index cad833521f..d2830f2d92 100644 --- a/test/generators/html/Module_type_of-module-type-S.html +++ b/test/generators/html/Module_type_of-module-type-S.html @@ -11,52 +11,54 @@ -
-

Module type Module_type_of.S

-
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+

Module type Module_type_of.S

+
+
+
+
+ + + module + type + T + + = sig ... + end + + +
-
-
-
- - - module - M - - : - T - - +
+
+ + + module + M + + : + T + + +
-
-
-
- - - module - N - - : module - type of - struct - include - M - end - - +
+
+ + + module + N + + : module + type of + struct + include + M + end + + +
diff --git a/test/generators/html/Module_type_of.html b/test/generators/html/Module_type_of.html index a5bbefe8b0..c63a7ce3ff 100644 --- a/test/generators/html/Module_type_of.html +++ b/test/generators/html/Module_type_of.html @@ -8,52 +8,54 @@ -
-

Module Module_type_of

-
-
-
-
- - - module - type - S - - = sig ... - end - - -
-
-
-
- - - module - X - - : sig ... - end - - +
+
+

Module Module_type_of

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - T - - : S - with +
+
+ + module - M = X - - + : sig ... + end + + +
+
+
+
+ + + module + T + + : S + with + module + M = + X + + + +
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-a-M.html b/test/generators/html/Module_type_subst-Basic-module-type-a-M.html index e061052b41..05c9ba688b 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-a-M.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-a-M.html @@ -15,7 +15,10 @@ a » M -

Module a.M

-
+
+
+

Module a.M

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-a.html b/test/generators/html/Module_type_subst-Basic-module-type-a.html index ef39f7d8c3..3a497f9576 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-a.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-a.html @@ -12,30 +12,32 @@ – Module_type_subst » Basic » a -
-

Module type Basic.a

-
-
-
-
- - - module - type b - - = s - +
+
+

Module type Basic.a

+
+
+
+
+ + + module + type b + + = s + +
-
-
-
- - - module - M - - : b - +
+
+ + + module + M + + : b + +
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-c-M.html b/test/generators/html/Module_type_subst-Basic-module-type-c-M.html index 89ce5b5dd8..6a281f7df6 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-c-M.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-c-M.html @@ -15,7 +15,10 @@ c » M -

Module c.M

-
+
+
+

Module c.M

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-c.html b/test/generators/html/Module_type_subst-Basic-module-type-c.html index 65029963de..af07b90f3b 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-c.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-c.html @@ -12,19 +12,21 @@ – Module_type_subst » Basic » c -
-

Module type Basic.c

-
-
-
-
- - - module - M - - : s - +
+
+

Module type Basic.c

+
+
+
+
+ + + module + M + + : s + +
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-u-module-type-T.html b/test/generators/html/Module_type_subst-Basic-module-type-u-module-type-T.html index 60fcc70e94..40c9d47304 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-u-module-type-T.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-u-module-type-T.html @@ -15,8 +15,10 @@ u » T -
-

Module type u.T

-
+
+
+

Module type u.T

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-u.html b/test/generators/html/Module_type_subst-Basic-module-type-u.html index 8eceb59795..72053db88f 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-u.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-u.html @@ -12,23 +12,25 @@ – Module_type_subst » Basic » u -
-

Module type Basic.u

-
-
-
-
- - - module - type - T - - - = sig ... - end - - +
+
+

Module type Basic.u

+
+
+
+
+ + + module + type + T + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-u2-M.html b/test/generators/html/Module_type_subst-Basic-module-type-u2-M.html index e20e0db008..6bf49d35ad 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-u2-M.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-u2-M.html @@ -15,8 +15,10 @@ u2 » M -
-

Module u2.M

-
+
+
+

Module u2.M

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-u2-module-type-T.html b/test/generators/html/Module_type_subst-Basic-module-type-u2-module-type-T.html index 281e82d4aa..9b93f87264 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-u2-module-type-T.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-u2-module-type-T.html @@ -15,8 +15,10 @@ u2 » T -
-

Module type u2.T

-
+
+
+

Module type u2.T

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-u2.html b/test/generators/html/Module_type_subst-Basic-module-type-u2.html index 29ccf2f131..96b444ed31 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-u2.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-u2.html @@ -12,37 +12,39 @@ – Module_type_subst » Basic » u2 -
-

Module type Basic.u2

-
-
-
-
- - - module - type - T - - - = sig ... - end - - +
+
+

Module type Basic.u2

+
+
+
+
+ + + module + type + T + + + = sig ... + end + + +
-
-
-
- - - module - M - - : - T - - - +
+
+ + + module + M + + : + T + + + +
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-with_.html b/test/generators/html/Module_type_subst-Basic-module-type-with_.html index 9292b3f369..efc24deb17 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-with_.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-with_.html @@ -12,19 +12,21 @@ – Module_type_subst » Basic » with_ -
-

Module type Basic.with_

-
-
-
-
- - - module - type T - - = s - +
+
+

Module type Basic.with_

+
+
+
+
+ + + module + type T + + = s + +
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-with_2-M.html b/test/generators/html/Module_type_subst-Basic-module-type-with_2-M.html index d82c7f7665..02aad4863d 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-with_2-M.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-with_2-M.html @@ -15,8 +15,10 @@ with_2 » M -
-

Module with_2.M

-
+
+
+

Module with_2.M

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-with_2-module-type-T.html b/test/generators/html/Module_type_subst-Basic-module-type-with_2-module-type-T.html index b382834e19..61683ce55e 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-with_2-module-type-T.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-with_2-module-type-T.html @@ -15,8 +15,10 @@ with_2 » T -
-

Module type with_2.T

-
+
+
+

Module type with_2.T

+
+
diff --git a/test/generators/html/Module_type_subst-Basic-module-type-with_2.html b/test/generators/html/Module_type_subst-Basic-module-type-with_2.html index 87243794b0..66bfcae29f 100644 --- a/test/generators/html/Module_type_subst-Basic-module-type-with_2.html +++ b/test/generators/html/Module_type_subst-Basic-module-type-with_2.html @@ -12,41 +12,43 @@ – Module_type_subst » Basic » with_2 -
-

Module type Basic.with_2

-
-
-
-
- - - module - type - - T - - - = sig ... - end - - +
+
+

Module type Basic.with_2

+
+
+
+
+ + + module + type + + T + + + = sig ... + end + + +
-
-
-
- - - module - M - - : - - T - - - +
+
+ + + module + M + + : + + T + + + +
diff --git a/test/generators/html/Module_type_subst-Basic.html b/test/generators/html/Module_type_subst-Basic.html index b2688d82b4..51966982c4 100644 --- a/test/generators/html/Module_type_subst-Basic.html +++ b/test/generators/html/Module_type_subst-Basic.html @@ -11,108 +11,111 @@ -
-

Module Module_type_subst.Basic

-
-
-
-
- - - module - type - u - - = sig ... - end - - -
-
-
-
- - - module - type - with_ - - = u - with +
+
+

Module Module_type_subst.Basic

+
+
+
+
+ + module type - T - = s + u + + = sig ... + end - - + +
-
-
-
- - - module - type - u2 - - = sig ... - end - - +
+
+ + + module + type + with_ + + = u + with + module + type + T + = s + + + +
-
-
-
- - - module - type - with_2 - - = u2 - with +
+
+ + module type - T - = sig ... + u2 + + = sig ... end - - + +
-
-
-
- - - module - type - a - - = sig ... - end - - +
+
+ + + module + type + with_2 + + = u2 + with + module + type + + T + = sig ... + end + + + +
-
-
-
- - - module - type - c - - = a - with +
+
+ + + module + type + a + + = sig ... + end + + +
+
+
+
+ + module type - b - := s + c + + = a + with + module + type + b + := s + - - + +
diff --git a/test/generators/html/Module_type_subst-Local-module-type-local.html b/test/generators/html/Module_type_subst-Local-module-type-local.html index e75ad6e9d4..d5d29560b8 100644 --- a/test/generators/html/Module_type_subst-Local-module-type-local.html +++ b/test/generators/html/Module_type_subst-Local-module-type-local.html @@ -12,17 +12,19 @@ – Module_type_subst » Local » local -
-

Module type Local.local

-
-
-
-
- - type t - = local - - +
+
+

Module type Local.local

+
+
+
+
+ + type t + = local + + +
diff --git a/test/generators/html/Module_type_subst-Local-module-type-s.html b/test/generators/html/Module_type_subst-Local-module-type-s.html index cd2cf04def..59477b07b5 100644 --- a/test/generators/html/Module_type_subst-Local-module-type-s.html +++ b/test/generators/html/Module_type_subst-Local-module-type-s.html @@ -12,8 +12,10 @@ – Module_type_subst » Local » s -
-

Module type Local.s

-
+
+
+

Module type Local.s

+
+
diff --git a/test/generators/html/Module_type_subst-Local.html b/test/generators/html/Module_type_subst-Local.html index 8ff20405df..ba63aa1fe9 100644 --- a/test/generators/html/Module_type_subst-Local.html +++ b/test/generators/html/Module_type_subst-Local.html @@ -11,57 +11,59 @@ -
-

Module Module_type_subst.Local

-
-
-
-
- - type local - := int * int - +
+
+

Module Module_type_subst.Local

+
+
+
+
+ + type local + := int * int + +
-
-
-
- - - module - type - local - - := sig ... - end - - +
+
+ + + module + type + local + + := sig ... + end + + +
-
-
-
- - - module - type w - - = - local - - +
+
+ + + module + type w + + = + local + + +
-
-
-
- - - module - type - s - - = sig ... - end - - +
+
+ + + module + type + s + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-nested-N-module-type-t.html b/test/generators/html/Module_type_subst-Nested-module-type-nested-N-module-type-t.html index 9bd019ca8b..cef68322c4 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-nested-N-module-type-t.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-nested-N-module-type-t.html @@ -17,8 +17,10 @@ N » t -
-

Module type N.t

-
+
+
+

Module type N.t

+
+
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-nested-N.html b/test/generators/html/Module_type_subst-Nested-module-type-nested-N.html index 72f7f65e01..5e324709f0 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-nested-N.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-nested-N.html @@ -15,25 +15,27 @@ nested » N -
-

Module nested.N

-
-
-
-
- - - module - type - t - - - = sig ... - end - - +
+
+

Module nested.N

+
+
+
+
+ + + module + type + t + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-nested.html b/test/generators/html/Module_type_subst-Nested-module-type-nested.html index d50c8f50a0..83ee4fd801 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-nested.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-nested.html @@ -12,21 +12,23 @@ – Module_type_subst » Nested » nested -
-

Module type Nested.nested

-
-
-
-
- - - module - N - - : sig ... - end - - +
+
+

Module type Nested.nested

+
+
+
+
+ + + module + N + + : sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-with_-N.html b/test/generators/html/Module_type_subst-Nested-module-type-with_-N.html index e559334ed3..25825f7a41 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-with_-N.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-with_-N.html @@ -15,19 +15,21 @@ with_ » N -
-

Module with_.N

-
-
-
-
- - - module - type t - - = s - +
+
+

Module with_.N

+
+
+
+
+ + + module + type t + + = s + +
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-with_.html b/test/generators/html/Module_type_subst-Nested-module-type-with_.html index 734e89c0cf..5208c438be 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-with_.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-with_.html @@ -12,21 +12,23 @@ – Module_type_subst » Nested » with_ -
-

Module type Nested.with_

-
-
-
-
- - - module - N - - : sig ... - end - - +
+
+

Module type Nested.with_

+
+
+
+
+ + + module + N + + : sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-with_subst-N.html b/test/generators/html/Module_type_subst-Nested-module-type-with_subst-N.html index 900114874e..f71ae16f38 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-with_subst-N.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-with_subst-N.html @@ -15,8 +15,10 @@ with_subst » N -
-

Module with_subst.N

-
+
+
+

Module with_subst.N

+
+
diff --git a/test/generators/html/Module_type_subst-Nested-module-type-with_subst.html b/test/generators/html/Module_type_subst-Nested-module-type-with_subst.html index ab96d05cb3..3876cf45c2 100644 --- a/test/generators/html/Module_type_subst-Nested-module-type-with_subst.html +++ b/test/generators/html/Module_type_subst-Nested-module-type-with_subst.html @@ -12,21 +12,24 @@ – Module_type_subst » Nested » with_subst -
-

Module type Nested.with_subst

-
-
-
-
- - - module - N - - : sig ... - end - - +
+
+

Module type Nested.with_subst

+
+
+
+
+ + + module + N + + + : sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Nested.html b/test/generators/html/Module_type_subst-Nested.html index 98aef29bda..df620900f8 100644 --- a/test/generators/html/Module_type_subst-Nested.html +++ b/test/generators/html/Module_type_subst-Nested.html @@ -11,68 +11,70 @@ -
-

Module Module_type_subst.Nested

-
-
-
-
- - - module - type - nested - - = sig ... - end - - +
+
+

Module Module_type_subst.Nested

+
+
+
+
+ + + module + type + nested + + = sig ... + end + + +
-
-
-
- - - module - type - with_ - - = - nested - with +
+
+ + module type - N.t - = s + with_ + + = + nested + with + module + type + N.t + = s + - - + +
-
-
-
- - - module - type - - with_subst - - - = - nested - with +
+
+ + module type - N.t - := s + + with_subst + + + = + nested + with + module + type + N.t + := s + - - + +
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b-module-type-c.html b/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b-module-type-c.html index 92341a9b1b..8ed21d5684 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b-module-type-c.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b-module-type-c.html @@ -23,25 +23,27 @@ >b » c -
-

Module type b.c

-
-
-
-
- - type t = - -
    -
  1. - - | - A - of t - - -
  2. -
+
+
+

Module type b.c

+
+
+
+
+ + type t = + +
    +
  1. + + | + A + of t + + +
  2. +
+
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b.html b/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b.html index 2651701ee0..7174e697f4 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a-module-type-b.html @@ -17,25 +17,27 @@ a » b -
-

Module type a.b

-
-
-
-
- - - module - type - c - - - = sig ... - end - - +
+
+

Module type a.b

+
+
+
+
+ + + module + type + c + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a.html b/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a.html index a3d51f1d09..5c5cb5fe8a 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-u-module-type-a.html @@ -15,25 +15,27 @@ u » a -
-

Module type u.a

-
-
-
-
- - - module - type - b - - - = sig ... - end - - +
+
+

Module type u.a

+
+
+
+
+ + + module + type + b + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-u.html b/test/generators/html/Module_type_subst-Structural-module-type-u.html index 24156c49b7..fd3b565274 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-u.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-u.html @@ -13,25 +13,27 @@ Structural » u -
-

Module type Structural.u

-
-
-
-
- - - module - type - - a - - - = sig ... - end - - +
+
+

Module type Structural.u

+
+
+
+
+ + + module + type + + a + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b-module-type-c.html b/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b-module-type-c.html index ab08e99c68..74a51865d7 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b-module-type-c.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b-module-type-c.html @@ -23,25 +23,27 @@ >b » c -
-

Module type b.c

-
-
-
-
- - type t = - -
    -
  1. - - | - A - of t - - -
  2. -
+
+
+

Module type b.c

+
+
+
+
+ + type t = + +
    +
  1. + + | + A + of t + + +
  2. +
+
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b.html b/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b.html index 0b9ec55637..cd2240c5b8 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a-module-type-b.html @@ -17,25 +17,27 @@ a » b -
-

Module type a.b

-
-
-
-
- - - module - type - c - - - = sig ... - end - - +
+
+

Module type a.b

+
+
+
+
+ + + module + type + c + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a.html b/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a.html index f79b7a6664..0f4f903ab7 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-w-module-type-a.html @@ -15,25 +15,27 @@ w » a -
-

Module type w.a

-
-
-
-
- - - module - type - b - - - = sig ... - end - - +
+
+

Module type w.a

+
+
+
+
+ + + module + type + b + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Structural-module-type-w.html b/test/generators/html/Module_type_subst-Structural-module-type-w.html index b446ce0933..875cb92a3c 100644 --- a/test/generators/html/Module_type_subst-Structural-module-type-w.html +++ b/test/generators/html/Module_type_subst-Structural-module-type-w.html @@ -13,25 +13,27 @@ Structural » w -
-

Module type Structural.w

-
-
-
-
- - - module - type - - a - - - = sig ... - end - - +
+
+

Module type Structural.w

+
+
+
+
+ + + module + type + + a + + + = sig ... + end + + +
diff --git a/test/generators/html/Module_type_subst-Structural.html b/test/generators/html/Module_type_subst-Structural.html index 0599bf0441..4780c9ee19 100644 --- a/test/generators/html/Module_type_subst-Structural.html +++ b/test/generators/html/Module_type_subst-Structural.html @@ -11,45 +11,47 @@ -
-

Module Module_type_subst.Structural

-
-
-
-
- - - module - type - u - - = sig ... - end - - -
-
-
-
- - - module - type - w - - = - u - with +
+
+

Module Module_type_subst.Structural

+
+
+
+
+ + module type - - a - = sig ... + u + + = sig ... end - - + +
+
+
+
+ + + module + type + w + + = + u + with + module + type + + a + = sig ... + end + + + +
diff --git a/test/generators/html/Module_type_subst-module-type-s.html b/test/generators/html/Module_type_subst-module-type-s.html index c7c9516b32..bc1da177d6 100644 --- a/test/generators/html/Module_type_subst-module-type-s.html +++ b/test/generators/html/Module_type_subst-module-type-s.html @@ -11,8 +11,10 @@ -
-

Module type Module_type_subst.s

-
+
+
+

Module type Module_type_subst.s

+
+
diff --git a/test/generators/html/Module_type_subst.html b/test/generators/html/Module_type_subst.html index 822ee434fc..c7bc2c33e4 100644 --- a/test/generators/html/Module_type_subst.html +++ b/test/generators/html/Module_type_subst.html @@ -8,74 +8,76 @@ -
-

Module Module_type_subst

-
-
-
-
- - - module - Local - - : sig ... - end - - +
+
+

Module Module_type_subst

+
+
+
+
+ + + module + Local + + : sig ... + end + + +
-
-
-
- - - module - type - s - - = sig ... - end - - +
+
+ + + module + type + s + + = sig ... + end + + +
-
-
-
- - - module - Basic - - : sig ... - end - - +
+
+ + + module + Basic + + : sig ... + end + + +
-
-
-
- - - module - Nested - - : sig ... - end - - +
+
+ + + module + Nested + + : sig ... + end + + +
-
-
-
- - - module - Structural - - : sig ... - end - - +
+
+ + + module + Structural + + : sig ... + end + + +
diff --git a/test/generators/html/Nested-F-argument-1-Arg1.html b/test/generators/html/Nested-F-argument-1-Arg1.html index 7dc880bb67..8f81e0fe2b 100644 --- a/test/generators/html/Nested-F-argument-1-Arg1.html +++ b/test/generators/html/Nested-F-argument-1-Arg1.html @@ -12,29 +12,31 @@ Nested » F » Arg1 -
-

Parameter F.Arg1

-
-
-

Type

-
-
- - type t -

Some type.

-

Values

-
-
- - - val y : t - - -

The value of y.

+
+
+

Parameter F.Arg1

+
+
+

Type

+
+
+ + type t +

Some type.

+

Values

+
+
+ + + val y : t + + +

The value of y.

+
diff --git a/test/generators/html/Nested-F-argument-2-Arg2.html b/test/generators/html/Nested-F-argument-2-Arg2.html index 87ded26347..102579d63c 100644 --- a/test/generators/html/Nested-F-argument-2-Arg2.html +++ b/test/generators/html/Nested-F-argument-2-Arg2.html @@ -12,17 +12,19 @@ Nested » F » Arg2 -
-

Parameter F.Arg2

-
-
-

Type

-
-
- - type t -

Some type.

+
+
+

Parameter F.Arg2

+
+
+

Type

+
+
+ + type t +

Some type.

+
diff --git a/test/generators/html/Nested-F.html b/test/generators/html/Nested-F.html index adbd348c7c..6d606b34f3 100644 --- a/test/generators/html/Nested-F.html +++ b/test/generators/html/Nested-F.html @@ -11,50 +11,52 @@ -
-

Module Nested.F

-

This is a functor F.

Some additional comments.

-
-
-

Parameters -

-
-
- - module - Arg1 - : Y - +
+
+

Module Nested.F

+

This is a functor F.

Some additional comments.

+
+
+

Parameters +

+
+
+ + module + Arg1 + : Y + +
-
-
-
- - module - Arg2 - : sig ... - end - - +
+
+ + module + Arg2 + : sig ... + end + + +
+
+

Signature

+

Type

+
+
+ + type t + = Arg1.t + * Arg2.t + + +

Some type.

-
-

Signature

-

Type

-
-
- - type t - = Arg1.t - * Arg2.t - - -

Some type.

diff --git a/test/generators/html/Nested-X.html b/test/generators/html/Nested-X.html index 3210ce735e..70a20eb077 100644 --- a/test/generators/html/Nested-X.html +++ b/test/generators/html/Nested-X.html @@ -11,30 +11,32 @@ -
-

Module Nested.X

This is module X.

-

Some additional comments.

-
-
-

Type

-
-
- - type t -

Some type.

-

Values

-
-
- - - val x : t - - -

The value of x.

+
+
+

Module Nested.X

+

This is module X.

Some additional comments.

+
+
+

Type

+
+
+ + type t +

Some type.

+

Values

+
+
+ + + val x : t + + +

The value of x.

+
diff --git a/test/generators/html/Nested-class-inherits.html b/test/generators/html/Nested-class-inherits.html index 48bbd86904..d685d02f4f 100644 --- a/test/generators/html/Nested-class-inherits.html +++ b/test/generators/html/Nested-class-inherits.html @@ -11,17 +11,19 @@ -
-

Class Nested.inherits

-
-
-
-
- - inherit - z - - +
+
+

Class Nested.inherits

+
+
+
+
+ + inherit + z + + +
diff --git a/test/generators/html/Nested-class-z.html b/test/generators/html/Nested-class-z.html index 37ca961696..56c05bff30 100644 --- a/test/generators/html/Nested-class-z.html +++ b/test/generators/html/Nested-class-z.html @@ -11,45 +11,47 @@ -
-

Class Nested.z

This is class z.

-

Some additional comments.

-
-
-
-
- - val y : int -

Some value.

-
-
-
- - - val - mutable - virtual y' : int - - +
+
+

Class Nested.z

This is class z.

+

Some additional comments.

+
+
+
+
+ + val y : int +

Some value.

-

Methods

-
-
- - method z : int -

Some method.

-
-
-
- - - method - private - virtual z' : int - - +
+
+ + + val + mutable + virtual y' : int + + +
+

Methods

+
+
+ + method z : int +

Some method.

+
+
+
+ + + method + private + virtual z' : int + + +
diff --git a/test/generators/html/Nested-module-type-Y.html b/test/generators/html/Nested-module-type-Y.html index bb2a449e9f..0823ef3f61 100644 --- a/test/generators/html/Nested-module-type-Y.html +++ b/test/generators/html/Nested-module-type-Y.html @@ -11,30 +11,32 @@ -
-

Module type Nested.Y

-

This is module type Y.

Some additional comments.

-
-
-

Type

-
-
- - type t -

Some type.

-

Values

-
-
- - - val y : t - - -

The value of y.

+
+
+

Module type Nested.Y

+

This is module type Y.

Some additional comments.

+
+
+

Type

+
+
+ + type t +

Some type.

+

Values

+
+
+ + + val y : t + + +

The value of y.

+
diff --git a/test/generators/html/Nested.html b/test/generators/html/Nested.html index 0475d5dd09..c8cc8d4be9 100644 --- a/test/generators/html/Nested.html +++ b/test/generators/html/Nested.html @@ -8,10 +8,6 @@ -
-

Module Nested

-

This comment needs to be here before #235 is fixed.

-
-
-

Module

-
-
- - - module X - - : sig ... - end - - -

This is module X.

-
-

Module type -

-
-
- - - module - type - Y - - = sig ... - end - - -

This is module type Y.

-

Functor

-
-
- - - module F - - (Arg1 : - Y) ( - Arg2 : - sig ... end - ) : sig ... - end - - -

This is a functor F.

-

Class

-
-
- - - class - virtual - z - : object ... - end - - -

This is class z.

-
-
-
- - - class - virtual - inherits - : object ... - end - - +
+
+

Module Nested

+

This comment needs to be here before #235 is fixed.

+
+
+

Module

+
+
+ + + module + X + + : sig ... + end + + +

This is module X.

+
+

Module + type +

+
+
+ + + module + type + Y + + = sig ... + end + + +

This is module type Y.

+

Functor

+
+
+ + + module + F + + (Arg1 : + Y) ( + Arg2 : + sig ... end + ) : sig ... + end + + +

This is a functor F.

+

Class

+
+
+ + + class + virtual + z + : object ... + end + + +

This is class z.

+
+
+
+ + + class + virtual + inherits + : object ... + end + + +
diff --git a/test/generators/html/Ocamlary-Aliases-E.html b/test/generators/html/Ocamlary-Aliases-E.html index 9a578b0309..069b9c642c 100644 --- a/test/generators/html/Ocamlary-Aliases-E.html +++ b/test/generators/html/Ocamlary-Aliases-E.html @@ -12,25 +12,27 @@ Ocamlary » Aliases » E -
-

Module Aliases.E

-
-
-
-
- - type t +
+
+

Module Aliases.E

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Foo-A.html b/test/generators/html/Ocamlary-Aliases-Foo-A.html index 77ae6df9ec..a636fd2030 100644 --- a/test/generators/html/Ocamlary-Aliases-Foo-A.html +++ b/test/generators/html/Ocamlary-Aliases-Foo-A.html @@ -13,25 +13,27 @@ Aliases » Foo » A -
-

Module Foo.A

-
-
-
-
- - type t +
+
+

Module Foo.A

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Foo-B.html b/test/generators/html/Ocamlary-Aliases-Foo-B.html index 22a1ea27aa..32ad0106e5 100644 --- a/test/generators/html/Ocamlary-Aliases-Foo-B.html +++ b/test/generators/html/Ocamlary-Aliases-Foo-B.html @@ -13,25 +13,27 @@ Aliases » Foo » B -
-

Module Foo.B

-
-
-
-
- - type t +
+
+

Module Foo.B

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Foo-C.html b/test/generators/html/Ocamlary-Aliases-Foo-C.html index 63ce518625..e8567d4332 100644 --- a/test/generators/html/Ocamlary-Aliases-Foo-C.html +++ b/test/generators/html/Ocamlary-Aliases-Foo-C.html @@ -13,25 +13,27 @@ Aliases » Foo » C -
-

Module Foo.C

-
-
-
-
- - type t +
+
+

Module Foo.C

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Foo-D.html b/test/generators/html/Ocamlary-Aliases-Foo-D.html index 805e864c30..6611b7923a 100644 --- a/test/generators/html/Ocamlary-Aliases-Foo-D.html +++ b/test/generators/html/Ocamlary-Aliases-Foo-D.html @@ -13,25 +13,27 @@ Aliases » Foo » D -
-

Module Foo.D

-
-
-
-
- - type t +
+
+

Module Foo.D

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Foo-E.html b/test/generators/html/Ocamlary-Aliases-Foo-E.html index 04723b6e9b..d3c8b195ba 100644 --- a/test/generators/html/Ocamlary-Aliases-Foo-E.html +++ b/test/generators/html/Ocamlary-Aliases-Foo-E.html @@ -13,25 +13,27 @@ Aliases » Foo » E -
-

Module Foo.E

-
-
-
-
- - type t +
+
+

Module Foo.E

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Foo.html b/test/generators/html/Ocamlary-Aliases-Foo.html index b72bdd0baa..936f85e387 100644 --- a/test/generators/html/Ocamlary-Aliases-Foo.html +++ b/test/generators/html/Ocamlary-Aliases-Foo.html @@ -12,73 +12,75 @@ Ocamlary » Aliases » Foo -
-

Module Aliases.Foo

-
-
-
-
- - - module - A - - : sig ... - end - - +
+
+

Module Aliases.Foo

+
+
+
+
+ + + module + A + + : sig ... + end + + +
-
-
-
- - - module - B - - : sig ... - end - - +
+
+ + + module + B + + : sig ... + end + + +
-
-
-
- - - module - C - - : sig ... - end - - +
+
+ + + module + C + + : sig ... + end + + +
-
-
-
- - - module - D - - : sig ... - end - - +
+
+ + + module + D + + : sig ... + end + + +
-
-
-
- - - module - E - - : sig ... - end - - +
+
+ + + module + E + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Aliases-P1-Y.html b/test/generators/html/Ocamlary-Aliases-P1-Y.html index db539a66ac..0559c8c4df 100644 --- a/test/generators/html/Ocamlary-Aliases-P1-Y.html +++ b/test/generators/html/Ocamlary-Aliases-P1-Y.html @@ -13,25 +13,27 @@ Aliases » P1 » Y -
-

Module P1.Y

-
-
-
-
- - type t +
+
+

Module P1.Y

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-P1.html b/test/generators/html/Ocamlary-Aliases-P1.html index c0669f3f20..810a99826f 100644 --- a/test/generators/html/Ocamlary-Aliases-P1.html +++ b/test/generators/html/Ocamlary-Aliases-P1.html @@ -12,21 +12,23 @@ Ocamlary » Aliases » P1 -
-

Module Aliases.P1

-
-
-
-
- - - module - Y - - : sig ... - end - - +
+
+

Module Aliases.P1

+
+
+
+
+ + + module + Y + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Aliases-P2-Z.html b/test/generators/html/Ocamlary-Aliases-P2-Z.html index d669b7e39a..2245b3ab92 100644 --- a/test/generators/html/Ocamlary-Aliases-P2-Z.html +++ b/test/generators/html/Ocamlary-Aliases-P2-Z.html @@ -13,25 +13,27 @@ Aliases » P2 » Z -
-

Module P2.Z

-
-
-
-
- - type t +
+
+

Module P2.Z

+
+
+
+
+ + type t +
-
-
-
- - - val id : - t -> - t - - +
+
+ + + val id : + t -> + t + + +
diff --git a/test/generators/html/Ocamlary-Aliases-P2.html b/test/generators/html/Ocamlary-Aliases-P2.html index 0ffd40aeb8..1a73400296 100644 --- a/test/generators/html/Ocamlary-Aliases-P2.html +++ b/test/generators/html/Ocamlary-Aliases-P2.html @@ -12,21 +12,23 @@ Ocamlary » Aliases » P2 -
-

Module Aliases.P2

-
-
-
-
- - - module - Z - - : sig ... - end - - +
+
+

Module Aliases.P2

+
+
+
+
+ + + module + Z + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Aliases-Std.html b/test/generators/html/Ocamlary-Aliases-Std.html index 059d6ef153..8f3c245643 100644 --- a/test/generators/html/Ocamlary-Aliases-Std.html +++ b/test/generators/html/Ocamlary-Aliases-Std.html @@ -12,48 +12,50 @@ Ocamlary » Aliases » Std -
-

Module Aliases.Std

-
-
-
-
- - module A - = Foo.A - +
+
+

Module Aliases.Std

+
+
+
+
+ + module A + = Foo.A + +
-
-
-
- - module B - = Foo.B - +
+
+ + module B + = Foo.B + +
-
-
-
- - module C - = Foo.C - +
+
+ + module C + = Foo.C + +
-
-
-
- - module D - = Foo.D - +
+
+ + module D + = Foo.D + +
-
-
-
- - module E - = Foo.E - +
+
+ + module E + = Foo.E + +
diff --git a/test/generators/html/Ocamlary-Aliases.html b/test/generators/html/Ocamlary-Aliases.html index c97c757e6f..79bce6a4db 100644 --- a/test/generators/html/Ocamlary-Aliases.html +++ b/test/generators/html/Ocamlary-Aliases.html @@ -11,227 +11,230 @@ -
-

Module Ocamlary.Aliases

-

Let's imitate jst's layout.

-
-
-
-
- - - module - Foo - - : sig ... - end - - -
-
-
-
- - module A' - = Foo.A - +
+
+

Module Ocamlary.Aliases

+

Let's imitate jst's layout.

+
+
+
+
+ + + module + Foo + + : sig ... + end + + +
-
-
-
- - type tata - = Foo.A.t - - +
+
+ + module A' + = Foo.A + +
-
-
-
- - type tbtb - = Foo.B.t - - +
+
+ + type tata + = Foo.A.t + + +
-
-
-
- - type tete +
+
+ + type tbtb + = Foo.B.t + + +
-
-
-
- - type tata' - = A'.t - +
+
+ + type tete +
-
-
-
- - type tete2 - = Foo.E.t - - +
+
+ + type tata' + = A'.t + +
-
-
-
- - - module - Std - - : sig ... - end - - +
+
+ + type tete2 + = Foo.E.t + + +
-
-
-
- - type stde - = Std.E.t - - -
-

include of Foo

-

Just for giggle, let's see what happens when we include - Foo. -

-
-
- +
+
+ - include - module type - of - Foo + module + Std + + : sig ... + end -
-
-
- - module A - = Foo.A - -
-
-
-
- - module B - = Foo.B - -
-
-
-
- - module C - = Foo.C - -
-
-
- - module D - = Foo.D - -
+
+
+
+ + type stde + = Std.E.t + +
-
-
- +
+

include of Foo

+

Just for giggle, let's see what happens when we include + Foo. +

+
+
+ - module - E - - : sig ... - end + include + module + type of + Foo + +
+
+ + module A + = Foo.A + +
+
+
+
+ + module B + = Foo.B + +
+
+
+
+ + module C + = Foo.C + +
+
+
+
+ + module D + = Foo.D + +
+
+
+ + + module + E + + : sig ... + end + + +
+
+
+
+
+
+ + type testa + = A.t +
-
-
-
-
- - type testa - = A.t -
-
-

And also, let's refer to - A.t - and - Foo.B.id -

-
-
- - - module - P1 - - : sig ... - end - - +

And also, let's refer to + A.t + and + Foo.B.id +

+
+
+ + + module + P1 + + : sig ... + end + + +
-
-
-
- - - module - P2 - - : sig ... - end - - +
+
+ + + module + P2 + + : sig ... + end + + +
-
-
-
- - module X1 - = P2.Z - +
+
+ + module X1 + = P2.Z + +
-
-
-
- - module X2 - = P2.Z - +
+
+ + module X2 + = P2.Z + +
-
-
-
- - type p1 - = X1.t - +
+
+ + type p1 + = X1.t + +
-
-
-
- - type p2 - = X2.t - +
+
+ + type p2 + = X2.t + +
diff --git a/test/generators/html/Ocamlary-Buffer.html b/test/generators/html/Ocamlary-Buffer.html index 0089cb2098..46f422d581 100644 --- a/test/generators/html/Ocamlary-Buffer.html +++ b/test/generators/html/Ocamlary-Buffer.html @@ -11,21 +11,23 @@ -
-

Module Ocamlary.Buffer

-

References are resolved after everything, so {!Buffer.t} - won't resolve. -

-
-
-
-
- - - val f : - int -> unit - - +
+
+

Module Ocamlary.Buffer

+

References are resolved after everything, so {!Buffer.t} + won't resolve. +

+
+
+
+
+ + + val f : + int -> unit + + +
diff --git a/test/generators/html/Ocamlary-CanonicalTest-Base-List.html b/test/generators/html/Ocamlary-CanonicalTest-Base-List.html index 4881ad0a44..e9b15ad759 100644 --- a/test/generators/html/Ocamlary-CanonicalTest-Base-List.html +++ b/test/generators/html/Ocamlary-CanonicalTest-Base-List.html @@ -13,29 +13,31 @@ CanonicalTest » Base » List -
-

Module Base.List

-
-
-
-
- - type 'a t - +
+
+

Module Base.List

+
+
+
+
+ + type 'a t + +
-
-
-
- - - val id : - +
+
+ + + val id : + + 'a t + -> + 'a t - -> - - 'a t - - + + +
diff --git a/test/generators/html/Ocamlary-CanonicalTest-Base.html b/test/generators/html/Ocamlary-CanonicalTest-Base.html index bf8c6f0644..855f663287 100644 --- a/test/generators/html/Ocamlary-CanonicalTest-Base.html +++ b/test/generators/html/Ocamlary-CanonicalTest-Base.html @@ -12,21 +12,23 @@ Ocamlary » CanonicalTest » Base -
-

Module CanonicalTest.Base

-
-
-
-
- - - module - List - - : sig ... - end - - +
+
+

Module CanonicalTest.Base

+
+
+
+
+ + + module + List + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-CanonicalTest-Base_Tests-C.html b/test/generators/html/Ocamlary-CanonicalTest-Base_Tests-C.html index 0041a67117..c6397a2cec 100644 --- a/test/generators/html/Ocamlary-CanonicalTest-Base_Tests-C.html +++ b/test/generators/html/Ocamlary-CanonicalTest-Base_Tests-C.html @@ -15,29 +15,31 @@ Base_Tests » C -
-

Module Base_Tests.C

-
-
-
-
- - type 'a t - +
+
+

Module Base_Tests.C

+
+
+
+
+ + type 'a t + +
-
-
-
- - - val id : - +
+
+ + + val id : + + 'a t + -> + 'a t - -> - - 'a t - - + + +
diff --git a/test/generators/html/Ocamlary-CanonicalTest-Base_Tests.html b/test/generators/html/Ocamlary-CanonicalTest-Base_Tests.html index fa7e7e71ae..66ee976237 100644 --- a/test/generators/html/Ocamlary-CanonicalTest-Base_Tests.html +++ b/test/generators/html/Ocamlary-CanonicalTest-Base_Tests.html @@ -13,82 +13,84 @@ CanonicalTest » Base_Tests -
-

Module CanonicalTest.Base_Tests

-
-
-
-
- - - module - C - - : module - type of - Base.List - - +
+
+

Module CanonicalTest.Base_Tests

+
+
+
+
+ + + module + C + + : module + type of + Base.List + + +
-
-
-
- - module L - = Base.List - - +
+
+ + module L + = Base.List + + +
-
-
-
- - - val foo : - - int +
+
+ + + val foo : + + int + L.t + -> + + float L.t - -> - - float - L.t + - - + +
-
-
-
- - - val bar : - +
+
+ + + val bar : + + 'a + Base.List.t + + -> + 'a Base.List.t - -> - - 'a - Base.List.t - + - - + +
-
-
-
- - - val baz : - - 'a - Base.List.t - - -> - unit - - +
+
+ + + val baz : + + 'a + Base.List.t + + -> + unit + + +
diff --git a/test/generators/html/Ocamlary-CanonicalTest-List_modif.html b/test/generators/html/Ocamlary-CanonicalTest-List_modif.html index 255443c57b..b8a5bffe21 100644 --- a/test/generators/html/Ocamlary-CanonicalTest-List_modif.html +++ b/test/generators/html/Ocamlary-CanonicalTest-List_modif.html @@ -13,35 +13,37 @@ CanonicalTest » List_modif -
-

Module CanonicalTest.List_modif

-
-
-
-
- - type 'c t - = - 'c - Base.List.t - +
+
+

Module CanonicalTest.List_modif

+
+
+
+
+ + type 'c t + = + 'c + Base.List.t + + - - + +
-
-
-
- - - val id : - +
+
+ + + val id : + + 'a t + -> + 'a t - -> - - 'a t - - + + +
diff --git a/test/generators/html/Ocamlary-CanonicalTest.html b/test/generators/html/Ocamlary-CanonicalTest.html index e0a557bfe9..c89ba6853b 100644 --- a/test/generators/html/Ocamlary-CanonicalTest.html +++ b/test/generators/html/Ocamlary-CanonicalTest.html @@ -11,57 +11,60 @@ -
-

Module Ocamlary.CanonicalTest

-
-
-
-
- - - module - Base - - : sig ... - end - - +
+
+

Module Ocamlary.CanonicalTest

+
+
+
+
+ + + module + Base + + : sig ... + end + + +
-
-
-
- - - module - Base_Tests - - : sig ... - end - - +
+
+ + + module + Base_Tests + + : sig ... + end + + +
-
-
-
- - - module - List_modif - - : module - type of - Base.List - with - type - 'c t - = - 'c - Base.List.t - +
+
+ + + module + List_modif + + : module + type of + Base.List + with + type + 'c + t + = + 'c + Base.List.t + + - - + +
diff --git a/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-InnerModuleA'.html index b39edd951c..1b1dba0338 100644 --- a/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-InnerModuleA'.html @@ -16,23 +16,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html index 16a5d195d9..c4f5b58ba6 100644 --- a/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-CollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -18,24 +18,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-CollectionModule-InnerModuleA.html b/test/generators/html/Ocamlary-CollectionModule-InnerModuleA.html index 6d1bc0bea3..d324a035c4 100644 --- a/test/generators/html/Ocamlary-CollectionModule-InnerModuleA.html +++ b/test/generators/html/Ocamlary-CollectionModule-InnerModuleA.html @@ -13,59 +13,62 @@ CollectionModule » InnerModuleA -
-

Module CollectionModule.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - - +
+
+

Module CollectionModule.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-CollectionModule.html b/test/generators/html/Ocamlary-CollectionModule.html index a4d705a192..0354207c4c 100644 --- a/test/generators/html/Ocamlary-CollectionModule.html +++ b/test/generators/html/Ocamlary-CollectionModule.html @@ -11,58 +11,62 @@ -
-

Module Ocamlary.CollectionModule

-

This comment is for CollectionModule.

-
-
-
-
- - type collection +
+
+

Module Ocamlary.CollectionModule

+

This comment is for CollectionModule.

+
+
+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - InnerModuleA - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + InnerModuleA + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-Dep1-X-Y-class-c.html b/test/generators/html/Ocamlary-Dep1-X-Y-class-c.html index 752e8f4003..1a424154fa 100644 --- a/test/generators/html/Ocamlary-Dep1-X-Y-class-c.html +++ b/test/generators/html/Ocamlary-Dep1-X-Y-class-c.html @@ -14,13 +14,15 @@ X » Y » c -

Class Y.c

-
-
-
-
- - method m : int +
+

Class Y.c

+
+
+
+
+ + method m : int +
diff --git a/test/generators/html/Ocamlary-Dep1-X-Y.html b/test/generators/html/Ocamlary-Dep1-X-Y.html index 188837938b..e6830badde 100644 --- a/test/generators/html/Ocamlary-Dep1-X-Y.html +++ b/test/generators/html/Ocamlary-Dep1-X-Y.html @@ -13,18 +13,21 @@ Dep1 » X » Y -

Module X.Y

-
-
-
-
- - class - c - : object ... - end - - +
+
+

Module X.Y

+
+
+
+
+ + class + c + : object ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep1-X.html b/test/generators/html/Ocamlary-Dep1-X.html index 8693c56494..47143bce06 100644 --- a/test/generators/html/Ocamlary-Dep1-X.html +++ b/test/generators/html/Ocamlary-Dep1-X.html @@ -12,18 +12,21 @@ Ocamlary » Dep1 » X -
-

Module Dep1.X

-
-
-
-
- - - module - Y - : S - +
+
+

Module Dep1.X

+
+
+
+
+ + + module + Y + + : S + +
diff --git a/test/generators/html/Ocamlary-Dep1-module-type-S-class-c.html b/test/generators/html/Ocamlary-Dep1-module-type-S-class-c.html index bf600cc5f1..7626e8bc28 100644 --- a/test/generators/html/Ocamlary-Dep1-module-type-S-class-c.html +++ b/test/generators/html/Ocamlary-Dep1-module-type-S-class-c.html @@ -13,13 +13,15 @@ Dep1 » S » c -

Class S.c

-
-
-
-
- - method m : int +
+

Class S.c

+
+
+
+
+ + method m : int +
diff --git a/test/generators/html/Ocamlary-Dep1-module-type-S.html b/test/generators/html/Ocamlary-Dep1-module-type-S.html index a40e5443a3..4abcc4bc62 100644 --- a/test/generators/html/Ocamlary-Dep1-module-type-S.html +++ b/test/generators/html/Ocamlary-Dep1-module-type-S.html @@ -12,19 +12,21 @@ Ocamlary » Dep1 » S -
-

Module type Dep1.S

-
-
-
-
- - class - c - : object ... - end - - +
+
+

Module type Dep1.S

+
+
+
+
+ + class + c + : object ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep1.html b/test/generators/html/Ocamlary-Dep1.html index f3b219cbcc..830719bce1 100644 --- a/test/generators/html/Ocamlary-Dep1.html +++ b/test/generators/html/Ocamlary-Dep1.html @@ -11,35 +11,37 @@ -
-

Module Ocamlary.Dep1

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Ocamlary.Dep1

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - X - - : sig ... - end - - +
+
+ + + module + X + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep11-module-type-S-class-c.html b/test/generators/html/Ocamlary-Dep11-module-type-S-class-c.html index c14a5b0f14..059ae79981 100644 --- a/test/generators/html/Ocamlary-Dep11-module-type-S-class-c.html +++ b/test/generators/html/Ocamlary-Dep11-module-type-S-class-c.html @@ -13,13 +13,15 @@ Dep11 » S » c -

Class S.c

-
-
-
-
- - method m : int +
+

Class S.c

+
+
+
+
+ + method m : int +
diff --git a/test/generators/html/Ocamlary-Dep11-module-type-S.html b/test/generators/html/Ocamlary-Dep11-module-type-S.html index 15e1170439..5b9d43a2e3 100644 --- a/test/generators/html/Ocamlary-Dep11-module-type-S.html +++ b/test/generators/html/Ocamlary-Dep11-module-type-S.html @@ -12,19 +12,21 @@ Ocamlary » Dep11 » S -
-

Module type Dep11.S

-
-
-
-
- - class - c - : object ... - end - - +
+
+

Module type Dep11.S

+
+
+
+
+ + class + c + : object ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep11.html b/test/generators/html/Ocamlary-Dep11.html index da257e1e61..f807f8a8e5 100644 --- a/test/generators/html/Ocamlary-Dep11.html +++ b/test/generators/html/Ocamlary-Dep11.html @@ -11,22 +11,24 @@ -
-

Module Ocamlary.Dep11

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Ocamlary.Dep11

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep12-argument-1-Arg.html b/test/generators/html/Ocamlary-Dep12-argument-1-Arg.html index b9ce072dd2..99921508b9 100644 --- a/test/generators/html/Ocamlary-Dep12-argument-1-Arg.html +++ b/test/generators/html/Ocamlary-Dep12-argument-1-Arg.html @@ -12,18 +12,20 @@ Ocamlary » Dep12 » Arg -
-

Parameter Dep12.Arg

-
-
-
-
- - - module - type S - - +
+
+

Parameter Dep12.Arg

+
+
+
+
+ + + module + type S + + +
diff --git a/test/generators/html/Ocamlary-Dep12.html b/test/generators/html/Ocamlary-Dep12.html index 93c533d533..4a5cdc5303 100644 --- a/test/generators/html/Ocamlary-Dep12.html +++ b/test/generators/html/Ocamlary-Dep12.html @@ -11,40 +11,42 @@ -
-

Module Ocamlary.Dep12

-
-
-

Parameters -

-
-
- - module - Arg - : sig ... - end - - +
+
+

Module Ocamlary.Dep12

+
+
+

Parameters +

+
+
+ + module + Arg + : sig ... + end + + +
-
-

Signature

-
-
- - - module - type T - - = - Arg.S - - +

Signature

+
+
+ + + module + type T + + = + Arg.S + + +
diff --git a/test/generators/html/Ocamlary-Dep13-class-c.html b/test/generators/html/Ocamlary-Dep13-class-c.html index 45e465b1dc..946d8f9ddd 100644 --- a/test/generators/html/Ocamlary-Dep13-class-c.html +++ b/test/generators/html/Ocamlary-Dep13-class-c.html @@ -12,14 +12,16 @@ Ocamlary » Dep13 » c -
-

Class Dep13.c

-
-
-
-
- - method m : int +
+
+

Class Dep13.c

+
+
+
+
+ + method m : int +
diff --git a/test/generators/html/Ocamlary-Dep13.html b/test/generators/html/Ocamlary-Dep13.html index 42ac138c32..848811c148 100644 --- a/test/generators/html/Ocamlary-Dep13.html +++ b/test/generators/html/Ocamlary-Dep13.html @@ -11,19 +11,21 @@ -
-

Module Ocamlary.Dep13

-
-
-
-
- - class - c - : object ... - end - - +
+
+

Module Ocamlary.Dep13

+
+
+
+
+ + class + c + : object ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep2-A.html b/test/generators/html/Ocamlary-Dep2-A.html index 1016022772..f9dbab052b 100644 --- a/test/generators/html/Ocamlary-Dep2-A.html +++ b/test/generators/html/Ocamlary-Dep2-A.html @@ -12,18 +12,20 @@ Ocamlary » Dep2 » A -
-

Module Dep2.A

-
-
-
-
- - module Y - : - Arg.S - - +
+
+

Module Dep2.A

+
+
+
+
+ + module Y + : + Arg.S + + +
diff --git a/test/generators/html/Ocamlary-Dep2-argument-1-Arg-X.html b/test/generators/html/Ocamlary-Dep2-argument-1-Arg-X.html index 048bd00f2e..e21b4e25c2 100644 --- a/test/generators/html/Ocamlary-Dep2-argument-1-Arg-X.html +++ b/test/generators/html/Ocamlary-Dep2-argument-1-Arg-X.html @@ -13,18 +13,20 @@ Dep2 » Arg » X -
-

Module Arg.X

-
-
-
-
- - module Y - : - S - - +
+
+

Module Arg.X

+
+
+
+
+ + module Y + : + S + + +
diff --git a/test/generators/html/Ocamlary-Dep2-argument-1-Arg.html b/test/generators/html/Ocamlary-Dep2-argument-1-Arg.html index b7be2cf26a..1b7695e0b6 100644 --- a/test/generators/html/Ocamlary-Dep2-argument-1-Arg.html +++ b/test/generators/html/Ocamlary-Dep2-argument-1-Arg.html @@ -12,31 +12,33 @@ Ocamlary » Dep2 » Arg -
-

Parameter Dep2.Arg

-
-
-
-
- - - module - type S - - +
+
+

Parameter Dep2.Arg

+
+
+
+
+ + + module + type S + + +
-
-
-
- - - module - X - - : sig ... - end - - +
+
+ + + module + X + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep2.html b/test/generators/html/Ocamlary-Dep2.html index b31aa8d604..90090a77d6 100644 --- a/test/generators/html/Ocamlary-Dep2.html +++ b/test/generators/html/Ocamlary-Dep2.html @@ -11,48 +11,50 @@ -
-

Module Ocamlary.Dep2

-
-
-

Parameters -

-
-
- - module - Arg - : sig ... - end - - +
+
+

Module Ocamlary.Dep2

+
+
+

Parameters +

+
+
+ + module + Arg + : sig ... + end + + +
-
-

Signature

-
-
- - - module - A - - : sig ... - end - - +

Signature

+
+
+ + + module + A + + : sig ... + end + + +
-
-
-
- - module B - = A.Y - +
+
+ + module B + = A.Y + +
diff --git a/test/generators/html/Ocamlary-Dep3.html b/test/generators/html/Ocamlary-Dep3.html index a8b975d7aa..70ea59e400 100644 --- a/test/generators/html/Ocamlary-Dep3.html +++ b/test/generators/html/Ocamlary-Dep3.html @@ -11,14 +11,16 @@ -
-

Module Ocamlary.Dep3

-
-
-
-
- - type a +
+
+

Module Ocamlary.Dep3

+
+
+
+
+ + type a +
diff --git a/test/generators/html/Ocamlary-Dep4-X.html b/test/generators/html/Ocamlary-Dep4-X.html index 3bf30e20e5..3f2895a182 100644 --- a/test/generators/html/Ocamlary-Dep4-X.html +++ b/test/generators/html/Ocamlary-Dep4-X.html @@ -12,14 +12,16 @@ Ocamlary » Dep4 » X -
-

Module Dep4.X

-
-
-
-
- - type b +
+
+

Module Dep4.X

+
+
+
+
+ + type b +
diff --git a/test/generators/html/Ocamlary-Dep4-module-type-S-X.html b/test/generators/html/Ocamlary-Dep4-module-type-S-X.html index 218904f714..1d035e078b 100644 --- a/test/generators/html/Ocamlary-Dep4-module-type-S-X.html +++ b/test/generators/html/Ocamlary-Dep4-module-type-S-X.html @@ -13,13 +13,16 @@ Dep4 » S » X -

Module S.X

-
-
-
-
- - type b +
+
+

Module S.X

+
+
+
+
+ + type b +
diff --git a/test/generators/html/Ocamlary-Dep4-module-type-S-Y.html b/test/generators/html/Ocamlary-Dep4-module-type-S-Y.html index cf5babb4a8..887a7ecda6 100644 --- a/test/generators/html/Ocamlary-Dep4-module-type-S-Y.html +++ b/test/generators/html/Ocamlary-Dep4-module-type-S-Y.html @@ -13,7 +13,10 @@ Dep4 » S » Y -

Module S.Y

-
+
+
+

Module S.Y

+
+
diff --git a/test/generators/html/Ocamlary-Dep4-module-type-S.html b/test/generators/html/Ocamlary-Dep4-module-type-S.html index 4c53018ba5..d5ab37dedd 100644 --- a/test/generators/html/Ocamlary-Dep4-module-type-S.html +++ b/test/generators/html/Ocamlary-Dep4-module-type-S.html @@ -12,31 +12,34 @@ Ocamlary » Dep4 » S -
-

Module type Dep4.S

-
-
-
-
- - - module - X - : T - +
+
+

Module type Dep4.S

+
+
+
+
+ + + module + X + + : T + +
-
-
-
- - - module - Y - - : sig ... - end - - +
+
+ + + module + Y + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep4-module-type-T.html b/test/generators/html/Ocamlary-Dep4-module-type-T.html index 7e41048e44..d98194cf47 100644 --- a/test/generators/html/Ocamlary-Dep4-module-type-T.html +++ b/test/generators/html/Ocamlary-Dep4-module-type-T.html @@ -12,14 +12,16 @@ Ocamlary » Dep4 » T -
-

Module type Dep4.T

-
-
-
-
- - type b +
+
+

Module type Dep4.T

+
+
+
+
+ + type b +
diff --git a/test/generators/html/Ocamlary-Dep4.html b/test/generators/html/Ocamlary-Dep4.html index 626f1e4c5a..9a055732a7 100644 --- a/test/generators/html/Ocamlary-Dep4.html +++ b/test/generators/html/Ocamlary-Dep4.html @@ -11,46 +11,49 @@ -
-

Module Ocamlary.Dep4

-
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+

Module Ocamlary.Dep4

+
+
+
+
+ + + module + type + T + + = sig ... + end + + +
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - X - : T - +
+
+ + + module + X + + : T + +
diff --git a/test/generators/html/Ocamlary-Dep5-Z.html b/test/generators/html/Ocamlary-Dep5-Z.html index 9ba2746652..7c6071175c 100644 --- a/test/generators/html/Ocamlary-Dep5-Z.html +++ b/test/generators/html/Ocamlary-Dep5-Z.html @@ -12,26 +12,28 @@ Ocamlary » Dep5 » Z -
-

Module Dep5.Z

-
-
-
-
- - module X - : - Arg.T - - +
+
+

Module Dep5.Z

+
+
+
+
+ + module X + : + Arg.T + + +
-
-
-
- - module Y - = Dep3 - +
+
+ + module Y + = Dep3 + +
diff --git a/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S-Y.html b/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S-Y.html index 4fdc1a4677..eff8a2c0f5 100644 --- a/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S-Y.html +++ b/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S-Y.html @@ -16,7 +16,10 @@ S » Y -

Module S.Y

-
+
+
+

Module S.Y

+
+
diff --git a/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S.html b/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S.html index 4861650eeb..b47283b6e9 100644 --- a/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S.html +++ b/test/generators/html/Ocamlary-Dep5-argument-1-Arg-module-type-S.html @@ -13,31 +13,33 @@ Dep5 » Arg » S -
-

Module type Arg.S

-
-
-
-
- - module X - : - T - - +
+
+

Module type Arg.S

+
+
+
+
+ + module X + : + T + + +
-
-
-
- - - module - Y - - : sig ... - end - - +
+
+ + + module + Y + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep5-argument-1-Arg.html b/test/generators/html/Ocamlary-Dep5-argument-1-Arg.html index ee3ca8417e..e17b76cb1a 100644 --- a/test/generators/html/Ocamlary-Dep5-argument-1-Arg.html +++ b/test/generators/html/Ocamlary-Dep5-argument-1-Arg.html @@ -12,40 +12,42 @@ Ocamlary » Dep5 » Arg -
-

Parameter Dep5.Arg

-
-
-
-
- - - module - type T - - +
+
+

Parameter Dep5.Arg

+
+
+
+
+ + + module + type T + + +
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - module X - : T - +
+
+ + module X + : T + +
diff --git a/test/generators/html/Ocamlary-Dep5.html b/test/generators/html/Ocamlary-Dep5.html index 94f20b7f8e..1ba1775c4d 100644 --- a/test/generators/html/Ocamlary-Dep5.html +++ b/test/generators/html/Ocamlary-Dep5.html @@ -11,45 +11,47 @@ -
-

Module Ocamlary.Dep5

-
-
-

Parameters -

-
-
- - module - Arg - : sig ... - end - - +
+
+

Module Ocamlary.Dep5

+
+
+

Parameters +

+
+
+ + module + Arg + : sig ... + end + + +
-
-

Signature

-
-
- - - module - Z - - : - Arg.S - with +

Signature

+
+
+ + module - Y - = Dep3 + Z + + : + Arg.S + with + module + Y + = Dep3 + - - + +
diff --git a/test/generators/html/Ocamlary-Dep6-X-Y.html b/test/generators/html/Ocamlary-Dep6-X-Y.html index 180a816691..15726aa34d 100644 --- a/test/generators/html/Ocamlary-Dep6-X-Y.html +++ b/test/generators/html/Ocamlary-Dep6-X-Y.html @@ -13,13 +13,16 @@ Dep6 » X » Y -

Module X.Y

-
-
-
-
- - type d +
+
+

Module X.Y

+
+
+
+
+ + type d +
diff --git a/test/generators/html/Ocamlary-Dep6-X.html b/test/generators/html/Ocamlary-Dep6-X.html index 8f288fb436..1b7f6fb242 100644 --- a/test/generators/html/Ocamlary-Dep6-X.html +++ b/test/generators/html/Ocamlary-Dep6-X.html @@ -12,28 +12,32 @@ Ocamlary » Dep6 » X -
-

Module Dep6.X

-
-
-
-
- - - module - type R - = S - +
+
+

Module Dep6.X

+
+
+
+
+ + + module + type R + + = S + +
-
-
-
- - - module - Y - : R - +
+
+ + + module + Y + + : R + +
diff --git a/test/generators/html/Ocamlary-Dep6-module-type-S.html b/test/generators/html/Ocamlary-Dep6-module-type-S.html index 05d0445a14..bee670984a 100644 --- a/test/generators/html/Ocamlary-Dep6-module-type-S.html +++ b/test/generators/html/Ocamlary-Dep6-module-type-S.html @@ -12,14 +12,16 @@ Ocamlary » Dep6 » S -
-

Module type Dep6.S

-
-
-
-
- - type d +
+
+

Module type Dep6.S

+
+
+
+
+ + type d +
diff --git a/test/generators/html/Ocamlary-Dep6-module-type-T-Y.html b/test/generators/html/Ocamlary-Dep6-module-type-T-Y.html index a19a9ca002..32735a3df6 100644 --- a/test/generators/html/Ocamlary-Dep6-module-type-T-Y.html +++ b/test/generators/html/Ocamlary-Dep6-module-type-T-Y.html @@ -13,13 +13,16 @@ Dep6 » T » Y -

Module T.Y

-
-
-
-
- - type d +
+
+

Module T.Y

+
+
+
+
+ + type d +
diff --git a/test/generators/html/Ocamlary-Dep6-module-type-T.html b/test/generators/html/Ocamlary-Dep6-module-type-T.html index 547391214c..869dbb5c79 100644 --- a/test/generators/html/Ocamlary-Dep6-module-type-T.html +++ b/test/generators/html/Ocamlary-Dep6-module-type-T.html @@ -12,28 +12,32 @@ Ocamlary » Dep6 » T -
-

Module type Dep6.T

-
-
-
-
- - - module - type R - = S - +
+
+

Module type Dep6.T

+
+
+
+
+ + + module + type R + + = S + +
-
-
-
- - - module - Y - : R - +
+
+ + + module + Y + + : R + +
diff --git a/test/generators/html/Ocamlary-Dep6.html b/test/generators/html/Ocamlary-Dep6.html index 583f9bd97a..c2da503cd1 100644 --- a/test/generators/html/Ocamlary-Dep6.html +++ b/test/generators/html/Ocamlary-Dep6.html @@ -11,46 +11,49 @@ -
-

Module Ocamlary.Dep6

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Ocamlary.Dep6

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+ + + module + type + T + + = sig ... + end + + +
-
-
-
- - - module - X - : T - +
+
+ + + module + X + + : T + +
diff --git a/test/generators/html/Ocamlary-Dep7-M.html b/test/generators/html/Ocamlary-Dep7-M.html index 6ee05cacc2..0c792f4f75 100644 --- a/test/generators/html/Ocamlary-Dep7-M.html +++ b/test/generators/html/Ocamlary-Dep7-M.html @@ -12,31 +12,33 @@ Ocamlary » Dep7 » M -
-

Module Dep7.M

-
-
-
-
- - - module - type R - - = - Arg.S - - +
+
+

Module Dep7.M

+
+
+
+
+ + + module + type R + + = + Arg.S + + +
-
-
-
- - module Y - : - R - - +
+
+ + module Y + : + R + + +
diff --git a/test/generators/html/Ocamlary-Dep7-argument-1-Arg-X.html b/test/generators/html/Ocamlary-Dep7-argument-1-Arg-X.html index a22622aae7..dad53966b4 100644 --- a/test/generators/html/Ocamlary-Dep7-argument-1-Arg-X.html +++ b/test/generators/html/Ocamlary-Dep7-argument-1-Arg-X.html @@ -13,31 +13,33 @@ Dep7 » Arg » X -
-

Module Arg.X

-
-
-
-
- - - module - type R - - = - S - - +
+
+

Module Arg.X

+
+
+
+
+ + + module + type R + + = + S + + +
-
-
-
- - module Y - : - R - - +
+
+ + module Y + : + R + + +
diff --git a/test/generators/html/Ocamlary-Dep7-argument-1-Arg-module-type-T.html b/test/generators/html/Ocamlary-Dep7-argument-1-Arg-module-type-T.html index 914eaf0891..0643ddfc25 100644 --- a/test/generators/html/Ocamlary-Dep7-argument-1-Arg-module-type-T.html +++ b/test/generators/html/Ocamlary-Dep7-argument-1-Arg-module-type-T.html @@ -13,31 +13,33 @@ Dep7 » Arg » T -
-

Module type Arg.T

-
-
-
-
- - - module - type R - - = - S - - +
+
+

Module type Arg.T

+
+
+
+
+ + + module + type R + + = + S + + +
-
-
-
- - module Y - : - R - - +
+
+ + module Y + : + R + + +
diff --git a/test/generators/html/Ocamlary-Dep7-argument-1-Arg.html b/test/generators/html/Ocamlary-Dep7-argument-1-Arg.html index 2a507669ad..74f1e47a0e 100644 --- a/test/generators/html/Ocamlary-Dep7-argument-1-Arg.html +++ b/test/generators/html/Ocamlary-Dep7-argument-1-Arg.html @@ -12,45 +12,47 @@ Ocamlary » Dep7 » Arg -
-

Parameter Dep7.Arg

-
-
-
-
- - - module - type S - - +
+
+

Parameter Dep7.Arg

+
+
+
+
+ + + module + type S + + +
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+ + + module + type + T + + = sig ... + end + + +
-
-
-
- - - module - X - - : - T - - +
+
+ + + module + X + + : + T + + +
diff --git a/test/generators/html/Ocamlary-Dep7.html b/test/generators/html/Ocamlary-Dep7.html index d4ea9e58dc..2156672894 100644 --- a/test/generators/html/Ocamlary-Dep7.html +++ b/test/generators/html/Ocamlary-Dep7.html @@ -11,40 +11,42 @@ -
-

Module Ocamlary.Dep7

-
-
-

Parameters -

-
-
- - module - Arg - : sig ... - end - - +
+
+

Module Ocamlary.Dep7

+
+
+

Parameters +

+
+
+ + module + Arg + : sig ... + end + + +
-
-

Signature

-
-
- - - module - M - - : - Arg.T - - +

Signature

+
+
+ + + module + M + + : + Arg.T + + +
diff --git a/test/generators/html/Ocamlary-Dep8-module-type-T.html b/test/generators/html/Ocamlary-Dep8-module-type-T.html index d065a1c10c..c7e9508915 100644 --- a/test/generators/html/Ocamlary-Dep8-module-type-T.html +++ b/test/generators/html/Ocamlary-Dep8-module-type-T.html @@ -12,14 +12,16 @@ Ocamlary » Dep8 » T -
-

Module type Dep8.T

-
-
-
-
- - type t +
+
+

Module type Dep8.T

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-Dep8.html b/test/generators/html/Ocamlary-Dep8.html index 07aac748bf..a1003dea07 100644 --- a/test/generators/html/Ocamlary-Dep8.html +++ b/test/generators/html/Ocamlary-Dep8.html @@ -11,22 +11,24 @@ -
-

Module Ocamlary.Dep8

-
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+

Module Ocamlary.Dep8

+
+
+
+
+ + + module + type + T + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-Dep9-argument-1-X.html b/test/generators/html/Ocamlary-Dep9-argument-1-X.html index 396e38b2b1..5f7136020c 100644 --- a/test/generators/html/Ocamlary-Dep9-argument-1-X.html +++ b/test/generators/html/Ocamlary-Dep9-argument-1-X.html @@ -12,18 +12,20 @@ Ocamlary » Dep9 » X -
-

Parameter Dep9.X

-
-
-
-
- - - module - type T - - +
+
+

Parameter Dep9.X

+
+
+
+
+ + + module + type T + + +
diff --git a/test/generators/html/Ocamlary-Dep9.html b/test/generators/html/Ocamlary-Dep9.html index 54b9cc35c7..1594e352be 100644 --- a/test/generators/html/Ocamlary-Dep9.html +++ b/test/generators/html/Ocamlary-Dep9.html @@ -11,40 +11,42 @@ -
-

Module Ocamlary.Dep9

-
-
-

Parameters -

-
-
- - module - X - : sig ... - end - - +
+
+

Module Ocamlary.Dep9

+
+
+

Parameters +

+
+
+ + module + X + : sig ... + end + + +
-
-

Signature

-
-
- - - module - type T - - = - X.T - - +

Signature

+
+
+ + + module + type T + + = + X.T + + +
diff --git a/test/generators/html/Ocamlary-DoubleInclude1-DoubleInclude2.html b/test/generators/html/Ocamlary-DoubleInclude1-DoubleInclude2.html index 7066b4a4cf..c0e779a382 100644 --- a/test/generators/html/Ocamlary-DoubleInclude1-DoubleInclude2.html +++ b/test/generators/html/Ocamlary-DoubleInclude1-DoubleInclude2.html @@ -13,15 +13,17 @@ DoubleInclude1 » DoubleInclude2 -
-

Module DoubleInclude1.DoubleInclude2

-
-
-
-
- - type double_include - +
+
+

Module DoubleInclude1.DoubleInclude2

+
+
+
+
+ + type double_include + +
diff --git a/test/generators/html/Ocamlary-DoubleInclude1.html b/test/generators/html/Ocamlary-DoubleInclude1.html index fccd1e1c0c..233468802a 100644 --- a/test/generators/html/Ocamlary-DoubleInclude1.html +++ b/test/generators/html/Ocamlary-DoubleInclude1.html @@ -11,22 +11,24 @@ -
-

Module Ocamlary.DoubleInclude1

-
-
-
-
- - - module - DoubleInclude2 - - - : sig ... - end - - +
+
+

Module Ocamlary.DoubleInclude1

+
+
+
+
+ + + module + DoubleInclude2 + + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-DoubleInclude3-DoubleInclude2.html b/test/generators/html/Ocamlary-DoubleInclude3-DoubleInclude2.html index 618be034c2..d51bbf9d4e 100644 --- a/test/generators/html/Ocamlary-DoubleInclude3-DoubleInclude2.html +++ b/test/generators/html/Ocamlary-DoubleInclude3-DoubleInclude2.html @@ -13,15 +13,17 @@ DoubleInclude3 » DoubleInclude2 -
-

Module DoubleInclude3.DoubleInclude2

-
-
-
-
- - type double_include - +
+
+

Module DoubleInclude3.DoubleInclude2

+
+
+
+
+ + type double_include + +
diff --git a/test/generators/html/Ocamlary-DoubleInclude3.html b/test/generators/html/Ocamlary-DoubleInclude3.html index ed03521f87..3128d2fff8 100644 --- a/test/generators/html/Ocamlary-DoubleInclude3.html +++ b/test/generators/html/Ocamlary-DoubleInclude3.html @@ -11,36 +11,39 @@ -
-

Module Ocamlary.DoubleInclude3

-
-
-
-
- - - include - module type - of - DoubleInclude1 - - - -
-
- +
+
+

Module Ocamlary.DoubleInclude3

+
+
+
+
+ - module - DoubleInclude2 - - - : sig ... - end + include + module + type of + DoubleInclude1 + +
+
+ + + module + + DoubleInclude2 + + + : sig ... + end + + +
-
-
+ +
diff --git a/test/generators/html/Ocamlary-Empty.html b/test/generators/html/Ocamlary-Empty.html index d264d54fc0..dcd6c50514 100644 --- a/test/generators/html/Ocamlary-Empty.html +++ b/test/generators/html/Ocamlary-Empty.html @@ -11,10 +11,12 @@ -
-

Module Ocamlary.Empty

-

A plain, empty module

-

This module has a signature without any members.

-
+
+
+

Module Ocamlary.Empty

+

A plain, empty module

+

This module has a signature without any members.

+
+
diff --git a/test/generators/html/Ocamlary-ExtMod.html b/test/generators/html/Ocamlary-ExtMod.html index 15bc9f9648..1cbe88c027 100644 --- a/test/generators/html/Ocamlary-ExtMod.html +++ b/test/generators/html/Ocamlary-ExtMod.html @@ -11,34 +11,36 @@ -
-

Module Ocamlary.ExtMod

-
-
-
-
- - type t = - .. - +
+
+

Module Ocamlary.ExtMod

+
+
+
+
+ + type t = + .. + +
-
-
-
- - - type t += - - -
    -
  1. - - | - Leisureforce - -
  2. -
+
+
+ + + type t += + + +
    +
  1. + + | + Leisureforce + +
  2. +
+
diff --git a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-InnerModuleA'.html index e35dd40b8b..64f3cba5f4 100644 --- a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-InnerModuleA'.html @@ -22,23 +22,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-module-type-InnerModuleTypeA'.html index 8f2338b705..20a373c162 100644 --- a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -22,24 +22,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA.html b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA.html index 6fd32dcd58..9cc60a8682 100644 --- a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA.html +++ b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection-InnerModuleA.html @@ -16,62 +16,65 @@ Collection » InnerModuleA -
-

Module Collection.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - - +
+
+

Module Collection.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection.html b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection.html index 8461006cae..6d0bd551e0 100644 --- a/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection.html +++ b/test/generators/html/Ocamlary-FunctorTypeOf-argument-1-Collection.html @@ -13,61 +13,64 @@ FunctorTypeOf » Collection -
-

Parameter FunctorTypeOf.Collection

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Parameter FunctorTypeOf.Collection

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - - InnerModuleA - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + + InnerModuleA + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-FunctorTypeOf.html b/test/generators/html/Ocamlary-FunctorTypeOf.html index bfa17284dc..eb3c1c3292 100644 --- a/test/generators/html/Ocamlary-FunctorTypeOf.html +++ b/test/generators/html/Ocamlary-FunctorTypeOf.html @@ -11,47 +11,50 @@ -
-

Module Ocamlary.FunctorTypeOf

-

This comment is for FunctorTypeOf.

-
-
-

Parameters -

-
-
- - module - - Collection - - - : module - type of - CollectionModule - - +
+
+

Module Ocamlary.FunctorTypeOf

+

This comment is for FunctorTypeOf.

+
+
+

Parameters +

+
+
+ + module + + + Collection + + + : module + type of + CollectionModule + + +
-
-

Signature

-
-
- - type t - = - Collection.collection - - - +

Signature

+
+
+ + type t + = + Collection.collection + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-IncludeInclude1-IncludeInclude2_M.html b/test/generators/html/Ocamlary-IncludeInclude1-IncludeInclude2_M.html index 19d2e19e3a..9396db5ea0 100644 --- a/test/generators/html/Ocamlary-IncludeInclude1-IncludeInclude2_M.html +++ b/test/generators/html/Ocamlary-IncludeInclude1-IncludeInclude2_M.html @@ -14,9 +14,11 @@ IncludeInclude1 » IncludeInclude2_M -
-

Module IncludeInclude1.IncludeInclude2_M -

-
+
+
+

Module IncludeInclude1.IncludeInclude2_M +

+
+
diff --git a/test/generators/html/Ocamlary-IncludeInclude1-module-type-IncludeInclude2.html b/test/generators/html/Ocamlary-IncludeInclude1-module-type-IncludeInclude2.html index ab18909659..3e176b31bd 100644 --- a/test/generators/html/Ocamlary-IncludeInclude1-module-type-IncludeInclude2.html +++ b/test/generators/html/Ocamlary-IncludeInclude1-module-type-IncludeInclude2.html @@ -14,16 +14,18 @@ IncludeInclude1 » IncludeInclude2 -
-

Module type IncludeInclude1.IncludeInclude2 -

-
-
-
-
- - type include_include - +
+
+

Module type IncludeInclude1.IncludeInclude2 +

+
+
+
+
+ + type include_include + +
diff --git a/test/generators/html/Ocamlary-IncludeInclude1.html b/test/generators/html/Ocamlary-IncludeInclude1.html index 409b48abd0..4a8182e2be 100644 --- a/test/generators/html/Ocamlary-IncludeInclude1.html +++ b/test/generators/html/Ocamlary-IncludeInclude1.html @@ -11,39 +11,41 @@ -
-

Module Ocamlary.IncludeInclude1

-
-
-
-
- - - module - type - - IncludeInclude2 - - - = sig ... - end - - +
+
+

Module Ocamlary.IncludeInclude1

+
+
+
+
+ + + module + type + + IncludeInclude2 + + + = sig ... + end + + +
-
-
-
- - - module - - IncludeInclude2_M - - - : sig ... - end - - +
+
+ + + module + + IncludeInclude2_M + + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-IncludeInclude2_M.html b/test/generators/html/Ocamlary-IncludeInclude2_M.html index 4f05cb3526..c03630d668 100644 --- a/test/generators/html/Ocamlary-IncludeInclude2_M.html +++ b/test/generators/html/Ocamlary-IncludeInclude2_M.html @@ -11,8 +11,10 @@ -
-

Module Ocamlary.IncludeInclude2_M

-
+
+
+

Module Ocamlary.IncludeInclude2_M

+
+
diff --git a/test/generators/html/Ocamlary-IncludedA.html b/test/generators/html/Ocamlary-IncludedA.html index 57a59fa987..c319cdc510 100644 --- a/test/generators/html/Ocamlary-IncludedA.html +++ b/test/generators/html/Ocamlary-IncludedA.html @@ -11,14 +11,16 @@ -
-

Module Ocamlary.IncludedA

-
-
-
-
- - type t +
+
+

Module Ocamlary.IncludedA

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-M.html b/test/generators/html/Ocamlary-M.html index 33ee9aaa1b..b12c601afc 100644 --- a/test/generators/html/Ocamlary-M.html +++ b/test/generators/html/Ocamlary-M.html @@ -11,14 +11,16 @@ -
-

Module Ocamlary.M

-
-
-
-
- - type t +
+
+

Module Ocamlary.M

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-ModuleWithSignature.html b/test/generators/html/Ocamlary-ModuleWithSignature.html index a038c5540f..70f9746207 100644 --- a/test/generators/html/Ocamlary-ModuleWithSignature.html +++ b/test/generators/html/Ocamlary-ModuleWithSignature.html @@ -11,12 +11,14 @@ -
-

Module Ocamlary.ModuleWithSignature

-

A plain module of a signature of - EmptySig - (reference) -

-
+
+
+

Module Ocamlary.ModuleWithSignature

+

A plain module of a signature of + EmptySig + (reference) +

+
+
diff --git a/test/generators/html/Ocamlary-ModuleWithSignatureAlias.html b/test/generators/html/Ocamlary-ModuleWithSignatureAlias.html index 317d2ce1c1..8ed9af04ab 100644 --- a/test/generators/html/Ocamlary-ModuleWithSignatureAlias.html +++ b/test/generators/html/Ocamlary-ModuleWithSignatureAlias.html @@ -12,14 +12,16 @@ -
-

Module Ocamlary.ModuleWithSignatureAlias -

A plain module with an alias signature

-
    -
  • deprecated -

    I don't like this element any more.

    -
  • -
-
+
+
+

Module Ocamlary.ModuleWithSignatureAlias +

A plain module with an alias signature

+
    +
  • deprecated +

    I don't like this element any more.

    +
  • +
+
+
diff --git a/test/generators/html/Ocamlary-One.html b/test/generators/html/Ocamlary-One.html index 1bfd9e8867..84b80a2881 100644 --- a/test/generators/html/Ocamlary-One.html +++ b/test/generators/html/Ocamlary-One.html @@ -11,14 +11,16 @@ -
-

Module Ocamlary.One

-
-
-
-
- - type one +
+
+

Module Ocamlary.One

+
+
+
+
+ + type one +
diff --git a/test/generators/html/Ocamlary-Only_a_module.html b/test/generators/html/Ocamlary-Only_a_module.html index 19a8e15d08..b319bca661 100644 --- a/test/generators/html/Ocamlary-Only_a_module.html +++ b/test/generators/html/Ocamlary-Only_a_module.html @@ -11,14 +11,16 @@ -
-

Module Ocamlary.Only_a_module

-
-
-
-
- - type t +
+
+

Module Ocamlary.Only_a_module

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-Recollection-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-Recollection-InnerModuleA-InnerModuleA'.html index 4c8a299c76..05dd56b629 100644 --- a/test/generators/html/Ocamlary-Recollection-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-Recollection-InnerModuleA-InnerModuleA'.html @@ -16,23 +16,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-Recollection-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-Recollection-InnerModuleA-module-type-InnerModuleTypeA'.html index 43fa9b06e4..ed11dcb492 100644 --- a/test/generators/html/Ocamlary-Recollection-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-Recollection-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -17,23 +17,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-Recollection-InnerModuleA.html b/test/generators/html/Ocamlary-Recollection-InnerModuleA.html index 43ee95c939..f4940f5be7 100644 --- a/test/generators/html/Ocamlary-Recollection-InnerModuleA.html +++ b/test/generators/html/Ocamlary-Recollection-InnerModuleA.html @@ -13,58 +13,61 @@ Recollection » InnerModuleA -
-

Module Recollection.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - +
+
+

Module Recollection.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-InnerModuleA'.html index e7c4b1b3fc..194b653a9c 100644 --- a/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-InnerModuleA'.html @@ -18,23 +18,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-module-type-InnerModuleTypeA'.html index a815b91b52..f3bdf5605b 100644 --- a/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -19,24 +19,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA.html b/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA.html index 7e64a49be0..cd7fae9edb 100644 --- a/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA.html +++ b/test/generators/html/Ocamlary-Recollection-argument-1-C-InnerModuleA.html @@ -15,61 +15,64 @@ C » InnerModuleA -
-

Module C.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - - collection - - - +
+
+

Module C.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-Recollection-argument-1-C.html b/test/generators/html/Ocamlary-Recollection-argument-1-C.html index a9a318ca46..8cc7b37e12 100644 --- a/test/generators/html/Ocamlary-Recollection-argument-1-C.html +++ b/test/generators/html/Ocamlary-Recollection-argument-1-C.html @@ -12,60 +12,63 @@ Ocamlary » Recollection » C -
-

Parameter Recollection.C

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Parameter Recollection.C

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - - InnerModuleA - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + + InnerModuleA + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-Recollection.html b/test/generators/html/Ocamlary-Recollection.html index fa50f669bc..aa79f0d584 100644 --- a/test/generators/html/Ocamlary-Recollection.html +++ b/test/generators/html/Ocamlary-Recollection.html @@ -11,90 +11,93 @@ -
-

Module Ocamlary.Recollection

-
-
-

Parameters -

-
-
- - module - C - : COLLECTION - - -
-
-

Signature

-

This comment is for CollectionModule.

-
-
- - type collection - = - - - C.element - list +
+
+

Module Ocamlary.Recollection

+
+
+

Parameters +

+
+
+ + module + C + : COLLECTION - - + +
-

This comment is for collection.

-
-
-
-
- - type element - = - - C.collection - - - -
-
-
-
- - - module - InnerModuleA - - : sig ... - end - - +

Signature

+

This comment is for CollectionModule.

+
+
+ + type collection + = + + + C.element + list + + + +
+
+

This comment is for collection.

+
-
-

This comment is for InnerModuleA.

+
+
+ + type element + = + + C.collection + + + +
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + InnerModuleA + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-With10-module-type-T-M.html b/test/generators/html/Ocamlary-With10-module-type-T-M.html index 1893ee8ecc..56f42b4806 100644 --- a/test/generators/html/Ocamlary-With10-module-type-T-M.html +++ b/test/generators/html/Ocamlary-With10-module-type-T-M.html @@ -13,17 +13,20 @@ With10 » T » M -

Module T.M

-
-
-
-
- - - module - type S - - +
+
+

Module T.M

+
+
+
+
+ + + module + type S + + +
diff --git a/test/generators/html/Ocamlary-With10-module-type-T.html b/test/generators/html/Ocamlary-With10-module-type-T.html index 7f4d25d301..2db14d4e3f 100644 --- a/test/generators/html/Ocamlary-With10-module-type-T.html +++ b/test/generators/html/Ocamlary-With10-module-type-T.html @@ -12,32 +12,34 @@ Ocamlary » With10 » T -
-

Module type With10.T

-

With10.T is a submodule type.

-
-
-
-
- - - module - M - - : sig ... - end - - +
+
+

Module type With10.T

+

With10.T is a submodule type.

+
+
+
+
+ + + module + M + + : sig ... + end + + +
-
-
-
- - module N - : - M.S - - +
+
+ + module N + : + M.S + + +
diff --git a/test/generators/html/Ocamlary-With10.html b/test/generators/html/Ocamlary-With10.html index c3c8c9c539..a0185e11f7 100644 --- a/test/generators/html/Ocamlary-With10.html +++ b/test/generators/html/Ocamlary-With10.html @@ -11,28 +11,30 @@ -
-

Module Ocamlary.With10

-
-
-
-
- - - module - type - T - - = sig ... - end - - -
-
-

- With10.T - is a submodule type. -

+
+
+

Module Ocamlary.With10

+
+
+
+
+ + + module + type + T + + = sig ... + end + + +
+
+

+ With10.T + is a submodule type. +

+
diff --git a/test/generators/html/Ocamlary-With2-module-type-S.html b/test/generators/html/Ocamlary-With2-module-type-S.html index 7f4579addc..61e507841e 100644 --- a/test/generators/html/Ocamlary-With2-module-type-S.html +++ b/test/generators/html/Ocamlary-With2-module-type-S.html @@ -12,14 +12,16 @@ Ocamlary » With2 » S -
-

Module type With2.S

-
-
-
-
- - type t +
+
+

Module type With2.S

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-With2.html b/test/generators/html/Ocamlary-With2.html index 999b500132..1c36128fef 100644 --- a/test/generators/html/Ocamlary-With2.html +++ b/test/generators/html/Ocamlary-With2.html @@ -11,22 +11,24 @@ -
-

Module Ocamlary.With2

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Ocamlary.With2

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-With3-N.html b/test/generators/html/Ocamlary-With3-N.html index a84df71fe7..2584a40ad8 100644 --- a/test/generators/html/Ocamlary-With3-N.html +++ b/test/generators/html/Ocamlary-With3-N.html @@ -12,14 +12,16 @@ Ocamlary » With3 » N -
-

Module With3.N

-
-
-
-
- - type t +
+
+

Module With3.N

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-With3.html b/test/generators/html/Ocamlary-With3.html index 293b28e00e..7f8b91e85a 100644 --- a/test/generators/html/Ocamlary-With3.html +++ b/test/generators/html/Ocamlary-With3.html @@ -11,27 +11,29 @@ -
-

Module Ocamlary.With3

-
-
-
-
- - module M - = With2 - +
+
+

Module Ocamlary.With3

+
+
+
+
+ + module M + = With2 + +
-
-
-
- - - module - N - - : M.S - +
+
+ + + module + N + + : M.S + +
diff --git a/test/generators/html/Ocamlary-With4-N.html b/test/generators/html/Ocamlary-With4-N.html index 5828a125dd..e924b21714 100644 --- a/test/generators/html/Ocamlary-With4-N.html +++ b/test/generators/html/Ocamlary-With4-N.html @@ -12,14 +12,16 @@ Ocamlary » With4 » N -
-

Module With4.N

-
-
-
-
- - type t +
+
+

Module With4.N

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-With4.html b/test/generators/html/Ocamlary-With4.html index 1f81af0b53..0d76535c6d 100644 --- a/test/generators/html/Ocamlary-With4.html +++ b/test/generators/html/Ocamlary-With4.html @@ -11,19 +11,22 @@ -
-

Module Ocamlary.With4

-
-
-
-
- - - module - N - - : With2.S - +
+
+

Module Ocamlary.With4

+
+
+
+
+ + + module + N + + : With2.S + + +
diff --git a/test/generators/html/Ocamlary-With5-N.html b/test/generators/html/Ocamlary-With5-N.html index c77d56dfc8..1c2b18c1fd 100644 --- a/test/generators/html/Ocamlary-With5-N.html +++ b/test/generators/html/Ocamlary-With5-N.html @@ -12,14 +12,16 @@ Ocamlary » With5 » N -
-

Module With5.N

-
-
-
-
- - type t +
+
+

Module With5.N

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-With5-module-type-S.html b/test/generators/html/Ocamlary-With5-module-type-S.html index 128b9f76c0..49eeee9455 100644 --- a/test/generators/html/Ocamlary-With5-module-type-S.html +++ b/test/generators/html/Ocamlary-With5-module-type-S.html @@ -12,14 +12,16 @@ Ocamlary » With5 » S -
-

Module type With5.S

-
-
-
-
- - type t +
+
+

Module type With5.S

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-With5.html b/test/generators/html/Ocamlary-With5.html index c3e73b3076..4f43b4db4d 100644 --- a/test/generators/html/Ocamlary-With5.html +++ b/test/generators/html/Ocamlary-With5.html @@ -11,33 +11,35 @@ -
-

Module Ocamlary.With5

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Ocamlary.With5

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
-
-
-
- - - module - N - - : S - +
+
+ + + module + N + + : S + +
diff --git a/test/generators/html/Ocamlary-With6-module-type-T-M.html b/test/generators/html/Ocamlary-With6-module-type-T-M.html index c735a130c3..18b4e71cb1 100644 --- a/test/generators/html/Ocamlary-With6-module-type-T-M.html +++ b/test/generators/html/Ocamlary-With6-module-type-T-M.html @@ -13,25 +13,28 @@ With6 » T » M -

Module T.M

-
-
-
-
- - - module - type S - - +
+
+

Module T.M

+
+
+
+
+ + + module + type S + + +
-
-
-
- - module N - : S - +
+
+ + module N + : S + +
diff --git a/test/generators/html/Ocamlary-With6-module-type-T.html b/test/generators/html/Ocamlary-With6-module-type-T.html index cba997eb23..a481a361b9 100644 --- a/test/generators/html/Ocamlary-With6-module-type-T.html +++ b/test/generators/html/Ocamlary-With6-module-type-T.html @@ -12,21 +12,23 @@ Ocamlary » With6 » T -
-

Module type With6.T

-
-
-
-
- - - module - M - - : sig ... - end - - +
+
+

Module type With6.T

+
+
+
+
+ + + module + M + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-With6.html b/test/generators/html/Ocamlary-With6.html index 9eb1a0df4c..1f3d36bfae 100644 --- a/test/generators/html/Ocamlary-With6.html +++ b/test/generators/html/Ocamlary-With6.html @@ -11,22 +11,24 @@ -
-

Module Ocamlary.With6

-
-
-
-
- - - module - type - T - - = sig ... - end - - +
+
+

Module Ocamlary.With6

+
+
+
+
+ + + module + type + T + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-With7-argument-1-X.html b/test/generators/html/Ocamlary-With7-argument-1-X.html index 2e903e1f98..4a701de3cd 100644 --- a/test/generators/html/Ocamlary-With7-argument-1-X.html +++ b/test/generators/html/Ocamlary-With7-argument-1-X.html @@ -12,18 +12,20 @@ Ocamlary » With7 » X -
-

Parameter With7.X

-
-
-
-
- - - module - type T - - +
+
+

Parameter With7.X

+
+
+
+
+ + + module + type T + + +
diff --git a/test/generators/html/Ocamlary-With7.html b/test/generators/html/Ocamlary-With7.html index d54512d9fd..8d4829e7d3 100644 --- a/test/generators/html/Ocamlary-With7.html +++ b/test/generators/html/Ocamlary-With7.html @@ -11,40 +11,42 @@ -
-

Module Ocamlary.With7

-
-
-

Parameters -

-
-
- - module - X - : sig ... - end - - +
+
+

Module Ocamlary.With7

+
+
+

Parameters +

+
+
+ + module + X + : sig ... + end + + +
-
-

Signature

-
-
- - - module - type T - - = - X.T - - +

Signature

+
+
+ + + module + type T + + = + X.T + + +
diff --git a/test/generators/html/Ocamlary-With9-module-type-S.html b/test/generators/html/Ocamlary-With9-module-type-S.html index f0af532ce5..dc1dbdab25 100644 --- a/test/generators/html/Ocamlary-With9-module-type-S.html +++ b/test/generators/html/Ocamlary-With9-module-type-S.html @@ -12,14 +12,16 @@ Ocamlary » With9 » S -
-

Module type With9.S

-
-
-
-
- - type t +
+
+

Module type With9.S

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-With9.html b/test/generators/html/Ocamlary-With9.html index 994fbaf3d2..c7598fdc30 100644 --- a/test/generators/html/Ocamlary-With9.html +++ b/test/generators/html/Ocamlary-With9.html @@ -11,22 +11,24 @@ -
-

Module Ocamlary.With9

-
-
-
-
- - - module - type - S - - = sig ... - end - - +
+
+

Module Ocamlary.With9

+
+
+
+
+ + + module + type + S + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-class-empty_class.html b/test/generators/html/Ocamlary-class-empty_class.html index 1a1edd6271..925216c4c2 100644 --- a/test/generators/html/Ocamlary-class-empty_class.html +++ b/test/generators/html/Ocamlary-class-empty_class.html @@ -11,8 +11,10 @@ -
-

Class Ocamlary.empty_class

-
+
+
+

Class Ocamlary.empty_class

+
+
diff --git a/test/generators/html/Ocamlary-class-one_method_class.html b/test/generators/html/Ocamlary-class-one_method_class.html index 3cac229f07..b375e73d69 100644 --- a/test/generators/html/Ocamlary-class-one_method_class.html +++ b/test/generators/html/Ocamlary-class-one_method_class.html @@ -11,14 +11,16 @@ -
-

Class Ocamlary.one_method_class

-
-
-
-
- - method go : unit +
+
+

Class Ocamlary.one_method_class

+
+
+
+
+ + method go : unit +
diff --git a/test/generators/html/Ocamlary-class-param_class.html b/test/generators/html/Ocamlary-class-param_class.html index 537cc72ce3..38e44d4e0d 100644 --- a/test/generators/html/Ocamlary-class-param_class.html +++ b/test/generators/html/Ocamlary-class-param_class.html @@ -11,18 +11,20 @@ -
-

Class Ocamlary.param_class

-
-
-
-
- - - method v : - 'a - - +
+
+

Class Ocamlary.param_class

+
+
+
+
+ + + method v : + 'a + + +
diff --git a/test/generators/html/Ocamlary-class-two_method_class.html b/test/generators/html/Ocamlary-class-two_method_class.html index e3fcb22f11..5a957402d0 100644 --- a/test/generators/html/Ocamlary-class-two_method_class.html +++ b/test/generators/html/Ocamlary-class-two_method_class.html @@ -11,25 +11,27 @@ -
-

Class Ocamlary.two_method_class

-
-
-
-
- - - method one : - one_method_class - - +
+
+

Class Ocamlary.two_method_class

+
+
+
+
+ + + method one : + one_method_class + + +
-
-
-
- - method undo : unit - +
+
+ + method undo : unit + +
diff --git a/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-InnerModuleA'.html index b6aaaa24c6..d5e1b3c43b 100644 --- a/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-InnerModuleA'.html @@ -16,23 +16,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-module-type-InnerModuleTypeA'.html index 9c4dd5f9c0..7b4857b192 100644 --- a/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -17,24 +17,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA.html b/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA.html index 08a963d03d..c9fd39ce0b 100644 --- a/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA.html +++ b/test/generators/html/Ocamlary-module-type-A-Q-InnerModuleA.html @@ -13,58 +13,62 @@ A » Q » InnerModuleA -
-

Module Q.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - +
+
+

Module Q.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-module-type-A-Q.html b/test/generators/html/Ocamlary-module-type-A-Q.html index 48e5b7aaeb..4bf6f47077 100644 --- a/test/generators/html/Ocamlary-module-type-A-Q.html +++ b/test/generators/html/Ocamlary-module-type-A-Q.html @@ -12,57 +12,61 @@ Ocamlary » A » Q -

Module A.Q

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Module A.Q

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - InnerModuleA - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + InnerModuleA + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-module-type-A.html b/test/generators/html/Ocamlary-module-type-A.html index 4ea5f2f2b0..93d4b72e6f 100644 --- a/test/generators/html/Ocamlary-module-type-A.html +++ b/test/generators/html/Ocamlary-module-type-A.html @@ -11,26 +11,28 @@ -
-

Module type Ocamlary.A

-
-
-
-
- - type t +
+
+

Module type Ocamlary.A

+
+
+
+
+ + type t +
-
-
-
- - - module - Q - - : COLLECTION - - +
+
+ + + module + Q + + : COLLECTION + + +
diff --git a/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-InnerModuleA'.html index 6129ce3c98..37b81f7e4d 100644 --- a/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-InnerModuleA'.html @@ -16,23 +16,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-module-type-InnerModuleTypeA'.html index bb7e66791a..ef61fa711a 100644 --- a/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -17,24 +17,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA.html b/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA.html index 30293fad24..d7daa85c4d 100644 --- a/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA.html +++ b/test/generators/html/Ocamlary-module-type-B-Q-InnerModuleA.html @@ -13,58 +13,62 @@ B » Q » InnerModuleA -
-

Module Q.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - +
+
+

Module Q.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-module-type-B-Q.html b/test/generators/html/Ocamlary-module-type-B-Q.html index 427abfe7c0..543f2b8239 100644 --- a/test/generators/html/Ocamlary-module-type-B-Q.html +++ b/test/generators/html/Ocamlary-module-type-B-Q.html @@ -12,57 +12,61 @@ Ocamlary » B » Q -

Module B.Q

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Module B.Q

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - InnerModuleA - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + InnerModuleA + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-module-type-B.html b/test/generators/html/Ocamlary-module-type-B.html index f27836fb02..7835d59071 100644 --- a/test/generators/html/Ocamlary-module-type-B.html +++ b/test/generators/html/Ocamlary-module-type-B.html @@ -11,26 +11,28 @@ -
-

Module type Ocamlary.B

-
-
-
-
- - type t +
+
+

Module type Ocamlary.B

+
+
+
+
+ + type t +
-
-
-
- - - module - Q - - : COLLECTION - - +
+
+ + + module + Q + + : COLLECTION + + +
diff --git a/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-InnerModuleA'.html index fb21daa109..9f451cc118 100644 --- a/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-InnerModuleA'.html @@ -16,23 +16,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-module-type-InnerModuleTypeA'.html index f0c744f06d..6ee112f580 100644 --- a/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -17,24 +17,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA.html b/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA.html index 7035f2d0c9..e3b823deed 100644 --- a/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA.html +++ b/test/generators/html/Ocamlary-module-type-C-Q-InnerModuleA.html @@ -13,58 +13,62 @@ C » Q » InnerModuleA -
-

Module Q.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - +
+
+

Module Q.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-module-type-C-Q.html b/test/generators/html/Ocamlary-module-type-C-Q.html index 3b143f68b4..98e7d980e9 100644 --- a/test/generators/html/Ocamlary-module-type-C-Q.html +++ b/test/generators/html/Ocamlary-module-type-C-Q.html @@ -12,57 +12,61 @@ Ocamlary » C » Q -

Module C.Q

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Module C.Q

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - InnerModuleA - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + InnerModuleA + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-module-type-C.html b/test/generators/html/Ocamlary-module-type-C.html index 80ae739b51..ed87b673c9 100644 --- a/test/generators/html/Ocamlary-module-type-C.html +++ b/test/generators/html/Ocamlary-module-type-C.html @@ -11,67 +11,69 @@ -
-

Module type Ocamlary.C

-

This module type includes two signatures.

-
    -
  • it includes A -
  • -
  • it includes B - with some substitution -
  • -
-
-
-
-
- - - include - A - - - -
-
- - type t -
-
-
-
- +
+
+

Module type Ocamlary.C

+

This module type includes two signatures.

+
    +
  • it includes A +
  • +
  • it includes B + with some substitution +
  • +
+
+
+
+
+ - module - Q - - : - COLLECTION + include + A + +
+
+ + type t +
-
-
-
-
-
- - - include - B - with - type - t := - t - and - module - Q := - Q +
+
+ + + module + Q + + : + COLLECTION + + +
+
+
+
+
+
+ + + include + B + with + type + t := + t + and + module + Q := + Q + - - - -
+
+ + +
diff --git a/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-InnerModuleA'.html index ccbfd7adf8..418c00ef17 100644 --- a/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-InnerModuleA'.html @@ -17,23 +17,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-module-type-InnerModuleTypeA'.html index 3d3455f9d3..38b57f7ddb 100644 --- a/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -18,24 +18,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA.html b/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA.html index 0a53fce3ab..a5844e9643 100644 --- a/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA.html +++ b/test/generators/html/Ocamlary-module-type-COLLECTION-InnerModuleA.html @@ -13,61 +13,64 @@ COLLECTION » InnerModuleA -
-

Module COLLECTION.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - - collection - - - +
+
+

Module COLLECTION.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-module-type-COLLECTION.html b/test/generators/html/Ocamlary-module-type-COLLECTION.html index d7e16b53e5..c4c2832128 100644 --- a/test/generators/html/Ocamlary-module-type-COLLECTION.html +++ b/test/generators/html/Ocamlary-module-type-COLLECTION.html @@ -11,61 +11,64 @@ -
-

Module type Ocamlary.COLLECTION

-

module type of

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Module type Ocamlary.COLLECTION

+

module type of

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - - InnerModuleA - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + + InnerModuleA + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-module-type-Dep10.html b/test/generators/html/Ocamlary-module-type-Dep10.html index f2212590e1..91fb9b19ae 100644 --- a/test/generators/html/Ocamlary-module-type-Dep10.html +++ b/test/generators/html/Ocamlary-module-type-Dep10.html @@ -11,16 +11,18 @@ -
-

Module type Ocamlary.Dep10

-
-
-
-
- - type t - = int - +
+
+

Module type Ocamlary.Dep10

+
+
+
+
+ + type t + = int + +
diff --git a/test/generators/html/Ocamlary-module-type-Empty.html b/test/generators/html/Ocamlary-module-type-Empty.html index 401c9fd28d..d6d082c560 100644 --- a/test/generators/html/Ocamlary-module-type-Empty.html +++ b/test/generators/html/Ocamlary-module-type-Empty.html @@ -11,15 +11,17 @@ -
-

Module type Ocamlary.Empty

-

An ambiguous, misnamed module type

-
-
-
-
- - type t +
+
+

Module type Ocamlary.Empty

+

An ambiguous, misnamed module type

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-module-type-EmptySig.html b/test/generators/html/Ocamlary-module-type-EmptySig.html index 9eefbf71fe..3cc2df9af7 100644 --- a/test/generators/html/Ocamlary-module-type-EmptySig.html +++ b/test/generators/html/Ocamlary-module-type-EmptySig.html @@ -11,9 +11,11 @@ -
-

Module type Ocamlary.EmptySig

-

A plain, empty module signature

-
+
+
+

Module type Ocamlary.EmptySig

+

A plain, empty module signature

+
+
diff --git a/test/generators/html/Ocamlary-module-type-IncludeInclude2.html b/test/generators/html/Ocamlary-module-type-IncludeInclude2.html index 52bea017a5..d7ecb88d45 100644 --- a/test/generators/html/Ocamlary-module-type-IncludeInclude2.html +++ b/test/generators/html/Ocamlary-module-type-IncludeInclude2.html @@ -11,15 +11,17 @@ -
-

Module type Ocamlary.IncludeInclude2

-
-
-
-
- - type include_include - +
+
+

Module type Ocamlary.IncludeInclude2

+
+
+
+
+ + type include_include + +
diff --git a/test/generators/html/Ocamlary-module-type-IncludeModuleType.html b/test/generators/html/Ocamlary-module-type-IncludeModuleType.html index 1bcc388202..bfd0fb05be 100644 --- a/test/generators/html/Ocamlary-module-type-IncludeModuleType.html +++ b/test/generators/html/Ocamlary-module-type-IncludeModuleType.html @@ -11,24 +11,26 @@ -
-

Module type Ocamlary.IncludeModuleType

-

This comment is for IncludeModuleType.

-
-
-
-
-

This comment is for include EmptySigAlias.

+
+
+

Module type Ocamlary.IncludeModuleType

+

This comment is for IncludeModuleType.

+
+
+
+
+

This comment is for include EmptySigAlias.

+
+
+ + + include + EmptySigAlias + + + +
-
- - - include - EmptySigAlias - - - -
diff --git a/test/generators/html/Ocamlary-module-type-IncludedB.html b/test/generators/html/Ocamlary-module-type-IncludedB.html index b0ecdbad54..ded451b193 100644 --- a/test/generators/html/Ocamlary-module-type-IncludedB.html +++ b/test/generators/html/Ocamlary-module-type-IncludedB.html @@ -11,14 +11,16 @@ -
-

Module type Ocamlary.IncludedB

-
-
-
-
- - type s +
+
+

Module type Ocamlary.IncludedB

+
+
+
+
+ + type s +
diff --git a/test/generators/html/Ocamlary-module-type-M.html b/test/generators/html/Ocamlary-module-type-M.html index d72f4a98af..a12cd21f8c 100644 --- a/test/generators/html/Ocamlary-module-type-M.html +++ b/test/generators/html/Ocamlary-module-type-M.html @@ -11,14 +11,16 @@ -
-

Module type Ocamlary.M

-
-
-
-
- - type t +
+
+

Module type Ocamlary.M

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-InnerModuleA'.html index 9ebbd1fd8f..c7576b8c6a 100644 --- a/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-InnerModuleA'.html @@ -17,23 +17,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-module-type-InnerModuleTypeA'.html index a0e5afe6d7..71ec901eb2 100644 --- a/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -17,24 +17,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA.html b/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA.html index 8e135704f9..4acafe96bc 100644 --- a/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA.html +++ b/test/generators/html/Ocamlary-module-type-MMM-C-InnerModuleA.html @@ -13,59 +13,62 @@ MMM » C » InnerModuleA -
-

Module C.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - collection - - - +
+
+

Module C.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-module-type-MMM-C.html b/test/generators/html/Ocamlary-module-type-MMM-C.html index 2034b9261e..92f0d502b8 100644 --- a/test/generators/html/Ocamlary-module-type-MMM-C.html +++ b/test/generators/html/Ocamlary-module-type-MMM-C.html @@ -12,59 +12,62 @@ – Ocamlary » MMM » C -
-

Module MMM.C

-
-
-

This comment is for CollectionModule.

-
-
- - type collection +
+
+

Module MMM.C

+
+
+

This comment is for CollectionModule.

+
+
+ + type collection +
+
+

This comment is for collection.

+
-

This comment is for collection.

+
+
+ + type element +
-
-
-
- - type element -
-
-
-
- - - module - InnerModuleA - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA.

-
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + InnerModuleA + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
diff --git a/test/generators/html/Ocamlary-module-type-MMM.html b/test/generators/html/Ocamlary-module-type-MMM.html index 28a623b3bf..d2f2bcd43a 100644 --- a/test/generators/html/Ocamlary-module-type-MMM.html +++ b/test/generators/html/Ocamlary-module-type-MMM.html @@ -11,20 +11,22 @@ -
-

Module type Ocamlary.MMM

-
-
-
-
- - - module - C - - : COLLECTION - - +
+
+

Module type Ocamlary.MMM

+
+
+
+
+ + + module + C + + : COLLECTION + + +
diff --git a/test/generators/html/Ocamlary-module-type-MissingComment.html b/test/generators/html/Ocamlary-module-type-MissingComment.html index 021676ffaa..5615efccb9 100644 --- a/test/generators/html/Ocamlary-module-type-MissingComment.html +++ b/test/generators/html/Ocamlary-module-type-MissingComment.html @@ -11,15 +11,17 @@ -
-

Module type Ocamlary.MissingComment

-

An ambiguous, misnamed module type

-
-
-
-
- - type t +
+
+

Module type Ocamlary.MissingComment

+

An ambiguous, misnamed module type

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-module-type-NestedInclude1-module-type-NestedInclude2.html b/test/generators/html/Ocamlary-module-type-NestedInclude1-module-type-NestedInclude2.html index d337b25719..c191d1409b 100644 --- a/test/generators/html/Ocamlary-module-type-NestedInclude1-module-type-NestedInclude2.html +++ b/test/generators/html/Ocamlary-module-type-NestedInclude1-module-type-NestedInclude2.html @@ -14,16 +14,18 @@ NestedInclude1 » NestedInclude2 -
-

Module type NestedInclude1.NestedInclude2 -

-
-
-
-
- - type nested_include - +
+
+

Module type NestedInclude1.NestedInclude2 +

+
+
+
+
+ + type nested_include + +
diff --git a/test/generators/html/Ocamlary-module-type-NestedInclude1.html b/test/generators/html/Ocamlary-module-type-NestedInclude1.html index 6572d84a78..d960f95f3b 100644 --- a/test/generators/html/Ocamlary-module-type-NestedInclude1.html +++ b/test/generators/html/Ocamlary-module-type-NestedInclude1.html @@ -11,25 +11,27 @@ -
-

Module type Ocamlary.NestedInclude1

-
-
-
-
- - - module - type - NestedInclude2 - - - = sig ... - end - - +
+
+

Module type Ocamlary.NestedInclude1

+
+
+
+
+ + + module + type + NestedInclude2 + + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-module-type-NestedInclude2.html b/test/generators/html/Ocamlary-module-type-NestedInclude2.html index 48bdeb6ca0..62b54b81da 100644 --- a/test/generators/html/Ocamlary-module-type-NestedInclude2.html +++ b/test/generators/html/Ocamlary-module-type-NestedInclude2.html @@ -11,15 +11,17 @@ -
-

Module type Ocamlary.NestedInclude2

-
-
-
-
- - type nested_include - +
+
+

Module type Ocamlary.NestedInclude2

+
+
+
+
+ + type nested_include + +
diff --git a/test/generators/html/Ocamlary-module-type-RECOLLECTION.html b/test/generators/html/Ocamlary-module-type-RECOLLECTION.html index f9ccababeb..64c8e2a538 100644 --- a/test/generators/html/Ocamlary-module-type-RECOLLECTION.html +++ b/test/generators/html/Ocamlary-module-type-RECOLLECTION.html @@ -11,19 +11,21 @@ -
-

Module type Ocamlary.RECOLLECTION

-
-
-
-
- - module C - = - Recollection(CollectionModule) - - - +
+
+

Module type Ocamlary.RECOLLECTION

+
+
+
+
+ + module C + = + Recollection(CollectionModule) + + + +
diff --git a/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-InnerModuleA'.html b/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-InnerModuleA'.html index 06374d1462..f7bcb878c8 100644 --- a/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-InnerModuleA'.html +++ b/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-InnerModuleA'.html @@ -19,23 +19,25 @@ InnerModuleA » InnerModuleA' -
-

Module InnerModuleA.InnerModuleA'

-

This comment is for InnerModuleA'.

-
-
-
-
- - type t - = - (unit, unit) - a_function +
+
+

Module InnerModuleA.InnerModuleA'

+

This comment is for InnerModuleA'.

+
+
+
+
+ + type t + = + (unit, unit) + a_function + - - + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html b/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html index db645fcd0d..319af3f450 100644 --- a/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html +++ b/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA-module-type-InnerModuleTypeA'.html @@ -20,24 +20,26 @@ InnerModuleA » InnerModuleTypeA' -
-

Module type InnerModuleA.InnerModuleTypeA' -

This comment is for InnerModuleTypeA'.

-
-
-
-
- - type t - = - InnerModuleA'.t - - - +
+
+

Module type InnerModuleA.InnerModuleTypeA' +

This comment is for InnerModuleTypeA'.

+
+
+
+
+ + type t + = + InnerModuleA'.t + + + +
+

This comment is for t.

-

This comment is for t.

diff --git a/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA.html b/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA.html index 28413964a8..589756bbd9 100644 --- a/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA.html +++ b/test/generators/html/Ocamlary-module-type-RecollectionModule-InnerModuleA.html @@ -14,61 +14,65 @@ RecollectionModule » InnerModuleA -
-

Module RecollectionModule.InnerModuleA

-

This comment is for InnerModuleA.

-
-
-
-
- - type t - = - - collection - - - +
+
+

Module RecollectionModule.InnerModuleA

+

This comment is for InnerModuleA.

+
+
+
+
+ + type t + = + + collection + + + +
+

This comment is for t.

-

This comment is for t.

-
-
-
- - - module - InnerModuleA' - - - : sig ... - end - - -
-
-

This comment is for InnerModuleA'.

-
-
-
-
- - - module - type - InnerModuleTypeA' - - - = sig ... - end - - +
+
+ + + module + InnerModuleA' + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA'.

+
-
-

This comment is for InnerModuleTypeA'.

+
+
+ + + module + type + InnerModuleTypeA' + + + = sig ... + end + + +
+
+

This comment is for InnerModuleTypeA'.

+
diff --git a/test/generators/html/Ocamlary-module-type-RecollectionModule.html b/test/generators/html/Ocamlary-module-type-RecollectionModule.html index 438060b007..24048cac34 100644 --- a/test/generators/html/Ocamlary-module-type-RecollectionModule.html +++ b/test/generators/html/Ocamlary-module-type-RecollectionModule.html @@ -11,84 +11,88 @@ -
-

Module type Ocamlary.RecollectionModule

-
-
-
-
- - - include - sig ... end - - - -
-
- - type collection - = - - - CollectionModule.element - list - - - -
-
-
-
- - type element - = - - CollectionModule.collection - - - -
-
-
-
- +
+
+

Module type Ocamlary.RecollectionModule +

+
+
+
+
+ - module - - InnerModuleA - - - : sig ... + include + sig ... end + +
+
+ + type collection + = + + + CollectionModule.element + list + + + +
-
-

This comment is for InnerModuleA.

+
+
+ + type element + = + + CollectionModule.collection + + + +
-
-
-
- - - module - type InnerModuleTypeA - - = - InnerModuleA.InnerModuleTypeA' - - - +
+
+ + + module + + InnerModuleA + + + : sig ... + end + + +
+
+

This comment is for InnerModuleA.

+
-
-

This comment is for InnerModuleTypeA.

+
+
+ + + module + type InnerModuleTypeA + + = + InnerModuleA.InnerModuleTypeA' + + + +
+
+

This comment is for InnerModuleTypeA.

+
-
-
+
+
diff --git a/test/generators/html/Ocamlary-module-type-SigForMod-Inner-module-type-Empty.html b/test/generators/html/Ocamlary-module-type-SigForMod-Inner-module-type-Empty.html index 6dc4dcf6bb..17f0cc1c1f 100644 --- a/test/generators/html/Ocamlary-module-type-SigForMod-Inner-module-type-Empty.html +++ b/test/generators/html/Ocamlary-module-type-SigForMod-Inner-module-type-Empty.html @@ -15,8 +15,10 @@ Inner » Empty -
-

Module type Inner.Empty

-
+
+
+

Module type Inner.Empty

+
+
diff --git a/test/generators/html/Ocamlary-module-type-SigForMod-Inner.html b/test/generators/html/Ocamlary-module-type-SigForMod-Inner.html index 8badaf7f9a..a130c3ad6a 100644 --- a/test/generators/html/Ocamlary-module-type-SigForMod-Inner.html +++ b/test/generators/html/Ocamlary-module-type-SigForMod-Inner.html @@ -13,24 +13,26 @@ SigForMod » Inner -
-

Module SigForMod.Inner

-
-
-
-
- - - module - type - - Empty - - - = sig ... - end - - +
+
+

Module SigForMod.Inner

+
+
+
+
+ + + module + type + + Empty + + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-module-type-SigForMod.html b/test/generators/html/Ocamlary-module-type-SigForMod.html index 57ab3c2248..418e8146a1 100644 --- a/test/generators/html/Ocamlary-module-type-SigForMod.html +++ b/test/generators/html/Ocamlary-module-type-SigForMod.html @@ -11,22 +11,24 @@ -
-

Module type Ocamlary.SigForMod

-

There's a signature in a module in this signature.

-
-
-
-
- - - module - Inner - - : sig ... - end - - +
+
+

Module type Ocamlary.SigForMod

+

There's a signature in a module in this signature.

+
+
+
+
+ + + module + Inner + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-EmptySig.html b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-EmptySig.html index 99efe54607..ea2c1afdbb 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-EmptySig.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-EmptySig.html @@ -13,15 +13,17 @@ SuperSig » EmptySig -
-

Module type SuperSig.EmptySig

-
-
-
-
- - type not_actually_empty - +
+
+

Module type SuperSig.EmptySig

+
+
+
+
+ + type not_actually_empty + +
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-One.html b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-One.html index c833befbc5..e6bb71cecb 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-One.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-One.html @@ -13,14 +13,16 @@ SuperSig » One -
-

Module type SuperSig.One

-
-
-
-
- - type two +
+
+

Module type SuperSig.One

+
+
+
+
+ + type two +
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA-SubSigAMod.html b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA-SubSigAMod.html index 76c468104a..bfc76abb8a 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA-SubSigAMod.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA-SubSigAMod.html @@ -16,15 +16,17 @@ SubSigA » SubSigAMod -
-

Module SubSigA.SubSigAMod

-
-
-
-
- - type sub_sig_a_mod - +
+
+

Module SubSigA.SubSigAMod

+
+
+
+
+ + type sub_sig_a_mod + +
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA.html b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA.html index 28c57a2e1e..4b6216af34 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigA.html @@ -13,39 +13,41 @@ SuperSig » SubSigA -
-

Module type SuperSig.SubSigA

-
-
-

A Labeled Section - Header Inside of a Signature -

-
-
- - type t +
+
+

Module type SuperSig.SubSigA

+
+
+

A Labeled Section + Header Inside of a Signature +

+
+
+ + type t +
-
-
-
- - - module - SubSigAMod - - - : sig ... - end - - +
+
+ + + module + SubSigAMod + + + : sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigB.html b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigB.html index 0a531823ce..7fe75ba41a 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigB.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SubSigB.html @@ -13,9 +13,6 @@ SuperSig » SubSigB -
-

Module type SuperSig.SubSigB

-
-
-

Another Labeled - Section Header Inside of a Signature -

-
-
- - type t +
+
+

Module type SuperSig.SubSigB

+
+
+

Another Labeled + Section Header Inside of a Signature +

+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SuperSig.html b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SuperSig.html index a8abb86244..aef8cb7493 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SuperSig.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig-module-type-SuperSig.html @@ -13,8 +13,10 @@ SuperSig » SuperSig -
-

Module type SuperSig.SuperSig

-
+
+
+

Module type SuperSig.SuperSig

+
+
diff --git a/test/generators/html/Ocamlary-module-type-SuperSig.html b/test/generators/html/Ocamlary-module-type-SuperSig.html index 8c285ea01e..46721111a9 100644 --- a/test/generators/html/Ocamlary-module-type-SuperSig.html +++ b/test/generators/html/Ocamlary-module-type-SuperSig.html @@ -11,86 +11,88 @@ -
-

Module type Ocamlary.SuperSig

-
-
-
-
- - - module - type - - SubSigA - - - = sig ... - end - - +
+
+

Module type Ocamlary.SuperSig

+
+
+
+
+ + + module + type + + SubSigA + + + = sig ... + end + + +
-
-
-
- - - module - type - - SubSigB - - - = sig ... - end - - +
+
+ + + module + type + + SubSigB + + + = sig ... + end + + +
-
-
-
- - - module - type - - EmptySig - - - = sig ... - end - - +
+
+ + + module + type + + EmptySig + + + = sig ... + end + + +
-
-
-
- - - module - type - One - - = sig ... - end - - +
+
+ + + module + type + One + + = sig ... + end + + +
-
-
-
- - - module - type - - SuperSig - - - = sig ... - end - - +
+
+ + + module + type + + SuperSig + + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-module-type-ToInclude-IncludedA.html b/test/generators/html/Ocamlary-module-type-ToInclude-IncludedA.html index 55f1b27889..aa22d7ba92 100644 --- a/test/generators/html/Ocamlary-module-type-ToInclude-IncludedA.html +++ b/test/generators/html/Ocamlary-module-type-ToInclude-IncludedA.html @@ -13,14 +13,16 @@ ToInclude » IncludedA -
-

Module ToInclude.IncludedA

-
-
-
-
- - type t +
+
+

Module ToInclude.IncludedA

+
+
+
+
+ + type t +
diff --git a/test/generators/html/Ocamlary-module-type-ToInclude-module-type-IncludedB.html b/test/generators/html/Ocamlary-module-type-ToInclude-module-type-IncludedB.html index c8698aab52..ef56eab499 100644 --- a/test/generators/html/Ocamlary-module-type-ToInclude-module-type-IncludedB.html +++ b/test/generators/html/Ocamlary-module-type-ToInclude-module-type-IncludedB.html @@ -13,14 +13,16 @@ ToInclude » IncludedB -
-

Module type ToInclude.IncludedB

-
-
-
-
- - type s +
+
+

Module type ToInclude.IncludedB

+
+
+
+
+ + type s +
diff --git a/test/generators/html/Ocamlary-module-type-ToInclude.html b/test/generators/html/Ocamlary-module-type-ToInclude.html index 6eca3a4395..595c597fe2 100644 --- a/test/generators/html/Ocamlary-module-type-ToInclude.html +++ b/test/generators/html/Ocamlary-module-type-ToInclude.html @@ -11,37 +11,39 @@ -
-

Module type Ocamlary.ToInclude

-
-
-
-
- - - module - IncludedA - - : sig ... - end - - +
+
+

Module type Ocamlary.ToInclude

+
+
+
+
+ + + module + IncludedA + + : sig ... + end + + +
-
-
-
- - - module - type - - IncludedB - - - = sig ... - end - - +
+
+ + + module + type + + IncludedB + + + = sig ... + end + + +
diff --git a/test/generators/html/Ocamlary-module-type-TypeExt.html b/test/generators/html/Ocamlary-module-type-TypeExt.html index cb03216854..6c30433f6d 100644 --- a/test/generators/html/Ocamlary-module-type-TypeExt.html +++ b/test/generators/html/Ocamlary-module-type-TypeExt.html @@ -11,43 +11,45 @@ -
-

Module type Ocamlary.TypeExt

-
-
-
-
- - type t = - .. - +
+
+

Module type Ocamlary.TypeExt

+
+
+
+
+ + type t = + .. + +
-
-
-
- - - type t += - - -
    -
  1. - - | C - -
  2. -
+
+
+ + + type t += + + +
    +
  1. + + | C + +
  2. +
+
-
-
-
- - - val f : - t -> - unit - - +
+
+ + + val f : + t -> + unit + + +
diff --git a/test/generators/html/Ocamlary-module-type-TypeExtPruned.html b/test/generators/html/Ocamlary-module-type-TypeExtPruned.html index c4377ba8fc..4212458990 100644 --- a/test/generators/html/Ocamlary-module-type-TypeExtPruned.html +++ b/test/generators/html/Ocamlary-module-type-TypeExtPruned.html @@ -11,37 +11,39 @@ -
-

Module type Ocamlary.TypeExtPruned

-
-
-
-
- - - type - new_t += - - -
    -
  1. - - | C - -
  2. -
+
+
+

Module type Ocamlary.TypeExtPruned

+
+
+
+
+ + + type + new_t += + + +
    +
  1. + + | C + +
  2. +
+
-
-
-
- - - val f : - new_t - -> - unit - - +
+
+ + + val f : + new_t + -> + unit + + +
diff --git a/test/generators/html/Ocamlary-module-type-With1-M.html b/test/generators/html/Ocamlary-module-type-With1-M.html index 935fd8d2c8..05343c400d 100644 --- a/test/generators/html/Ocamlary-module-type-With1-M.html +++ b/test/generators/html/Ocamlary-module-type-With1-M.html @@ -12,18 +12,20 @@ – Ocamlary » With1 » M -
-

Module With1.M

-
-
-
-
- - - module - type S - - +
+
+

Module With1.M

+
+
+
+
+ + + module + type S + + +
diff --git a/test/generators/html/Ocamlary-module-type-With1.html b/test/generators/html/Ocamlary-module-type-With1.html index d61e112e75..d3e78e3557 100644 --- a/test/generators/html/Ocamlary-module-type-With1.html +++ b/test/generators/html/Ocamlary-module-type-With1.html @@ -11,31 +11,33 @@ -
-

Module type Ocamlary.With1

-
-
-
-
- - - module - M - - : sig ... - end - - +
+
+

Module type Ocamlary.With1

+
+
+
+
+ + + module + M + + : sig ... + end + + +
-
-
-
- - module N - : - M.S - - +
+
+ + module N + : + M.S + + +
diff --git a/test/generators/html/Ocamlary-module-type-With11-N.html b/test/generators/html/Ocamlary-module-type-With11-N.html index 147604da66..36f29830f4 100644 --- a/test/generators/html/Ocamlary-module-type-With11-N.html +++ b/test/generators/html/Ocamlary-module-type-With11-N.html @@ -12,16 +12,18 @@ – Ocamlary » With11 » N -
-

Module With11.N

-
-
-
-
- - type t - = int - +
+
+

Module With11.N

+
+
+
+
+ + type t + = int + +
diff --git a/test/generators/html/Ocamlary-module-type-With11.html b/test/generators/html/Ocamlary-module-type-With11.html index 0854a0e67b..0a26bcc88e 100644 --- a/test/generators/html/Ocamlary-module-type-With11.html +++ b/test/generators/html/Ocamlary-module-type-With11.html @@ -11,32 +11,34 @@ -
-

Module type Ocamlary.With11

-
-
-
-
- - module M - = With9 - +
+
+

Module type Ocamlary.With11

+
+
+
+
+ + module M + = With9 + +
-
-
-
- - - module - N - - : M.S - with - type - t = int +
+
+ + + module + N + + : M.S + with + type + t = int + - - + +
diff --git a/test/generators/html/Ocamlary-module-type-With8-M-N.html b/test/generators/html/Ocamlary-module-type-With8-M-N.html index 9b26443835..9d7ae0b691 100644 --- a/test/generators/html/Ocamlary-module-type-With8-M-N.html +++ b/test/generators/html/Ocamlary-module-type-With8-M-N.html @@ -13,15 +13,18 @@ With8 » M » N -

Module M.N

-
-
-
-
- - type t - = With5.N.t - +
+
+

Module M.N

+
+
+
+
+ + type t + = With5.N.t + +
diff --git a/test/generators/html/Ocamlary-module-type-With8-M.html b/test/generators/html/Ocamlary-module-type-With8-M.html index 34ca55a6f7..09886723e8 100644 --- a/test/generators/html/Ocamlary-module-type-With8-M.html +++ b/test/generators/html/Ocamlary-module-type-With8-M.html @@ -12,41 +12,44 @@ – Ocamlary » With8 » M -
-

Module With8.M

-
-
-
-
- - - module - type S - - = With5.S - +
+
+

Module With8.M

+
+
+
+
+ + + module + type S + + = With5.S + + +
-
-
-
- - - module - N - - : module - type of - struct - include - With5.N - end with - - type - t = - With5.N.t +
+
+ + + module + N + + : module + type of + struct + include + With5.N + end with + + type + t = + With5.N.t + - - + +
diff --git a/test/generators/html/Ocamlary-module-type-With8.html b/test/generators/html/Ocamlary-module-type-With8.html index b1987e1a7a..b5c5d3120b 100644 --- a/test/generators/html/Ocamlary-module-type-With8.html +++ b/test/generators/html/Ocamlary-module-type-With8.html @@ -11,30 +11,32 @@ -
-

Module type Ocamlary.With8

-
-
-
-
- - - module - M - - : module - type of - struct - include - With5 - end with - - type - N.t = - With5.N.t +
+
+

Module type Ocamlary.With8

+
+
+
+
+ + + module + M - - + : module + type of + struct + include + With5 + end with + + type + N.t = + With5.N.t + + + +
diff --git a/test/generators/html/Ocamlary.html b/test/generators/html/Ocamlary.html index 5391f2470f..ca32adaf70 100644 --- a/test/generators/html/Ocamlary.html +++ b/test/generators/html/Ocamlary.html @@ -8,25 +8,6 @@ -
-

Module Ocamlary

-

This is an interface with all of the - module system features. This documentation demonstrates: -

-
  • comment formatting
  • unassociated comments
  • -
  • documentation sections
  • -
  • module system documentation including

    -
    1. submodules
    2. module aliases
    3. module types
    4. -
    5. module type aliases
    6. modules with signatures
    7. -
    8. modules with aliased signatures
    9. -
    -
  • -

A numbered list:

  1. 3
  2. 2
  3. 1
-

David Sheets is the author.

-
    -
  • author David Sheets
  • -
-
-
-

You may find more information about this HTML documentation renderer - at - github.com/dsheets/ocamlary - . -

This is some verbatim text:

verbatim
-

This is some verbatim text:

[][df[]]}}
-

Here is some raw LaTeX:

-

Here is an index table of Empty modules:

-
    -
  • Empty - A plain, empty module -
  • -
  • EmptyAlias - A plain module alias of Empty -
  • -

Odoc doesn't support {!indexlist}.

-

Here is some superscript: x2

-

Here is some subscript: x0

-

Here are some escaped brackets: { [ @ ] }

-

Here is some emphasis followed by code.

-

An unassociated comment

-

Level 1

-

Level 2

-

Level 3

-
Level 4
-

- Basic module stuff -

-
-
- - - module - Empty - - : sig ... - end - - -

A plain, empty module

-
-
-
- - - module - type - Empty - - = sig ... - end - - -
-

An ambiguous, misnamed module type

-
-
-
- - - module - type - MissingComment - - = sig ... - end - - -
-

An ambiguous, misnamed module type

-

Section 9000

-
-
- - module EmptyAlias - = Empty - -
-

A plain module alias of Empty

-
-
-

EmptySig

-
-
- - - module - type - EmptySig - - = sig ... - end - - -

A plain, empty module signature

-
-
-
- - - module - type EmptySigAlias - - = EmptySig - - -
-

A plain, empty module signature alias of

-
-
-
-
- - - module - ModuleWithSignature - - : EmptySig - - +
+
+

Module Ocamlary

+

This is an interface with all of the + module system features. This documentation demonstrates: +

+
  • comment formatting
  • unassociated comments
  • +
  • documentation sections
  • +
  • module system documentation including

    +
    1. submodules
    2. module aliases
    3. module types
    4. +
    5. module type aliases
    6. modules with signatures
    7. +
    8. modules with aliased signatures
    9. +
    +
  • +

A numbered list:

  1. 3
  2. 2
  3. 1
+

David Sheets is the author.

+
    +
  • author David Sheets
  • +
+
+
+

You may find more information about this HTML documentation renderer + at + + github.com/dsheets/ocamlary + . +

This is some verbatim text:

verbatim
+

This is some verbatim text:

[][df[]]}}
+

Here is some raw LaTeX:

+

Here is an index table of Empty modules:

+
    +
  • Empty + A plain, empty module +
  • +
  • EmptyAlias + A plain module alias of Empty + +
  • +

Odoc doesn't support {!indexlist}.

+

Here is some superscript: x2

+

Here is some subscript: x0

+

Here are some escaped brackets: { [ @ ] }

+

Here is some emphasis followed by code.

+

An unassociated comment

+

Level 1

+

Level 2

+

Level 3

+
Level 4
+

+ Basic module stuff +

+
+
+ + + module + Empty + + : sig ... + end + + +

A plain, empty module

-
-

A plain module of a signature of - EmptySig - (reference) -

+
+
+ + + module + type + Empty + + = sig ... + end + + +
+

An ambiguous, misnamed module type

-
-
-
- - - module - - ModuleWithSignatureAlias - - - : EmptySigAlias - - +
+
+ + + module + type + MissingComment + + = sig ... + end + + +
+

An ambiguous, misnamed module type

+
+

Section 9000

+
+
+ + module EmptyAlias + = Empty + +
+

A plain module alias of Empty

+
-

A plain module with an alias signature

-
-
-
- - - module - One - - : sig ... - end - - +

EmptySig

+
+
+ + + module + type + EmptySig + + = sig ... + end + + +

A plain, empty module signature

-
-
-
- - - module - type - SigForMod - - = sig ... - end - - +
+
+ + + module + type EmptySigAlias + + = EmptySig + + +
+

A plain, empty module signature alias of

+
-
-

There's a signature in a module in this signature.

+
+
+ + + module + ModuleWithSignature + + : EmptySig + + +
+
+

A plain module of a signature of + EmptySig + (reference) +

+
-
-
-
- - - module - type - SuperSig - - = sig ... - end - - +
+
+ + + module + + ModuleWithSignatureAlias + + + : + EmptySigAlias + + +
+

A plain module with an alias signature

+
-
-

For a good time, see - A Labeled Section Header Inside of a Signature - or - Another Labeled Section Header Inside of a Signature - or - - SuperSig.EmptySig - . Section Section 9000 is - also interesting. EmptySig - is the section and - EmptySig - is the module signature. -

-
-
- - - module - Buffer - - : sig ... - end - - -
-
-

References are resolved after everything, so {!Buffer.t} - won't resolve. -

-
-

Some text before exception title.

-

- Basic exception - stuff -

After exception title.

-
-
- - exception - Kaboom - of unit - - -

Unary exception constructor

-
-
-
- - exception - Kablam - of unit * unit - - -

Binary exception constructor

-
-
-
- - exception - Kapow - of unit * unit - - +
+
+ + + module + One + + : sig ... + end + + +
-
-

Unary exception constructor over binary tuple

+
+
+ + + module + type + SigForMod + + = sig ... + end + + +
+
+

There's a signature in a module in this signature.

+
-
-
-
- - exception - EmptySig - -
-
-

- EmptySig - is a module and - EmptySig is this - exception. -

+
+
+ + + module + type + SuperSig + + = sig ... + end + + +
-
-
-
- - exception - EmptySigAlias - -
-
-

EmptySigAlias - is this exception. -

+

For a good time, see + A Labeled Section Header Inside of a Signature + or + Another Labeled Section Header Inside of a Signature + or + + SuperSig.EmptySig + . Section Section 9000 is + also interesting. EmptySig + is the section and + EmptySig + is the module signature. +

+
+
+ + + module + Buffer + + : sig ... + end + + +
+
+

References are resolved after everything, so + {!Buffer.t} won't resolve. +

+
+

Some text before exception title.

+

+ Basic exception + stuff +

After exception title.

+
+
+ + exception + Kaboom + of unit + + +

Unary exception constructor

+
+
+
+ + exception + Kablam + of unit * unit + + +

Binary exception constructor

+
+
+
+ + exception + Kapow + of unit * unit + + +
+
+

Unary exception constructor over binary tuple

+
-
-

- - Basic type and value stuff with advanced doc comments -

-
-
- - - type - ('a, 'b) a_function - - = - 'a - -> - 'b - - +
+
+ + exception + EmptySig + +
+
+

+ EmptySig + is a module and + EmptySig is this + exception. +

+
-
-

a_function is this - type and a_function - is the value below. -

+
+
+ + exception + EmptySigAlias + +
+
+

EmptySigAlias + is this exception. +

+
-
-
-
- - - val a_function : - x:int - -> - int - - +

+ + Basic type and value stuff with advanced doc comments +

+
+
+ + + type + ('a, 'b) a_function + + = + 'a + -> + 'b + + +
+
+

a_function is this + type and a_function + is the value below. +

+
-
-

This is a_function with param and return type.

-
    -
  • parameter - x

    the x coordinate

    -
  • -
-
    -
  • returns -

    the y coordinate

    -
  • -
+
+
+ + + val a_function : + x:int + -> + int + + +
+
+

This is a_function with param and return type.

+
    +
  • parameter + x

    the x coordinate

    +
  • +
+
    +
  • returns +

    the y coordinate

    +
  • +
+
-
-
-
- - - val fun_fun_fun : - - ( - (int, int) - a_function - , - (unit, unit) - a_function - ) - a_function +
+
+ + + val fun_fun_fun : + + ( + (int, int) + a_function + , + (unit, unit) + a_function + ) + a_function + - - + +
-
-
-
- - - val fun_maybe : - ?yes:unit - -> - unit -> - int - - +
+
+ + + val fun_maybe : + ?yes:unit + -> + unit -> + int + + +
-
-
-
- - - val not_found : - unit -> unit - - +
+
+ + + val not_found : + unit -> unit + + +
+
+
    +
  • raises + Not_found

    That's all it does

    +
  • +
+
-
-
    -
  • raises - Not_found

    That's all it does

    -
  • -
+
+
+ + + val kaboom : + unit -> unit + + +
+
+
    +
  • raises + Kaboom +

    That's all it does

    +
  • +
+
-
-
-
- - - val kaboom : - unit -> unit - - +
+
+ + val ocaml_org : string + +
+
+ +
-
-
    -
  • raises - Kaboom -

    That's all it does

    -
  • -
+
+
+ + val some_file : string + +
+
+
    +
  • see + some_file +

    The file called some_file

    +
  • +
+
-
-
-
- - val ocaml_org : string - -
-
- +
+
+ + val some_doc : string + +
+
+
    +
  • see + some_doc +

    The document called some_doc

    +
  • +
+
-
-
-
- - val some_file : string - -
-
-
    -
  • see - some_file -

    The file called some_file

    -
  • -
+
+
+ + + val since_mesozoic : unit + +
+
+

This value was introduced in the Mesozoic era.

+
    +
  • since mesozoic
  • +
+
-
-
-
- - val some_doc : string - -
-
-
    -
  • see - some_doc -

    The document called some_doc

    -
  • -
+
+
+ + val changing : unit + +
+
+

This value has had changes in 1.0.0, 1.1.0, and 1.2.0.

+
    +
  • before + 1.0.0

    before 1.0.0

    +
  • +
+
    +
  • before + 1.1.0

    before 1.1.0

    +
  • +
+
    +
  • version 1.2.0
  • +
+
-
-
-
- - - val since_mesozoic : unit - -
-
-

This value was introduced in the Mesozoic era.

-
    -
  • since mesozoic
  • -
+

+ Some Operators +

+
+
+ + val (~-) : unit +
-
-
-
- - val changing : unit - -
-
-

This value has had changes in 1.0.0, 1.1.0, and 1.2.0.

-
    -
  • before - 1.0.0

    before 1.0.0

    -
  • -
-
    -
  • before - 1.1.0

    before 1.1.0

    -
  • -
-
    -
  • version 1.2.0
  • -
+
+
+ + val (!) : unit +
-
-

- Some Operators -

-
-
- - val (~-) : unit +
+
+ + val (@) : unit +
-
-
-
- - val (!) : unit +
+
+ + val ($) : unit +
-
-
-
- - val (@) : unit +
+
+ + val (%) : unit +
-
-
-
- - val ($) : unit +
+
+ + val (&) : unit + +
-
-
-
- - val (%) : unit +
+
+ + val (*) : unit +
-
-
-
- - val (&) : unit - +
+
+ + val (-) : unit +
-
-
-
- - val (*) : unit +
+
+ + val (+) : unit +
-
-
-
- - val (-) : unit +
+
+ + val (-?) : unit +
-
-
-
- - val (+) : unit +
+
+ + val (/) : unit +
-
-
-
- - val (-?) : unit +
+
+ + val (:=) : unit +
-
-
-
- - val (/) : unit +
+
+ + val (=) : unit +
-
-
-
- - val (:=) : unit +
+
+ + val (land) : unit + +
-
-
-
- - val (=) : unit -
-
-
-
- - val (land) : unit -
-
-

- Advanced Module - Stuff -

-
-
- - - module - CollectionModule - - : sig ... - end - - +

+ Advanced Module + Stuff +

+
+
+ + + module + CollectionModule + + : sig ... + end + + +
+
+

This comment is for CollectionModule.

+
-
-

This comment is for CollectionModule.

+
+
+ + + module + type + COLLECTION + + = module + type of + CollectionModule + + +

module type of

-
-
-
- - - module - type - COLLECTION - - = module - type of - CollectionModule - - -

module type of

-
-
-
- - - module - Recollection - - +
+
+ + + module + Recollection + + + + (C : + COLLECTION + ) : - (C : - COLLECTION) - : - - COLLECTION - - with - type - - collection - = - - - C.element - list + COLLECTION + + with + type + + collection + = + + + C.element + list + + + + and + type + element + = + + C.collection + - - and - type - element - = - - C.collection - + +
+
+
+
+ + + module + type + MMM - - + = sig ... + end + + +
-
-
-
- - - module - type - MMM - - = sig ... - end - - +
+
+ + + module + type + RECOLLECTION + + = MMM + with + module + C = + Recollection(CollectionModule) + + + + +
-
-
-
- - - module - type - RECOLLECTION - - = MMM - with + -
-
- - - module - type - - RecollectionModule - - - = sig ... - end - - -
-
-
-
- - - module - type - A - - = sig ... - end - - + = sig ... + end + + +
-
-
-
- - - module - type - B - - = sig ... - end - - +
+
+ + + module + type + A + + = sig ... + end + + +
-
-
-
- - - module - type - C - - = sig ... - end - - +
+
+ + + module + type + B + + = sig ... + end + + +
-

This module type includes two signatures.

+
+
+ + + module + type + C + + = sig ... + end + + +
+

This module type includes two signatures.

+
-
-
-
- - - module - FunctorTypeOf - - +
+
+ + + module + FunctorTypeOf + + + + ( + + Collection + : module + type of + CollectionModule + ) : - ( - Collection - : module - type of - CollectionModule - ) : - - sig ... end - - -
-
-

This comment is for FunctorTypeOf.

-
-
-
-
- - - module - type - - IncludeModuleType - - - = sig ... - end - - -
-
-

This comment is for IncludeModuleType.

-
-
-
-
- - - module - type - ToInclude - - = sig ... - end - - + sig ... end + + +
+
+

This comment is for FunctorTypeOf.

+
-
-
-
- +
+
+ - include - ToInclude + module + type + + IncludeModuleType + + + = sig ... + end -
-
-
- - - module - IncludedA - - : sig ... - end - - -
-
-
- - - module - type - IncludedB - - = sig ... - end - - -
+
+

This comment is for IncludeModuleType.

-
-
-

- Advanced Type Stuff -

-
-
- - type record - = { - -
    -
  1. - - field1 : int; -
    (* -

    This comment is for field1.

    - *) -
    -
  2. -
  3. - - field2 : int; -
    (* -

    This comment is for field2.

    - *) -
    -
  4. -
}
-

This comment is for record.

-

This comment is also for record.

-
-
-
-
- - type mutable_record - = { - -
    -
  1. - - mutable a : int; - -
    (* -

    a is first and mutable

    - *) -
    -
  2. -
  3. - - b : unit; -
    (* -

    b is second and immutable

    - *) -
    -
  4. -
  5. - - mutable c : int; - -
    (* -

    c is third and mutable

    - *) -
    -
  6. -
} +
+
+ + + module + type + ToInclude + + = sig ... + end + + +
-
-
-
- - type universe_record - = { - -
    -
  1. +
    +
    + - nihilate : 'a. - 'a - -> - unit; - - -
  2. -
} -
-
-
-
- - type variant - = - -
    -
  1. - - | - TagA - -
    (* -

    This comment is for TagA.

    - *) -
    -
  2. -
  3. - - | - ConstrB - of int - - -
    (* -

    This comment is for ConstrB.

    - *) -
    -
  4. -
  5. - - | - ConstrC - of int * int + include + ToInclude -
    (* -

    This comment is for binary ConstrC.

    - *) + +
    +
    + + + module + IncludedA + + : sig ... + end + +
    -
  6. -
  7. - - | - ConstrD - of int * int - - -
    (* -

    This comment is for unary ConstrD of binary tuple. -

    *) +
    +
    +
    + + + module + type + IncludedB + + = sig ... + end + +
    -
  8. -
+
+
-

This comment is for variant.

-

This comment is also for variant.

+

+ Advanced Type + Stuff +

+
+
+ + type record + = { + +
    +
  1. + + field1 : int; +
    (* +

    This comment is for field1.

    + *) +
    +
  2. +
  3. + + field2 : int; +
    (* +

    This comment is for field2.

    + *) +
    +
  4. +
} +
+

This comment is for record.

+

This comment is also for record.

+
-
-
-
- - type poly_variant - = [ - -
    -
  1. - | `TagA -
  2. -
  3. - | - `ConstrB of int - -
  4. -
] +
+
+ + type mutable_record + = { + +
    +
  1. + + mutable a : int; + +
    (* +

    a is first and mutable

    + *) +
    +
  2. +
  3. + + b : unit; +
    (* +

    b is second and immutable

    + *) +
    +
  4. +
  5. + + mutable c : int; + +
    (* +

    c is third and mutable

    + *) +
    +
  6. +
} +
-
-

This comment is for poly_variant.

-

Wow! It was a polymorphic variant!

+
+
+ + type universe_record + = { + +
    +
  1. + + + nihilate : 'a. + 'a + -> + unit; + + +
  2. +
} +
-
-
-
- - - type (_, _) full_gadt - = - -
    -
  1. - - | - Tag : - (unit, unit) - full_gadt +
    +
    + + type variant + = + +
      +
    1. + + | + TagA + +
      (* +

      This comment is for TagA.

      + *) +
      +
    2. +
    3. + + | + ConstrB + of int - - -
    4. -
    5. - - | - First : - 'a - -> - ('a, unit) - full_gadt + +
      (* +

      This comment is for ConstrB.

      + *) +
      +
    6. +
    7. + + | + ConstrC + of int * int - - -
    8. -
    9. - - | - Second : - 'a - -> - (unit, 'a) - full_gadt + +
      (* +

      This comment is for binary ConstrC.

      + *) +
      +
    10. +
    11. + + | + ConstrD + of int * int - - -
    12. -
    13. - - | - Exist : - 'a * 'b + +
      (* +

      This comment is for unary ConstrD of binary tuple. +

      *) +
      +
    14. +
    +
    +

    This comment is for variant.

    +

    This comment is also for variant.

    +
    +
    +
    +
    + + type poly_variant + = [ + +
      +
    1. + | `TagA +
    2. +
    3. + | + `ConstrB of int + +
    4. +
    ] +
    +
    +

    This comment is for poly_variant.

    +

    Wow! It was a polymorphic variant!

    +
    +
    +
    +
    + + + type (_, _) full_gadt + = + +
      +
    1. + + | + Tag : + (unit, unit) + full_gadt + + + +
    2. +
    3. + + | + First : + 'a -> - ('b, unit) - full_gadt + ('a, unit) + full_gadt + - - -
    4. -
    -
    -

    This comment is for full_gadt.

    -

    Wow! It was a GADT!

    +
    +
  2. +
  3. + | + Second : + 'a + -> + (unit, 'a) + full_gadt + + + +
  4. +
  5. + + | + Exist : + 'a * 'b + -> + ('b, unit) + full_gadt + + + +
  6. +
+
+

This comment is for full_gadt.

+

Wow! It was a GADT!

+
-
-
-
- - - type 'a partial_gadt - = - -
    -
  1. - | - AscribeTag : - 'a - partial_gadt +
    +
    + + + type 'a partial_gadt + = + +
      +
    1. + | + AscribeTag : + 'a + partial_gadt + - - -
    2. -
    3. - | - OfTag - of - 'a - partial_gadt + +
    4. +
    5. + | + OfTag + of + 'a + partial_gadt + - - -
    6. -
    7. - - | - ExistGadtTag : - ( + +
    8. +
    9. + + | + ExistGadtTag : + ( + 'a + -> + 'b) + -> 'a - -> - 'b) - -> - 'a - partial_gadt + partial_gadt + - - -
    10. -
    -
    -
    -

    This comment is for partial_gadt.

    -

    Wow! It was a mixed GADT!

    -
    -
    -
    -
    - - type alias - = variant - + +
  2. +
+
+
+

This comment is for partial_gadt.

+

Wow! It was a mixed GADT!

+
-

This comment is for alias.

+
+
+ + type alias + = variant + +
+

This comment is for alias.

+
-
-
-
- - type tuple - = - (alias * - alias) - * alias * - (alias * - alias) +
+
+ + type tuple + = + (alias * + alias) + * alias * + (alias * + alias) + - - -
-

This comment is for tuple.

+
+
+

This comment is for tuple.

+
-
-
-
- - type variant_alias - = variant = - -
    -
  1. - | - TagA - -
  2. -
  3. - | - ConstrB - of int - - -
  4. -
  5. - | - ConstrC - of int * int - - -
  6. -
  7. - | - ConstrD - of int * int - - -
  8. -
+
+
+ + type variant_alias + = variant = + +
    +
  1. + | + TagA + +
  2. +
  3. + | + ConstrB + of int + + +
  4. +
  5. + | + ConstrC + of int * int + + +
  6. +
  7. + | + ConstrD + of int * int + + +
  8. +
+
+
+

This comment is for variant_alias.

+
-
-

This comment is for variant_alias.

+
+
+ + type record_alias + = record = + { + +
    +
  1. + + field1 : int; +
  2. +
  3. + + field2 : int; +
  4. +
} +
+
+

This comment is for record_alias.

+
-
-
-
- - type record_alias - = record = - { - -
    -
  1. - - field1 : int; -
  2. -
  3. - - field2 : int; -
  4. -
} +
+
+ + type poly_variant_union + = [ + +
    +
  1. + + | + poly_variant + +
  2. +
  3. + | `TagC +
  4. +
] +
+
+

This comment is for poly_variant_union.

+
-
-

This comment is for record_alias.

+
+
+ + + type + 'a poly_poly_variant + = [ + +
    +
  1. + | + `TagA of + 'a + + +
  2. +
] +
-
-
-
- - type poly_variant_union - = [ - -
    -
  1. - - | - poly_variant - -
  2. -
  3. - | `TagC -
  4. -
] +
+
+ + + type + ('a, 'b) bin_poly_poly_variant + = [ + +
    +
  1. + + | + `TagA of + 'a + + +
  2. +
  3. + + | + `ConstrB of + 'b + + +
  4. +
] +
-
-

This comment is for poly_variant_union.

+
+
+ + + type + 'a open_poly_variant + + = [> `TagA ] as 'a + + +
-
-
-
- - - type - 'a poly_poly_variant - = [ - -
    -
  1. - | - `TagA of - 'a - - -
  2. -
] +
+
+ + + type + 'a open_poly_variant2 + + = [> `ConstrB of int ] + as 'a + + +
-
-
-
- - - type - ('a, 'b) bin_poly_poly_variant - = [ - -
    -
  1. - - | - `TagA of - 'a - - -
  2. -
  3. - - | - `ConstrB of - 'b +
    +
    + + + type + 'a open_poly_variant_alias + + = + + 'a + open_poly_variant + open_poly_variant2 - -
  4. -
] -
-
-
-
- - - type - 'a open_poly_variant - - = [> `TagA ] as 'a - - + + +
-
-
-
- - - type - 'a open_poly_variant2 - - = [> `ConstrB of int ] - as 'a - - +
+
+ + + type 'a poly_fun + + = + [> `ConstrB of int ] + as 'a + -> + 'a + + +
-
-
-
- - - type - 'a open_poly_variant_alias - - = - +
+
+ + + type + 'a poly_fun_constraint + + = 'a - open_poly_variant - open_poly_variant2 + -> + 'a - - -
-
-
-
- - - type 'a poly_fun - = - [> `ConstrB of int ] - as 'a - -> - 'a - - -
-
-
-
- - - type - 'a poly_fun_constraint - - = - 'a - -> - 'a - - constraint - 'a = [> `TagA ] - - -
-
-
-
- - - type - 'a closed_poly_variant - - = [< `One | `Two ] - as 'a - - + constraint + 'a = [> `TagA ] + + +
-
-
-
- - - type - 'a clopen_poly_variant - - = - [< `One | `Two of int - | `Three Two Three ] - as 'a - - +
+
+ + + type + 'a closed_poly_variant + + = [< `One | `Two ] + as 'a + + +
-
-
-
- - type nested_poly_variant - = [ - -
    -
  1. - | `A -
  2. -
  3. - | - `B of - [ `B1 | `B2 ] - - -
  4. -
  5. - | `C -
  6. -
  7. - | - `D of - [ `D1 of [ `D1a ] ] - - -
  8. -
] +
+
+ + + type + 'a clopen_poly_variant + + = + [< `One | `Two of int + | `Three Two Three ] + as 'a + + +
-
-
-
- - - type - ('a, 'b) full_gadt_alias - - = - - ('a, - 'b) - full_gadt - - = - -
    -
  1. - | - Tag : - (unit, unit) - full_gadt_alias +
    +
    + + + type nested_poly_variant + = [ + +
      +
    1. + | `A +
    2. +
    3. + | + `B of + [ `B1 | `B2 ] - - -
    4. -
    5. - | - First : - 'a - -> - ('a, unit) - full_gadt_alias + +
    6. +
    7. + | `C +
    8. +
    9. + | + `D of + [ `D1 of [ `D1a ] ] + +
    10. +
    ] +
    +
    +
    +
    + + + type + ('a, 'b) full_gadt_alias + + = + + ('a, + 'b) + full_gadt - -
  2. -
  3. - | - Second : - 'a - -> - (unit, 'a) - full_gadt_alias + = + +
      +
    1. + | + Tag : + (unit, unit) + full_gadt_alias + - - -
    2. -
    3. - | - Exist : - 'a * 'b + +
    4. +
    5. + | + First : + 'a -> - ('b, unit) - full_gadt_alias + ('a, unit) + full_gadt_alias + - - -
    6. -
    -
-
-

This comment is for full_gadt_alias.

-
-
-
-
- - - type - 'a partial_gadt_alias - - = - 'a - partial_gadt - - = - -
    -
  1. - - | - AscribeTag : - 'a - partial_gadt_alias + +
  2. +
  3. + | + Second : + 'a + -> + (unit, 'a) + full_gadt_alias + - - -
  4. -
  5. - | - OfTag - of - 'a - partial_gadt_alias + +
  6. +
  7. + | + Exist : + 'a * 'b + -> + ('b, unit) + full_gadt_alias + + +
  8. +
+
+
+

This comment is for full_gadt_alias.

+
+
+
+
+ + + type + 'a partial_gadt_alias + + = + 'a + partial_gadt - - -
  • - - | - ExistGadtTag : - ( + = + +
      +
    1. + + | + AscribeTag : 'a - -> - 'b) - -> - 'a - partial_gadt_alias + partial_gadt_alias + - - -
    2. -
    +
    +
  • +
  • + + | + OfTag + of + 'a + partial_gadt_alias + + + +
  • +
  • + + | + ExistGadtTag : + ( + 'a + -> + 'b) + -> + 'a + partial_gadt_alias + + + +
  • + +
    +
    +

    This comment is for partial_gadt_alias.

    +
    -
    -

    This comment is for partial_gadt_alias.

    +
    +
    + + exception + Exn_arrow : unit + -> exn + + +
    +
    +

    This comment is for + Exn_arrow. +

    +
    -
    -
    -
    - - exception - Exn_arrow : unit - -> exn - - +
    +
    + + type mutual_constr_a + = + +
      +
    1. + | A + +
    2. +
    3. + | + B_ish + of + mutual_constr_b + + +
      (* +

      This comment is between + mutual_constr_a + and + mutual_constr_b + . +

      *) +
      +
    4. +
    +
    +
    +

    This comment is for + mutual_constr_a + then mutual_constr_b + . +

    +
    -
    -

    This comment is for - Exn_arrow. -

    +
    +
    + + and mutual_constr_b + = + +
      +
    1. + | B + +
    2. +
    3. + | + A_ish + of + mutual_constr_a + + +
      (* +

      This comment must be here for the next to associate correctly. +

      *) +
      +
    4. +
    +
    +
    +

    This comment is for + mutual_constr_b + then mutual_constr_a + . +

    +
    -
    -
    -
    - - type mutual_constr_a - = - -
      -
    1. - | A - -
    2. -
    3. - | - B_ish - of - mutual_constr_b +
      +
      + + type rec_obj + = + < f : int ; g : + unit -> unit + ; h : rec_obj > - -
      (* -

      This comment is between - mutual_constr_a - and - mutual_constr_b - . -

      *) -
      -
    4. -
    -
    -
    -

    This comment is for - mutual_constr_a - then mutual_constr_b - . -

    + +
    +
    -
    -
    -
    - - and mutual_constr_b - = - -
      -
    1. - | B - -
    2. -
    3. - | - A_ish - of - mutual_constr_a - - -
      (* -

      This comment must be here for the next to associate correctly.

      - *) -
      -
    4. -
    +
    +
    + + + type 'a open_obj + + = + < f : int ; g : + unit -> unit.. > + as 'a + + +
    -
    -

    This comment is for - mutual_constr_b - then mutual_constr_a - . -

    +
    +
    + + + type 'a oof + = + < a : unit.. > + as 'a + -> + 'a + + +
    -
    -
    -
    - - type rec_obj - = - < f : int ; g : - unit -> unit ; - h : rec_obj > +
    +
    + + + type 'a any_obj + = < .. > as 'a - - + +
    -
    -
    -
    - - - type 'a open_obj - = - < f : int ; g : - unit -> unit.. > - as 'a - - +
    +
    + + type empty_obj + = < > + +
    -
    -
    -
    - - type 'a oof - = - < a : unit.. > - as 'a - -> - 'a - - +
    +
    + + type one_meth + = < meth : unit > + +
    -
    -
    -
    - - - type 'a any_obj - = < .. > as 'a - - +
    +
    + + type ext + = .. + +
    +

    A mystery wrapped in an ellipsis

    -
    -
    -
    - - type empty_obj - = < > - +
    +
    + + + type ext += + + +
      +
    1. + + | ExtA + +
    2. +
    +
    -
    -
    -
    - - type one_meth - = < meth : unit > - +
    +
    + + + type ext += + + +
      +
    1. + + | ExtB + +
    2. +
    +
    -
    -
    -
    - - type ext = - .. - -

    A mystery wrapped in an ellipsis

    -
    -
    -
    - - - type ext += - - -
      -
    1. - - | ExtA - -
    2. -
    +
    +
    + + + type ext += + + +
      +
    1. + + | + ExtC + of unit + + +
    2. +
    3. + + | + ExtD + of ext + + +
    4. +
    +
    -
    -
    -
    - - - type ext += - - -
      -
    1. - - | ExtB - -
    2. -
    +
    +
    + + + type ext += + + +
      +
    1. + + | ExtE + +
    2. +
    +
    -
    -
    -
    - - - type ext += - - -
      -
    1. - - | - ExtC - of unit - - -
    2. -
    3. - - | - ExtD - of ext - - -
    4. -
    +
    +
    + + + type ext + += private + + +
      +
    1. + + | ExtF + +
    2. +
    +
    -
    -
    -
    - - - type ext += - - -
      -
    1. - - | ExtE - -
    2. -
    +
    +
    + + + type 'a poly_ext + = .. + +

    'a poly_ext

    -
    -
    -
    - - - type ext - += private - - -
      -
    1. - - | ExtF - -
    2. -
    +
    +
    + + + type + poly_ext += + + +
      +
    1. + + | + Foo + of 'b + + +
    2. +
    3. + + | + Bar + of 'b + * 'b + + +
      (* +

      'b poly_ext

      *) +
      +
    4. +
    +
    -
    -
    -
    - - - type 'a poly_ext - = .. - -

    'a poly_ext

    -
    -
    -
    - - - type - poly_ext += - - -
      -
    1. - - | - Foo - of 'b - - -
    2. -
    3. - - | - Bar - of 'b - * 'b - - -
      (* -

      'b poly_ext

      *) -
      -
    4. -
    +
    +
    + + + type + poly_ext += + + +
      +
    1. + + | + Quux + of 'c + + +
      (* +

      'c poly_ext

      *) +
      +
    2. +
    +
    -
    -
    -
    - - - type - poly_ext += - - -
      -
    1. - - | - Quux - of 'c - - -
      (* -

      'c poly_ext

      *) -
      -
    2. -
    +
    +
    + + + module + ExtMod + + : sig ... + end + + +
    -
    -
    -
    - - - module - ExtMod - - : sig ... - end - - +
    +
    + + + type + ExtMod.t += + + +
      +
    1. + + | + ZzzTop0 + +
      (* +

      It's got the rock

      *) +
      +
    2. +
    +
    -
    -
    -
    - - - type - ExtMod.t += - - -
      -
    1. - - | - ZzzTop0 - -
      (* -

      It's got the rock

      *) -
      -
    2. -
    +
    +
    + + + type + ExtMod.t += + + +
      +
    1. + + | + ZzzTop + of unit + + +
      (* +

      and it packs a unit.

      *) +
      +
    2. +
    +
    -
    -
    -
    - - - type - ExtMod.t += - - -
      -
    1. - - | - ZzzTop - of unit +
      +
      + + + val launch_missiles : + unit -> unit + + +

      Rotate keys on my mark...

      +
      +
      +
      + + type my_mod + = + (module + COLLECTION + ) - -
      (* -

      and it packs a unit.

      *) -
      -
    2. -
    -
    -
    -
    -
    - - - val launch_missiles : - unit -> unit - - -

    Rotate keys on my mark...

    -
    -
    -
    - - type my_mod - = - (module - COLLECTION - ) - - -
    -

    A brown paper package tied up with string

    -
    -
    -
    -
    - - class - empty_class - : object ... - end - - -
    -
    -
    -
    - - class - - one_method_class - - : object ... - end - - + +
    +

    A brown paper package tied up with string

    +
    -
    -
    -
    - - class - - two_method_class - - : object ... - end - - +
    +
    + + class + empty_class + : object ... + end + + +
    -
    -
    -
    - - class 'a - param_class - : - 'a - -> - object ... - end - - +
    +
    + + class + + one_method_class + + : object ... + end + + +
    -
    -
    -
    - - type my_unit_object - = - unit param_class +
    +
    + + class + + two_method_class - - + : object ... + end + + +
    -
    -
    -
    - - - type 'a my_unit_class - - = - unit param_class - as 'a - - +
    +
    + + class 'a + param_class + : + 'a + -> + object ... + end + + +
    -
    -
    -
    - - - module - Dep1 - - : sig ... - end - - +
    +
    + + type my_unit_object + = + unit param_class + + + +
    -
    -
    -
    - - - module - Dep2 - - (Arg : - sig ... end - ) : sig ... - end - - +
    +
    + + + type 'a my_unit_class + + = + unit param_class + as 'a + + +
    -
    -
    -
    - - type dep1 - = - Dep2(Dep1).B.c - - +
    +
    + + + module + Dep1 + + : sig ... + end + + +
    -
    -
    -
    - - - module - Dep3 - - : sig ... - end - - +
    +
    + + + module + Dep2 + + (Arg : + sig ... end + ) : sig ... + end + + +
    -
    -
    -
    - - - module - Dep4 - - : sig ... - end - - +
    +
    + + type dep1 + = + Dep2(Dep1).B.c + + +
    -
    -
    -
    - - - module - Dep5 - - (Arg : - sig ... end - ) : sig ... - end - - +
    +
    + + + module + Dep3 + + : sig ... + end + + +
    -
    -
    -
    - - type dep2 - = - Dep5(Dep4).Z.X.b - - +
    +
    + + + module + Dep4 + + : sig ... + end + + +
    -
    -
    -
    - - type dep3 - = Dep5(Dep4).Z.Y.a - - +
    +
    + + + module + Dep5 + + (Arg : + sig ... end + ) : sig ... + end + + +
    -
    -
    -
    - - - module - Dep6 - - : sig ... - end - - +
    +
    + + type dep2 + = + Dep5(Dep4).Z.X.b + + + +
    -
    -
    -
    - - - module - Dep7 - - (Arg : - sig ... end - ) : sig ... - end - - +
    +
    + + type dep3 + = Dep5(Dep4).Z.Y.a + + +
    -
    -
    -
    - - type dep4 - = - Dep7(Dep6).M.Y.d - - - +
    +
    + + + module + Dep6 + + : sig ... + end + + +
    -
    -
    -
    - - - module - Dep8 - - : sig ... - end - - +
    +
    + + + module + Dep7 + + (Arg : + sig ... end + ) : sig ... + end + + +
    -
    -
    -
    - - - module - Dep9 - - (X : - sig ... end - ) : sig ... - end - - +
    +
    + + type dep4 + = + Dep7(Dep6).M.Y.d + + + +
    -
    -
    -
    - - - module - type - Dep10 - - = Dep9(Dep8).T - with - type - t = int +
    +
    + + + module + Dep8 - - + : sig ... + end + + +
    -
    -
    -
    - - - module - Dep11 - - : sig ... - end - - +
    +
    + + + module + Dep9 + + (X : + sig ... end + ) : sig ... + end + + +
    -
    -
    -
    - - - module - Dep12 - - (Arg : - sig ... end - ) : sig ... - end - - +
    +
    + + + module + type + Dep10 + + = Dep9(Dep8).T + with + type + t = int + + + +
    -
    -
    -
    - - - module - Dep13 - - : Dep12(Dep11).T - - +
    +
    + + + module + Dep11 + + : sig ... + end + + +
    -
    -
    -
    - - type dep5 - = - Dep13.c - - +
    +
    + + + module + Dep12 + + (Arg : + sig ... end + ) : sig ... + end + + +
    -
    -
    -
    - - - module - type - With1 - - = sig ... - end - - +
    +
    + + + module + Dep13 + + : + Dep12(Dep11).T + + +
    -
    -
    -
    - - - module - With2 - - : sig ... - end - - +
    +
    + + type dep5 + = + Dep13.c + + +
    -
    -
    -
    - - - module - With3 - - : With1 - with +
    +
    + + module - M = - With2 + type + With1 - - -
    -
    -
    -
    - - type with1 - = With3.N.t - + = sig ... + end + + +
    -
    -
    -
    - - - module - With4 - - : With1 - with +
    +
    + + module - M := With2 - - + : sig ... + end + + +
    -
    -
    -
    - - type with2 - = With4.N.t - +
    +
    + + + module + With3 + + : With1 + with + module + M = + With2 + + + +
    -
    -
    -
    - - - module - With5 - - : sig ... - end - - +
    +
    + + type with1 + = With3.N.t + +
    -
    -
    -
    - - - module - With6 - - : sig ... - end - - +
    +
    + + + module + With4 + + : With1 + with + module + M := + With2 + + + +
    -
    -
    -
    - - - module - With7 - - (X : - sig ... end - ) : sig ... - end - - +
    +
    + + type with2 + = With4.N.t + +
    -
    -
    -
    - - - module - type - With8 - - = - - With7(With6).T - with +
    +
    + + module - M = With5 - and - type - M.N.t = - With5.N.t - - + : sig ... + end + + +
    -
    -
    -
    - - - module - With9 - - : sig ... - end - - +
    +
    + + + module + With6 + + : sig ... + end + + +
    -
    -
    -
    - - - module - With10 - - : sig ... - end - - +
    +
    + + + module + With7 + + (X : + sig ... end + ) : sig ... + end + + +
    -
    -
    -
    - - - module - type - With11 - - = - With7(With10).T - with +
    +
    + + + module + type + With8 + + = + + With7(With6).T + with + module + M = + With5 + and + type + M.N.t + = With5.N.t + + + +
    +
    +
    +
    + + module - M = With9 - and - type - N.t = - int - - + : sig ... + end + + +
    -
    -
    -
    - - - module - type - NestedInclude1 - - = sig ... - end - - +
    +
    + + + module + With10 + + : sig ... + end + + +
    -
    -
    -
    - +
    +
    + + + module + type + With11 + + = + With7(With10).T + with + module + M = + With9 + and + type + N.t = + int + + + +
    +
    +
    +
    + - include + module + type NestedInclude1 + = sig ... + end + -
    -
    -
    - +
    +
    +
    +
    + - module - type - NestedInclude2 + include + NestedInclude1 - = sig ... - end + + +
    +
    + + + module + type + NestedInclude2 + + + = sig ... + end + + +
    +
    +
    +
    +
    +
    + + + include + NestedInclude2 + with + type + + nested_include + = int + + +
    +
    + + type nested_include + = int + +
    -
    -
    -
    -
    -
    - +
    +
    +
    +
    + - include - NestedInclude2 - with - type - - nested_include - = int - + module + DoubleInclude1 + + : sig ... + end - -
    -
    - - type nested_include - = int - -
    - -
    -
    -
    - - - module - DoubleInclude1 - - : sig ... - end - - -
    -
    -
    -
    - - - module - DoubleInclude3 - - : sig ... - end - -
    -
    -
    -
    - - - include - module type - of - - DoubleInclude3.DoubleInclude2 - +
    +
    + + + module + DoubleInclude3 + + : sig ... + end -
    -
    -
    - - type double_include +
    +
    +
    +
    + + + include + module + type of + + + DoubleInclude3.DoubleInclude2 + + + +
    +
    + + type double_include + +
    -
    -
    -
    -
    -
    - - - module - IncludeInclude1 - - : sig ... - end - - +
    -
    -
    -
    - +
    +
    + - include - module type - of + module IncludeInclude1 + : sig ... + end + -
    -
    -
    - +
    +
    +
    +
    + - module - type - IncludeInclude2 - - - = sig ... - end + include + module + type of + IncludeInclude1 + +
    +
    + + + module + type + IncludeInclude2 + + + = sig ... + end + + +
    -
    -
    -
    - +
    +
    + + + module + IncludeInclude2_M + + : sig ... + end + + +
    +
    +
    +
    +
    +
    + - module - IncludeInclude2_M - - : sig ... - end + include + IncludeInclude2 + + +
    +
    + + type include_include + +
    -
    - -
    -
    -
    - +
    +
    +

    + Trying the {!modules: ...} command. +

    +

    With ocamldoc, toplevel units will be linked and documented, while + submodules will behave as simple references. +

    +

    With odoc, everything should be resolved (and linked) but only + toplevel units will be documented. +

    + +

    + + Weirder usages involving module types +

    + +

    + Playing + with @canonical paths +

    +
    +
    + - include - IncludeInclude2 - + module + CanonicalTest + + : sig ... + end - -
    -
    - - type include_include - -
    - -
    -

    Trying - the {!modules: ...} command. -

    -

    With ocamldoc, toplevel units will be linked and documented, while - submodules will behave as simple references. -

    -

    With odoc, everything should be resolved (and linked) but only - toplevel units will be documented. -

    - -

    - - Weirder usages involving module types -

    - -

    - Playing - with @canonical paths -

    -
    -
    - - - module - CanonicalTest - - : sig ... - end - -
    -
    -

    Some ref to - - CanonicalTest.Base_Tests.C.t - and - - CanonicalTest.Base_Tests.L.id - . But also to - - CanonicalTest.Base.List - and - - CanonicalTest.Base.List.t - -

    -

    Aliases again

    -
    -
    - - - module - Aliases - - : sig ... - end - - -

    Let's imitate jst's layout.

    -
    -

    - Section title - splicing -

    I can refer to

    -

    But also to things in submodules:

    -

    And just to make sure we do not mess up:

    -
      -
    • {{!section:indexmodules}A} : - A -
    • -
    • {{!aliases}B} : B -
    • -
    • {{!section:SuperSig.SubSigA.subSig}C} : - C - -
    • -
    • {{!Aliases.incl}D} : - D -
    • -
    -

    - New reference - syntax -

    -
    -
    - - - module - type - M - - = sig ... - end - - -
    -
    -
    -
    - - - module - M - - : sig ... - end - - -
    -

    Here goes:

    -
      -
    • {!module-M.t} : - M.t -
    • -
    • {!module-type-M.t} : - M.t -
    • -
    -
    -
    - - - module - Only_a_module - - : sig ... - end - - +

    +

    Aliases again

    +
    +
    + + + module + Aliases + + : sig ... + end + + +

    Let's imitate jst's layout.

    +
    +

    + Section title + splicing +

    I can refer to

    +

    But also to things in submodules:

    +

    And just to make sure we do not mess up:

    +
      +
    • {{!section:indexmodules}A} : + A +
    • +
    • {{!aliases}B} : + B +
    • +
    • {{!section:SuperSig.SubSigA.subSig}C} : + C + +
    • +
    • {{!Aliases.incl}D} : + D +
    • +
    +

    + New reference + syntax +

    +
    +
    + + + module + type + M + + = sig ... + end + + +
    -
    - -
    -
    - - - module - type - TypeExt - - = sig ... - end - - +
    +
    + + + module + M + + : sig ... + end + + +
    +

    Here goes:

    +
      +
    • {!module-M.t} : + M.t +
    • +
    • {!module-type-M.t} : + M.t +
    • +
    +
    +
    + + + module + Only_a_module + + : sig ... + end + + +
    -
    -
    -
    - - type new_t - = .. - + +
    +
    + + + module + type + TypeExt + + = sig ... + end + + +
    -
    -
    -
    - - - type new_t - += - - -
      -
    1. - - | C - -
    2. -
    +
    +
    + + type new_t + = .. + +
    -
    -
    -
    - - - module - type - TypeExtPruned - - = TypeExt - with +
    +
    + + type - t := - new_t + new_t += - - + +
      +
    1. + + | C + +
    2. +
    +
    +
    +
    +
    + + + module + type + TypeExtPruned + + = TypeExt + with + type + t := + new_t + + + +
    +

    + Unresolved + references +

    +
    • Stdlib.Invalid_argument
    • +
    • Hashtbl.t
    • Set.S.empty
    • +
    • CollectionModule.InnerModuleA.foo
    • +
    -

    - Unresolved references -

    -
    • Stdlib.Invalid_argument
    • -
    • Hashtbl.t
    • Set.S.empty
    • -
    • CollectionModule.InnerModuleA.foo
    • -
    diff --git a/test/generators/html/Recent-X.html b/test/generators/html/Recent-X.html index 381378420f..631d34e1ce 100644 --- a/test/generators/html/Recent-X.html +++ b/test/generators/html/Recent-X.html @@ -11,47 +11,49 @@ -
    -

    Module Recent.X

    -
    -
    -
    -
    - - - module L := - Z.Y - - +
    +
    +

    Module Recent.X

    +
    +
    +
    +
    + + + module L := + Z.Y + + +
    -
    -
    -
    - - type t - = int L.X.t - - +
    +
    + + type t + = int L.X.t + + +
    -
    -
    -
    - - type u - := int - +
    +
    + + type u + := int + +
    -
    -
    -
    - - type v - = - u - L.X.t +
    +
    + + type v + = + u + L.X.t + - - + +
    diff --git a/test/generators/html/Recent-Z-Y-X.html b/test/generators/html/Recent-Z-Y-X.html index 78cf4b85de..65aa31cf40 100644 --- a/test/generators/html/Recent-Z-Y-X.html +++ b/test/generators/html/Recent-Z-Y-X.html @@ -12,14 +12,17 @@ Recent » Z » Y » X -

    Module Y.X

    -
    -
    -
    -
    - - type 'a t - +
    +
    +

    Module Y.X

    +
    +
    +
    +
    + + type 'a t + +
    diff --git a/test/generators/html/Recent-Z-Y.html b/test/generators/html/Recent-Z-Y.html index 36c3f3b60c..c12ad296b5 100644 --- a/test/generators/html/Recent-Z-Y.html +++ b/test/generators/html/Recent-Z-Y.html @@ -12,20 +12,23 @@ Recent » Z » Y -

    Module Z.Y

    -
    -
    -
    -
    - - - module - X - - : sig ... - end - - +
    +
    +

    Module Z.Y

    +
    +
    +
    +
    + + + module + X + + : sig ... + end + + +
    diff --git a/test/generators/html/Recent-Z.html b/test/generators/html/Recent-Z.html index 6519c65cbe..f1d21a8383 100644 --- a/test/generators/html/Recent-Z.html +++ b/test/generators/html/Recent-Z.html @@ -11,21 +11,23 @@ -
    -

    Module Recent.Z

    -
    -
    -
    -
    - - - module - Y - - : sig ... - end - - +
    +
    +

    Module Recent.Z

    +
    +
    +
    +
    + + + module + Y + + : sig ... + end + + +
    diff --git a/test/generators/html/Recent-module-type-PolyS.html b/test/generators/html/Recent-module-type-PolyS.html index 3f154160fb..747bff1075 100644 --- a/test/generators/html/Recent-module-type-PolyS.html +++ b/test/generators/html/Recent-module-type-PolyS.html @@ -11,26 +11,28 @@ -
    -

    Module type Recent.PolyS

    -
    -
    -
    -
    - - type t = - [ - -
      -
    1. - - | `A -
    2. -
    3. - - | `B -
    4. -
    ] +
    +
    +

    Module type Recent.PolyS

    +
    +
    +
    +
    + + type t = + [ + +
      +
    1. + + | `A +
    2. +
    3. + + | `B +
    4. +
    ] +
    diff --git a/test/generators/html/Recent-module-type-S.html b/test/generators/html/Recent-module-type-S.html index 457864a144..b5350518ce 100644 --- a/test/generators/html/Recent-module-type-S.html +++ b/test/generators/html/Recent-module-type-S.html @@ -11,8 +11,10 @@ -
    -

    Module type Recent.S

    -
    +
    +
    +

    Module type Recent.S

    +
    +
    diff --git a/test/generators/html/Recent-module-type-S1-argument-1-_.html b/test/generators/html/Recent-module-type-S1-argument-1-_.html index 8818ac24fc..33c7780eb2 100644 --- a/test/generators/html/Recent-module-type-S1-argument-1-_.html +++ b/test/generators/html/Recent-module-type-S1-argument-1-_.html @@ -12,8 +12,10 @@ Recent » S1 » _ -
    -

    Parameter S1._

    -
    +
    +
    +

    Parameter S1._

    +
    +
    diff --git a/test/generators/html/Recent-module-type-S1.html b/test/generators/html/Recent-module-type-S1.html index e38bf5e135..d236c17063 100644 --- a/test/generators/html/Recent-module-type-S1.html +++ b/test/generators/html/Recent-module-type-S1.html @@ -11,27 +11,29 @@ -
    -

    Module type Recent.S1

    -
    -
    -

    Parameters -

    -
    -
    - - module - _ - : S - +
    +
    +

    Module type Recent.S1

    +
    +
    +

    Parameters +

    +
    +
    + + module + _ + : S + +
    +

    Signature

    -

    Signature

    diff --git a/test/generators/html/Recent.html b/test/generators/html/Recent.html index 2f5bb6f7d4..fc0dd3d877 100644 --- a/test/generators/html/Recent.html +++ b/test/generators/html/Recent.html @@ -8,302 +8,308 @@ -
    -

    Module Recent

    -
    -
    -
    -
    - - - module - type - S - - = sig ... - end - - +
    +
    +

    Module Recent

    +
    +
    +
    +
    + + + module + type + S + + = sig ... + end + + +
    -
    -
    -
    - - - module - type - S1 - - = functor - (_ - : S) - -> - S - - +
    +
    + + + module + type + S1 + + = functor + (_ + : S) + -> + S + + +
    -
    -
    -
    - - type variant - = - -
      -
    1. - - | A - -
    2. -
    3. - - | - B - of int - - -
    4. -
    5. - - | C - -
      (*

      foo

      - *) -
      -
    6. -
    7. - - | D - -
      (* -

      bar

      *) -
      -
    8. -
    9. - - | - E - of - { - -
        -
      1. - - a : int; -
      2. -
      } -
    10. -
    +
    +
    + + type variant + = + +
      +
    1. + + | A + +
    2. +
    3. + + | + B + of int + + +
    4. +
    5. + + | C + +
      (*

      foo

      + *) +
      +
    6. +
    7. + + | D + +
      (* +

      bar

      *) +
      +
    8. +
    9. + + | + E + of + { + +
        +
      1. + + a : int; +
      2. +
      } +
    10. +
    +
    -
    -
    -
    - - type _ gadt - = - -
      -
    1. - - | - A : - int gadt - - -
    2. -
    3. - - | - B : int - -> - string gadt - - -
      (*

      foo

      - *) -
      -
    4. -
    5. - - | - C : { - -
        -
      1. - - a : int; -
      2. -
      - } - -> - unit gadt - - -
    6. -
    +
    +
    + + + type _ gadt + = + +
      +
    1. + + | + A : + int gadt + + +
    2. +
    3. + + | + B : int + -> + string gadt + + +
      (*

      foo

      + *) +
      +
    4. +
    5. + + | + C : { + +
        +
      1. + + a : int; +
      2. +
      + } + -> + unit gadt + + +
    6. +
    +
    -
    -
    -
    - - type polymorphic_variant - = [ - -
      -
    1. - | `A -
    2. -
    3. - | - `B of int - -
    4. -
    5. - | `C -
      (*

      foo

      - *) -
      -
    6. -
    7. - | `D -
      (*

      bar

      - *) -
      -
    8. -
    ] +
    +
    + + + type polymorphic_variant + = [ + +
      +
    1. + | `A +
    2. +
    3. + | + `B of int + +
    4. +
    5. + | `C +
      (*

      foo

      + *) +
      +
    6. +
    7. + | `D +
      (*

      bar

      + *) +
      +
    8. +
    ] +
    -
    -
    -
    - - type empty_variant - = | - +
    +
    + + type empty_variant + = | + +
    -
    -
    -
    - - - type - nonrec nonrec_ - = int - +
    +
    + + + type + nonrec nonrec_ + = int + +
    -
    -
    -
    - - type empty_conj - = - -
      -
    1. - - | - X : - [< - `X of & 'a & int - * float - ] - -> - empty_conj - - -
    2. -
    +
    +
    + + type empty_conj + = + +
      +
    1. + + | + X : + [< + `X of & 'a & int + * float + ] + -> + empty_conj + + +
    2. +
    +
    -
    -
    -
    - - type conj - = - -
      -
    1. - - | - X : - [< - `X of int & - [< `B of int & float ] - ] - -> - conj - - -
    2. -
    +
    +
    + + type conj + = + +
      +
    1. + + | + X : + [< + `X of int & + [< `B of int & float ] + ] + -> + conj + + +
    2. +
    +
    -
    -
    -
    - - - val empty_conj : - [< - `X of & 'a & int * float - ] +
    +
    + + + val empty_conj : + [< + `X of & 'a & int * float + ] + - - + +
    -
    -
    -
    - - - val conj : - [< - `X of int & - [< `B of int & float ] - ] +
    +
    + + + val conj : + [< + `X of int & + [< `B of int & float ] + ] + - - + +
    -
    -
    -
    - - - module Z - - : sig ... - end - - +
    +
    + + + module + Z + + : sig ... + end + + +
    -
    -
    -
    - - - module X - - : sig ... - end - - +
    +
    + + + module + X + + : sig ... + end + + +
    -
    -
    -
    - - - module - type - PolyS - - = sig ... - end - - +
    +
    + + + module + type + PolyS + + = sig ... + end + + +
    diff --git a/test/generators/html/Recent_impl-B.html b/test/generators/html/Recent_impl-B.html index f89d2ecf93..abe69a990f 100644 --- a/test/generators/html/Recent_impl-B.html +++ b/test/generators/html/Recent_impl-B.html @@ -11,22 +11,24 @@ -
    -

    Module Recent_impl.B

    -
    -
    -
    -
    - - type t = - -
      -
    1. - - | B - -
    2. -
    +
    +
    +

    Module Recent_impl.B

    +
    +
    +
    +
    + + type t = + +
      +
    1. + + | B + +
    2. +
    +
    diff --git a/test/generators/html/Recent_impl-Foo-A.html b/test/generators/html/Recent_impl-Foo-A.html index c471c4ff3b..19a5b446f7 100644 --- a/test/generators/html/Recent_impl-Foo-A.html +++ b/test/generators/html/Recent_impl-Foo-A.html @@ -12,22 +12,24 @@ Recent_impl » Foo » A -
    -

    Module Foo.A

    -
    -
    -
    -
    - - type t = - -
      -
    1. - - | A - -
    2. -
    +
    +
    +

    Module Foo.A

    +
    +
    +
    +
    + + type t = + +
      +
    1. + + | A + +
    2. +
    +
    diff --git a/test/generators/html/Recent_impl-Foo-B.html b/test/generators/html/Recent_impl-Foo-B.html index 113a8ef0ba..f353b5edbc 100644 --- a/test/generators/html/Recent_impl-Foo-B.html +++ b/test/generators/html/Recent_impl-Foo-B.html @@ -12,22 +12,24 @@ Recent_impl » Foo » B -
    -

    Module Foo.B

    -
    -
    -
    -
    - - type t = - -
      -
    1. - - | B - -
    2. -
    +
    +
    +

    Module Foo.B

    +
    +
    +
    +
    + + type t = + +
      +
    1. + + | B + +
    2. +
    +
    diff --git a/test/generators/html/Recent_impl-Foo.html b/test/generators/html/Recent_impl-Foo.html index b9c2a748a3..09cefa896d 100644 --- a/test/generators/html/Recent_impl-Foo.html +++ b/test/generators/html/Recent_impl-Foo.html @@ -11,34 +11,36 @@ -
    -

    Module Recent_impl.Foo

    -
    -
    -
    -
    - - - module - A - - : sig ... - end - - +
    +
    +

    Module Recent_impl.Foo

    +
    +
    +
    +
    + + + module + A + + : sig ... + end + + +
    -
    -
    -
    - - - module - B - - : sig ... - end - - +
    +
    + + + module + B + + : sig ... + end + + +
    diff --git a/test/generators/html/Recent_impl-module-type-S-F-argument-1-_.html b/test/generators/html/Recent_impl-module-type-S-F-argument-1-_.html index 98dc0d688f..3f45c5387a 100644 --- a/test/generators/html/Recent_impl-module-type-S-F-argument-1-_.html +++ b/test/generators/html/Recent_impl-module-type-S-F-argument-1-_.html @@ -13,8 +13,10 @@ S » F » _ -
    -

    Parameter F._

    -
    +
    +
    +

    Parameter F._

    +
    +
    diff --git a/test/generators/html/Recent_impl-module-type-S-F.html b/test/generators/html/Recent_impl-module-type-S-F.html index f5223dc8a0..de9e9dcd88 100644 --- a/test/generators/html/Recent_impl-module-type-S-F.html +++ b/test/generators/html/Recent_impl-module-type-S-F.html @@ -12,33 +12,36 @@ – Recent_impl » S » F -

    Module S.F

    -
    -
    -

    Parameters -

    -
    -
    - - module - _ - - : sig ... - end - - +
    +
    +

    Module S.F

    +
    +
    +

    Parameters +

    +
    +
    + + module + _ + + : sig ... + end + + +
    -
    -

    Signature

    -
    -
    - - type t +

    Signature

    +
    +
    + + type t +
    diff --git a/test/generators/html/Recent_impl-module-type-S-X.html b/test/generators/html/Recent_impl-module-type-S-X.html index 35e9aa28d2..84fcf1de01 100644 --- a/test/generators/html/Recent_impl-module-type-S-X.html +++ b/test/generators/html/Recent_impl-module-type-S-X.html @@ -12,7 +12,10 @@ – Recent_impl » S » X -

    Module S.X

    -
    +
    +
    +

    Module S.X

    +
    +
    diff --git a/test/generators/html/Recent_impl-module-type-S.html b/test/generators/html/Recent_impl-module-type-S.html index ae8c6828e1..35e526664f 100644 --- a/test/generators/html/Recent_impl-module-type-S.html +++ b/test/generators/html/Recent_impl-module-type-S.html @@ -11,46 +11,48 @@ -
    -

    Module type Recent_impl.S

    -
    -
    -
    -
    - - - module - F - - (_ - : sig ... - end) : sig - ... end - - +
    +
    +

    Module type Recent_impl.S

    +
    +
    +
    +
    + + + module + F + + (_ + : sig ... + end) : sig + ... end + + +
    -
    -
    -
    - - - module - X - - : sig ... - end - - +
    +
    + + + module + X + + : sig ... + end + + +
    -
    -
    -
    - - - val f : - F(X).t - - +
    +
    + + + val f : + F(X).t + + +
    diff --git a/test/generators/html/Recent_impl.html b/test/generators/html/Recent_impl.html index 4afec85082..7860d65b36 100644 --- a/test/generators/html/Recent_impl.html +++ b/test/generators/html/Recent_impl.html @@ -8,62 +8,64 @@ -
    -

    Module Recent_impl

    -
    -
    -
    -
    - - - module - Foo - - : sig ... - end - - +
    +
    +

    Module Recent_impl

    +
    +
    +
    +
    + + + module + Foo + + : sig ... + end + + +
    -
    -
    -
    - - - module - B - - : sig ... - end - - +
    +
    + + + module + B + + : sig ... + end + + +
    -
    -
    -
    - - type u +
    +
    + + type u +
    -
    -
    -
    - - - module - type - S - - = sig ... - end - - +
    +
    + + + module + type + S + + = sig ... + end + + +
    -
    -
    -
    - - module B' - = Foo.B - +
    +
    + + module B' + = Foo.B + +
    diff --git a/test/generators/html/Section.html b/test/generators/html/Section.html index 2f37015616..043d84ed2c 100644 --- a/test/generators/html/Section.html +++ b/test/generators/html/Section.html @@ -8,12 +8,6 @@ -
    -

    Module Section

    -

    This is the module comment. Eventually, sections won't be allowed - in it. -

    -
    -
    -

    - Empty section -

    -

    Text only

    -

    Foo bar.

    -

    Aside only -

    Foo bar.

    -

    Value only -

    -
    -
    - - val foo : unit +
    +
    +

    Module Section

    +

    This is the module comment. Eventually, sections won't be allowed + in it. +

    +
    +
    +

    + Empty section +

    +

    Text only

    +

    Foo bar.

    +

    Aside only +

    Foo bar.

    +

    Value only +

    +
    +
    + + val foo : unit +
    +

    + Empty section +

    +

    + within a comment +

    +

    + and + one with a nested section +

    +

    + + This section title has + markup +

    +

    But links are impossible thanks to the parser, so we never have + trouble rendering a section title in a table of contents – no + link will be nested inside another link. +

    -

    - Empty section -

    -

    - within a comment -

    -

    - and one - with a nested section -

    -

    - This - section title has markup -

    -

    But links are impossible thanks to the parser, so we never have - trouble rendering a section title in a table of contents – no - link will be nested inside another link. -

    diff --git a/test/generators/html/Stop-N.html b/test/generators/html/Stop-N.html index 2046345d98..dc9d7b3a3a 100644 --- a/test/generators/html/Stop-N.html +++ b/test/generators/html/Stop-N.html @@ -11,14 +11,16 @@ -
    -

    Module Stop.N

    -
    -
    -
    -
    - - val quux : int +
    +
    +

    Module Stop.N

    +
    +
    +
    +
    + + val quux : int +
    diff --git a/test/generators/html/Stop-O.html b/test/generators/html/Stop-O.html index 2e80102603..026fc17352 100644 --- a/test/generators/html/Stop-O.html +++ b/test/generators/html/Stop-O.html @@ -11,14 +11,16 @@ -
    -

    Module Stop.O

    -
    -
    -
    -
    - - val bar : int +
    +
    +

    Module Stop.O

    +
    +
    +
    +
    + + val bar : int +
    diff --git a/test/generators/html/Stop-P.html b/test/generators/html/Stop-P.html index c663c2445c..0a62d1ef3e 100644 --- a/test/generators/html/Stop-P.html +++ b/test/generators/html/Stop-P.html @@ -11,14 +11,16 @@ -
    -

    Module Stop.P

    Doc.

    -
    -
    -
    -
    - - val bar : int +
    +
    +

    Module Stop.P

    Doc.

    +
    +
    +
    +
    + + val bar : int +
    diff --git a/test/generators/html/Stop.html b/test/generators/html/Stop.html index 1a4d0e4b29..6aa5149e07 100644 --- a/test/generators/html/Stop.html +++ b/test/generators/html/Stop.html @@ -8,74 +8,77 @@ -
    -

    Module Stop

    -

    This test cases exercises stop comments.

    -
    -
    -
    -
    - - val foo : int -

    This is normal commented text.

    -
    -

    The next value is bar, and it should be missing from - the documentation. There is also an entire module, M - , which should also be hidden. It contains a nested stop comment, - but that stop comment should not turn documentation back on in this - outer module, because stop comments respect scope. -

    Documentation is on again.

    -

    Now, we have a nested module, and it has a stop comment between - its two items. We want to see that the first item is displayed, - but the second is missing, and the stop comment disables documenation - only in that module, and not in this outer module. -

    -
    -
    - - - module N - - : sig ... - end - - +
    +
    +

    Module Stop

    +

    This test cases exercises stop comments.

    +
    +
    +
    +
    + + val foo : int +

    This is normal commented text.

    -
    -
    -
    - - val lol : int +

    The next value is bar, and it should be missing from + the documentation. There is also an entire module, M + , which should also be hidden. It contains a nested stop comment, + but that stop comment should not turn documentation back on in + this outer module, because stop comments respect scope. +

    Documentation is on again.

    +

    Now, we have a nested module, and it has a stop comment between + its two items. We want to see that the first item is displayed, + but the second is missing, and the stop comment disables documenation + only in that module, and not in this outer module. +

    +
    +
    + + + module N + + : sig ... + end + + +
    -
    -

    The first comment can also be a stop-comment. The test case - stop_first_comment.mli is testing the same thing but - at the toplevel. We should see bar inside - O. -

    -
    -
    - - - module O - - : sig ... - end - - +
    +
    + + val lol : int +
    +
    +

    The first comment can also be a stop-comment. The test case + stop_first_comment.mli is testing the same thing but + at the toplevel. We should see bar inside + O. +

    +
    +
    + + + module O + + : sig ... + end + + +
    +
    +

    The top-comment computation must not mess with stop comments.

    +
    +
    + + + module P + + : sig ... + end + + +

    Doc.

    -

    The top-comment computation must not mess with stop comments.

    -
    -
    - - - module P - - : sig ... - end - - -

    Doc.

    diff --git a/test/generators/html/Stop_dead_link_doc-Foo.html b/test/generators/html/Stop_dead_link_doc-Foo.html index 3f52b2b1fe..c1b0acf519 100644 --- a/test/generators/html/Stop_dead_link_doc-Foo.html +++ b/test/generators/html/Stop_dead_link_doc-Foo.html @@ -12,14 +12,16 @@ Stop_dead_link_doc » Foo -
    -

    Module Stop_dead_link_doc.Foo

    -
    -
    -
    -
    - - type t +
    +
    +

    Module Stop_dead_link_doc.Foo

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Stop_dead_link_doc.html b/test/generators/html/Stop_dead_link_doc.html index aa5aea6731..2f36c29c45 100644 --- a/test/generators/html/Stop_dead_link_doc.html +++ b/test/generators/html/Stop_dead_link_doc.html @@ -8,190 +8,194 @@ -
    -

    Module Stop_dead_link_doc

    -
    -
    -
    -
    - - - module - Foo - - : sig ... - end - - +
    +
    +

    Module Stop_dead_link_doc

    +
    +
    +
    +
    + + + module + Foo + + : sig ... + end + + +
    -
    -
    -
    - - type foo = - -
      -
    1. - - | - Bar - of - Foo.t - - -
    2. -
    +
    +
    + + type foo + = + +
      +
    1. + + | + Bar + of + Foo.t + + +
    2. +
    +
    -
    -
    -
    - - type bar = - -
      -
    1. - - | - Bar - of - { - -
        -
      1. - - - field : - Foo.t; - - -
      2. -
      } -
    2. -
    +
    +
    + + type bar + = + +
      +
    1. + + | + Bar + of + { + +
        +
      1. + + + field : + Foo.t; + + +
      2. +
      } +
    2. +
    +
    -
    -
    -
    - - type foo_ - = - -
      -
    1. - - | - Bar_ - of int * - Foo.t * int - - -
    2. -
    +
    +
    + + type foo_ + = + +
      +
    1. + + | + Bar_ + of int * + Foo.t * int + + +
    2. +
    +
    -
    -
    -
    - - type bar_ - = - -
      -
    1. - - | - Bar__ - of - Foo.t option +
      +
      + + type bar_ + = + +
        +
      1. + + | + Bar__ + of + Foo.t option + - - -
      2. -
      +
      +
    2. +
    +
    -
    -
    -
    - - type another_foo - = - -
      -
    1. - - | - Bar - of - Another_Foo.t - - -
    2. -
    +
    +
    + + type another_foo + = + +
      +
    1. + + | + Bar + of + Another_Foo.t + + +
    2. +
    +
    -
    -
    -
    - - type another_bar - = - -
      -
    1. - - | - Bar - of - { - -
        -
      1. - - - field : Another_Foo.t; - - -
      2. -
      } -
    2. -
    +
    +
    + + type another_bar + = + +
      +
    1. + + | + Bar + of + { + +
        +
      1. + + + field : Another_Foo.t; + + +
      2. +
      } +
    2. +
    +
    -
    -
    -
    - - type another_foo_ - = - -
      -
    1. - | - Bar_ - of int * - Another_Foo.t * int - - -
    2. -
    +
    +
    + + type another_foo_ + = + +
      +
    1. + | + Bar_ + of int * + Another_Foo.t * int + + +
    2. +
    +
    -
    -
    -
    - - type another_bar_ - = - -
      -
    1. - | - Bar__ - of - Another_Foo.t option +
      +
      + + type another_bar_ + = + +
        +
      1. + | + Bar__ + of + Another_Foo.t option + - - -
      2. -
      +
      +
    2. +
    +
    diff --git a/test/generators/html/Stop_first_comment.html b/test/generators/html/Stop_first_comment.html index f4b3cfb9ba..670008370c 100644 --- a/test/generators/html/Stop_first_comment.html +++ b/test/generators/html/Stop_first_comment.html @@ -8,14 +8,16 @@ -
    -

    Module Stop_first_comment

    -
    -
    -
    -
    - - val bar : int +
    +
    +

    Module Stop_first_comment

    +
    +
    +
    +
    + + val bar : int +
    diff --git a/test/generators/html/Tag_link.html b/test/generators/html/Tag_link.html index a89e471910..7244d5ab14 100644 --- a/test/generators/html/Tag_link.html +++ b/test/generators/html/Tag_link.html @@ -8,49 +8,51 @@ -
    -

    Module Tag_link

    -
    -
    -
    -
    - - val foo : unit +
    +
    +

    Module Tag_link

    +
    +
    +
    +
    + + val foo : unit +
    -
    -
      -
    • deprecated -

      foo

      -
    • -
    -
      -
    • parameter - foo -

      foo

      -
    • -
    -
      -
    • raises Foo +
        +
      • deprecated +

        foo

        +
      • +
      +
        +
      • parameter + foo +

        foo

        +
      • +
      +
        +
      • raises Foo +

        foo

        +
      • +
      +
        +
      • returns

        foo

        -
      • -
      -
        -
      • returns -

        foo

        -
      • -
      -
        -
      • see - foo -

        foo

        -
      • -
      -
        -
      • before - 0.0.1 -

        foo

        -
      • -
      +
    • +
    +
      +
    • see + foo +

      foo

      +
    • +
    +
      +
    • before + 0.0.1 +

      foo

      +
    • +
    +
    diff --git a/test/generators/html/Toplevel_comments-Alias.html b/test/generators/html/Toplevel_comments-Alias.html index ccd233cc56..2f373edeb5 100644 --- a/test/generators/html/Toplevel_comments-Alias.html +++ b/test/generators/html/Toplevel_comments-Alias.html @@ -11,15 +11,17 @@ -
    -

    Module Toplevel_comments.Alias

    -

    Doc of Alias.

    Doc of T, part 2.

    -
    -
    -
    -
    - - type t +
    +
    +

    Module Toplevel_comments.Alias

    +

    Doc of Alias.

    Doc of T, part 2.

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-Comments_on_open-M.html b/test/generators/html/Toplevel_comments-Comments_on_open-M.html index 8320603993..d031e7e372 100644 --- a/test/generators/html/Toplevel_comments-Comments_on_open-M.html +++ b/test/generators/html/Toplevel_comments-Comments_on_open-M.html @@ -14,14 +14,16 @@ Comments_on_open » M -
    -

    Module Comments_on_open.M

    -
    -
    -
    -
    - - type t +
    +
    +

    Module Comments_on_open.M

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-Comments_on_open.html b/test/generators/html/Toplevel_comments-Comments_on_open.html index 7183238a88..1685ab37f5 100644 --- a/test/generators/html/Toplevel_comments-Comments_on_open.html +++ b/test/generators/html/Toplevel_comments-Comments_on_open.html @@ -12,31 +12,33 @@ Toplevel_comments » Comments_on_open -
    -

    Module Toplevel_comments.Comments_on_open -

    -
    -
    -
    -
    - - - module - M - - : sig ... - end - - -
    -

    Section

    -

    Comments attached to open are treated as floating comments. Referencing - Section - - M.t - works -

    +
    +
    +

    Module Toplevel_comments.Comments_on_open +

    +
    +
    +
    +
    + + + module + M + + : sig ... + end + + +
    +

    Section

    +

    Comments attached to open are treated as floating comments. + Referencing Section + + M.t + works +

    +
    diff --git a/test/generators/html/Toplevel_comments-Include_inline'.html b/test/generators/html/Toplevel_comments-Include_inline'.html index 9f87d90d1a..e8d3ae5f31 100644 --- a/test/generators/html/Toplevel_comments-Include_inline'.html +++ b/test/generators/html/Toplevel_comments-Include_inline'.html @@ -12,16 +12,18 @@ Toplevel_comments » Include_inline' -
    -

    Module Toplevel_comments.Include_inline' -

    Doc of Include_inline, part 1.

    -

    Doc of Include_inline, part 2.

    -
    -

    part 3

    -
    -
    - - type t +
    +
    +

    Module Toplevel_comments.Include_inline' +

    Doc of Include_inline, part 1.

    +

    Doc of Include_inline, part 2.

    +
    +

    part 3

    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-Include_inline.html b/test/generators/html/Toplevel_comments-Include_inline.html index 5e8a0274f2..361bdbe52a 100644 --- a/test/generators/html/Toplevel_comments-Include_inline.html +++ b/test/generators/html/Toplevel_comments-Include_inline.html @@ -12,15 +12,17 @@ Toplevel_comments » Include_inline -
    -

    Module Toplevel_comments.Include_inline

    -

    Doc of T, part 2.

    -
    -
    -
    -
    - - type t +
    +
    +

    Module Toplevel_comments.Include_inline +

    Doc of T, part 2.

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-M''.html b/test/generators/html/Toplevel_comments-M''.html index 8b2c9407c0..2cb560cffc 100644 --- a/test/generators/html/Toplevel_comments-M''.html +++ b/test/generators/html/Toplevel_comments-M''.html @@ -11,10 +11,12 @@ -
    -

    Module Toplevel_comments.M''

    -

    Doc of M'', part 1.

    -

    Doc of M'', part 2.

    -
    +
    +
    +

    Module Toplevel_comments.M''

    +

    Doc of M'', part 1.

    +

    Doc of M'', part 2.

    +
    +
    diff --git a/test/generators/html/Toplevel_comments-M'.html b/test/generators/html/Toplevel_comments-M'.html index 260ccfab11..7f5ca3a607 100644 --- a/test/generators/html/Toplevel_comments-M'.html +++ b/test/generators/html/Toplevel_comments-M'.html @@ -11,9 +11,11 @@ -
    -

    Module Toplevel_comments.M'

    -

    Doc of M' from outside

    -
    +
    +
    +

    Module Toplevel_comments.M'

    +

    Doc of M' from outside

    +
    +
    diff --git a/test/generators/html/Toplevel_comments-M.html b/test/generators/html/Toplevel_comments-M.html index 13135a31bd..f7cd5c4eb5 100644 --- a/test/generators/html/Toplevel_comments-M.html +++ b/test/generators/html/Toplevel_comments-M.html @@ -11,9 +11,11 @@ -
    -

    Module Toplevel_comments.M

    -

    Doc of M

    -
    +
    +
    +

    Module Toplevel_comments.M

    +

    Doc of M

    +
    +
    diff --git a/test/generators/html/Toplevel_comments-Ref_in_synopsis.html b/test/generators/html/Toplevel_comments-Ref_in_synopsis.html index 157dbfb613..083e6266c4 100644 --- a/test/generators/html/Toplevel_comments-Ref_in_synopsis.html +++ b/test/generators/html/Toplevel_comments-Ref_in_synopsis.html @@ -12,18 +12,20 @@ Toplevel_comments » Ref_in_synopsis -
    -

    Module Toplevel_comments.Ref_in_synopsis -

    t.

    -

    This reference should resolve in the context of this module, even - when used as a synopsis. -

    -
    -
    -
    -
    - - type t +
    +
    +

    Module Toplevel_comments.Ref_in_synopsis +

    t.

    +

    This reference should resolve in the context of this module, even + when used as a synopsis. +

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-class-c1.html b/test/generators/html/Toplevel_comments-class-c1.html index 24d7e746e3..9bd3eb0676 100644 --- a/test/generators/html/Toplevel_comments-class-c1.html +++ b/test/generators/html/Toplevel_comments-class-c1.html @@ -11,10 +11,12 @@ -
    -

    Class Toplevel_comments.c1

    -

    Doc of c1, part 1.

    -

    Doc of c1, part 2.

    -
    +
    +
    +

    Class Toplevel_comments.c1

    +

    Doc of c1, part 1.

    +

    Doc of c1, part 2.

    +
    +
    diff --git a/test/generators/html/Toplevel_comments-class-c2.html b/test/generators/html/Toplevel_comments-class-c2.html index 950c319518..21ba5a5b2b 100644 --- a/test/generators/html/Toplevel_comments-class-c2.html +++ b/test/generators/html/Toplevel_comments-class-c2.html @@ -11,9 +11,11 @@ -
    -

    Class Toplevel_comments.c2

    -

    Doc of c2.

    Doc of ct, part 2.

    -
    +
    +
    +

    Class Toplevel_comments.c2

    +

    Doc of c2.

    Doc of ct, part 2.

    +
    +
    diff --git a/test/generators/html/Toplevel_comments-class-type-ct.html b/test/generators/html/Toplevel_comments-class-type-ct.html index d0272b4eb5..7ac5096814 100644 --- a/test/generators/html/Toplevel_comments-class-type-ct.html +++ b/test/generators/html/Toplevel_comments-class-type-ct.html @@ -11,10 +11,12 @@ -
    -

    Class type Toplevel_comments.ct

    -

    Doc of ct, part 1.

    -

    Doc of ct, part 2.

    -
    +
    +
    +

    Class type Toplevel_comments.ct

    +

    Doc of ct, part 1.

    +

    Doc of ct, part 2.

    +
    +
    diff --git a/test/generators/html/Toplevel_comments-module-type-Include_inline_T'.html b/test/generators/html/Toplevel_comments-module-type-Include_inline_T'.html index 3c9bc2894e..c36cc2a317 100644 --- a/test/generators/html/Toplevel_comments-module-type-Include_inline_T'.html +++ b/test/generators/html/Toplevel_comments-module-type-Include_inline_T'.html @@ -12,17 +12,19 @@ Toplevel_comments » Include_inline_T' -
    -

    Module type - Toplevel_comments.Include_inline_T' -

    Doc of Include_inline_T', part 1.

    -

    Doc of Include_inline_T', part 2.

    -
    -

    part 3

    -
    -
    - - type t +
    +
    +

    Module type + Toplevel_comments.Include_inline_T' +

    Doc of Include_inline_T', part 1.

    +

    Doc of Include_inline_T', part 2.

    +
    +

    part 3

    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-module-type-Include_inline_T.html b/test/generators/html/Toplevel_comments-module-type-Include_inline_T.html index 82bfdea092..299a6dcd0c 100644 --- a/test/generators/html/Toplevel_comments-module-type-Include_inline_T.html +++ b/test/generators/html/Toplevel_comments-module-type-Include_inline_T.html @@ -12,16 +12,18 @@ Toplevel_comments » Include_inline_T -
    -

    Module type - Toplevel_comments.Include_inline_T -

    Doc of T, part 2.

    -
    -
    -
    -
    - - type t +
    +
    +

    Module type + Toplevel_comments.Include_inline_T +

    Doc of T, part 2.

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments-module-type-T.html b/test/generators/html/Toplevel_comments-module-type-T.html index 4750ce83f6..7d31174363 100644 --- a/test/generators/html/Toplevel_comments-module-type-T.html +++ b/test/generators/html/Toplevel_comments-module-type-T.html @@ -11,15 +11,18 @@ -
    -

    Module type Toplevel_comments.T

    -

    Doc of T, part 1.

    Doc of T, part 2.

    -
    -
    -
    -
    - - type t +
    +
    +

    Module type Toplevel_comments.T

    +

    Doc of T, part 1.

    +

    Doc of T, part 2.

    +
    +
    +
    +
    + + type t +
    diff --git a/test/generators/html/Toplevel_comments.html b/test/generators/html/Toplevel_comments.html index 1eab1d37df..173a29938c 100644 --- a/test/generators/html/Toplevel_comments.html +++ b/test/generators/html/Toplevel_comments.html @@ -8,206 +8,211 @@ -
    -

    Module Toplevel_comments

    -

    A doc comment at the beginning of a module is considered to be - that module's doc. -

    -
    -
    -
    -
    - - - module - type - T - - = sig ... - end - - -

    Doc of T, part 1.

    -
    -
    -
    - - - module - Include_inline - - : sig ... - end - - -

    Doc of T, part 2.

    -
    -
    -
    - - - module - Include_inline' - - : sig ... - end - - +
    +
    +

    Module Toplevel_comments

    +

    A doc comment at the beginning of a module is considered to be + that module's doc. +

    +
    +
    +
    +
    + + + module + type + T + + = sig ... + end + + +

    Doc of T, part 1.

    -

    Doc of Include_inline, part 1.

    +
    +
    + + + module + Include_inline + + : sig ... + end + + +

    Doc of T, part 2.

    -
    -
    -
    - - - module - type - - Include_inline_T - - - = sig ... - end - - -

    Doc of T, part 2.

    -
    -
    -
    - - - module - type - - Include_inline_T' - - - = sig ... - end - - +
    +
    + + + module + Include_inline' + + : sig ... + end + + +
    +

    Doc of Include_inline, part 1.

    +
    -
    -

    Doc of Include_inline_T', part 1.

    +
    +
    + + + module + type + + Include_inline_T + + + = sig ... + end + + +

    Doc of T, part 2.

    -
    -
    -
    - - - module - M - - : sig ... - end - - -

    Doc of M

    -
    -
    -
    - - - module - M' - - : sig ... - end - - +
    +
    + + + module + type + + Include_inline_T' + + + = sig ... + end + + +
    +
    +

    Doc of Include_inline_T', part 1.

    +
    -

    Doc of M' from outside

    -
    -
    -
    - - - module - M'' - - : sig ... - end - - -

    Doc of M'', part 1.

    -
    -
    -
    - - - module - Alias - - : T - -

    Doc of Alias.

    -
    -
    -
    - - class - c1 - : int -> - object ... - end - - -

    Doc of c1, part 1.

    -
    -
    -
    - - - class - type - - ct - = object ... - end - - -

    Doc of ct, part 1.

    -
    -
    -
    - - class - c2 - : ct - -

    Doc of c2.

    -
    -
    -
    - - - module - Ref_in_synopsis - - : sig ... - end - - +
    +
    + + + module + M + + : sig ... + end + + +

    Doc of M

    -
    -

    - t - . -

    +
    +
    + + + module + M' + + : sig ... + end + + +
    +

    Doc of M' from outside

    -
    -
    -
    - - - module - Comments_on_open - - : sig ... - end - - +
    +
    + + + module + M'' + + : sig ... + end + + +
    +

    Doc of M'', part 1.

    +
    +
    +
    + + + module + Alias + + : T + +

    Doc of Alias.

    +
    +
    +
    + + class + c1 + : int -> + object ... + end + + +

    Doc of c1, part 1.

    +
    +
    +
    + + + class + type + + ct + = object ... + end + + +

    Doc of ct, part 1.

    +
    +
    +
    + + class + c2 + : ct + +

    Doc of c2.

    +
    +
    +
    + + + module + Ref_in_synopsis + + : sig ... + end + + +
    +
    +

    + t + . +

    +
    +
    +
    +
    + + + module + Comments_on_open + + + : sig ... + end + + +
    diff --git a/test/generators/html/Type-module-type-X.html b/test/generators/html/Type-module-type-X.html index dbc0029b25..3a879b1a03 100644 --- a/test/generators/html/Type-module-type-X.html +++ b/test/generators/html/Type-module-type-X.html @@ -11,20 +11,22 @@ -
    -

    Module type Type.X

    -
    -
    -
    -
    - - type t +
    +
    +

    Module type Type.X

    +
    +
    +
    +
    + + type t +
    -
    -
    -
    - - type u +
    +
    + + type u +
    diff --git a/test/generators/html/Type.html b/test/generators/html/Type.html index 15fe9244b8..64c4549fd3 100644 --- a/test/generators/html/Type.html +++ b/test/generators/html/Type.html @@ -8,825 +8,832 @@ -
    -

    Module Type

    -
    -
    -
    -
    - - type abstract -

    Some documentation.

    -
    -
    -
    - - type alias - = int - -
    -
    -
    -
    - - type private_ - = private int - -
    -
    -
    -
    - - - type 'a constructor - = 'a - -
    -
    -
    -
    - - type arrow - = int -> int - - -
    -
    -
    -
    - - type higher_order - = - - (int -> int) - -> - int - - -
    -
    -
    -
    - - type labeled - = - l:int - -> - int - - -
    -
    -
    -
    - - type optional - = - ?l:int - -> - int - - -
    -
    -
    -
    - - - type labeled_higher_order - = - - ( - l:int - -> - int) - -> - - - ( - ?l:int - -> - int) - -> - int - - -
    -
    -
    -
    - - type pair - = int * int - -
    -
    -
    -
    - - type parens_dropped - = int * int - -
    -
    -
    -
    - - type triple - = int * int * int - -
    -
    -
    -
    - - type nested_pair - = (int * int) * int - -
    -
    -
    -
    - - type instance - = int constructor - - -
    -
    -
    -
    - - type long - = - - labeled_higher_order - -> - - - - [ `Bar - | `Baz of triple - ] - -> +
    +
    +

    Module Type

    +
    +
    +
    +
    + + type abstract +

    Some documentation.

    +
    +
    +
    + + type alias + = int + +
    +
    +
    +
    + + type private_ + = private int + +
    +
    +
    +
    + + + type 'a constructor + = 'a + +
    +
    +
    +
    + + type arrow + = int -> int - - pair - -> + +
    +
    +
    +
    + + type higher_order + = + + (int -> int) + -> + int - - labeled - -> - - - higher_order - -> - - - - (string -> int) - -> + +
    +
    +
    +
    + + type labeled + = + l:int + -> + int - - - (int * float * char * string * char * unit) option - -> + +
    +
    +
    +
    + + type optional + = + ?l:int + -> + int - - nested_pair - -> + +
    +
    +
    +
    + + + type labeled_higher_order + = + + ( + l:int + -> + int) + -> + + + ( + ?l:int + -> + int) + -> + int - - arrow - -> + +
    +
    +
    +
    + + type pair + = int * int + +
    +
    +
    +
    + + type parens_dropped + = int * int + +
    +
    +
    +
    + + type triple + = int * int * int + +
    +
    +
    +
    + + type nested_pair + = (int * int) * int + +
    +
    +
    +
    + + type instance + = int constructor - - string -> - - nested_pair array - - -
    -
    -
    -
    - - type variant_e - = { - -
      -
    1. - - a : int; -
    2. -
    } -
    -
    -
    -
    - - type variant - = - -
      -
    1. - - | A - -
    2. -
    3. - - | - B - of int + +
    +
    +
    +
    + + type long + = + + labeled_higher_order + -> - - -
  • - - | C - -
    (*

    foo

    - *) -
    -
  • -
  • - - | D - -
    (* -

    bar

    *) -
    -
  • -
  • - - | - E - of - variant_e + + + [ `Bar + | `Baz of triple + ] + -> - -
  • - -
    -
    -
    -
    - - type variant_c - = { - -
      -
    1. - - a : int; -
    2. -
    } -
    -
    -
    -
    - - type _ gadt - = - -
      -
    1. - - | - A : - int gadt + + pair + -> - -
    2. -
    3. - - | - B : int - -> - string gadt + + labeled + -> - -
    4. -
    5. - - | - C : - variant_c - -> - unit gadt + + higher_order + -> - -
    6. -
    -
    -
    -
    -
    - - type degenerate_gadt - = - -
      -
    1. - | - A : - degenerate_gadt + + + (string -> int) + -> - -
    2. -
    -
    -
    -
    -
    - - type private_variant - = private - -
      -
    1. - | A - -
    2. -
    -
    -
    -
    -
    - - type record - = { - -
      -
    1. - - a : int; -
    2. -
    3. - - mutable b : int; - -
    4. -
    5. - - c : int; -
      (*

      foo

      - *) -
      -
    6. -
    7. - - d : int; -
      (* -

      bar

      *) -
      -
    8. -
    9. - - e : 'a. 'a; -
    10. -
    } -
    -
    -
    -
    - - type polymorphic_variant - = [ - -
      -
    1. - | `A -
    2. -
    3. - | - `B of int - -
    4. -
    5. - | - `C of int * unit - -
    6. -
    7. - | `D -
    8. -
    ] -
    -
    -
    -
    - - - type polymorphic_variant_extension - = [ - -
      -
    1. - - - | - polymorphic_variant + + + (int * float * char * string * char * unit) + option + -> - -
    2. -
    3. - - | `E -
    4. -
    ] -
    -
    -
    -
    - - - type nested_polymorphic_variant - = [ - -
      -
    1. - - | - `A of - [ `B | `C ] + + nested_pair + -> - -
    2. -
    ] -
    -
    -
    -
    - - type private_extenion - = private - [> - -
      -
    1. - - - | - polymorphic_variant + + arrow + -> - -
    2. -
    ] -
    -
    -
    -
    - - type object_ - = < a : int ; b : int ; c : int > - -
    -
    -
    -
    - - - module - type - X - - = sig ... - end - - -
    -
    -
    -
    - - type module_ - = - (module - X) + + string -> + + nested_pair array - - -
    -
    -
    -
    - - type module_substitution - = - (module - X - with type - t = int - and type - u = unit) + +
    +
    +
    +
    + + type variant_e + = { + +
      +
    1. + + a : int; +
    2. +
    } +
    +
    +
    +
    + + type variant + = + +
      +
    1. + + | A + +
    2. +
    3. + + | + B + of int + + +
    4. +
    5. + + | C + +
      (*

      foo

      + *) +
      +
    6. +
    7. + + | D + +
      (* +

      bar

      *) +
      +
    8. +
    9. + + | + E + of + variant_e + + +
    10. +
    +
    +
    +
    +
    + + type variant_c + = { + +
      +
    1. + + a : int; +
    2. +
    } +
    +
    +
    +
    + + + type _ gadt + = + +
      +
    1. + + | + A : + int gadt + + +
    2. +
    3. + + | + B : int + -> + string gadt + + +
    4. +
    5. + + | + C : + variant_c + -> + unit gadt + + +
    6. +
    +
    +
    +
    +
    + + type degenerate_gadt + = + +
      +
    1. + | + A : + degenerate_gadt + + +
    2. +
    +
    +
    +
    +
    + + type private_variant + = private + +
      +
    1. + | A + +
    2. +
    +
    +
    +
    +
    + + type record + = { + +
      +
    1. + + a : int; +
    2. +
    3. + + mutable b : int; + +
    4. +
    5. + + c : int; +
      (*

      foo

      + *) +
      +
    6. +
    7. + + d : int; +
      (* +

      bar

      *) +
      +
    8. +
    9. + + e : 'a. 'a; +
    10. +
    } +
    +
    +
    +
    + + + type polymorphic_variant + = [ + +
      +
    1. + | `A +
    2. +
    3. + | + `B of int + +
    4. +
    5. + | + `C of int * unit + +
    6. +
    7. + | `D +
    8. +
    ] +
    +
    +
    +
    + + + type polymorphic_variant_extension + = [ + +
      +
    1. + + + | + polymorphic_variant + + +
    2. +
    3. + + | `E +
    4. +
    ] +
    +
    +
    +
    + + + type nested_polymorphic_variant + = [ + +
      +
    1. + + | + `A of + [ `B | `C ] + + +
    2. +
    ] +
    +
    +
    +
    + + type private_extenion + = private + [> + +
      +
    1. + + + | + polymorphic_variant + + +
    2. +
    ] +
    +
    +
    +
    + + type object_ + = < a : int ; b : int ; c : int > + +
    +
    +
    +
    + + + module + type + X - - -
    -
    -
    -
    - - - type +'a covariant - - -
    -
    -
    -
    - - - type -'a contravariant - - -
    -
    -
    -
    - - - type _ bivariant - = int - -
    -
    -
    -
    - - - type ('a, 'b) binary - - -
    -
    -
    -
    - - type using_binary - = - (int, int) binary - - -
    -
    -
    -
    - - - type 'custom name - - -
    -
    -
    -
    - - - type 'a constrained - = 'a - constraint - 'a = int - - -
    -
    -
    -
    - - - type 'a exact_variant - = 'a - constraint - 'a = - [ `A | `B of int ] - - -
    -
    -
    -
    - - - type 'a lower_variant - = 'a - constraint - 'a = - [> `A | `B of int ] - - -
    -
    -
    -
    - - - type 'a any_variant - = 'a - constraint - 'a = [> ] - - -
    -
    -
    -
    - - - type 'a upper_variant - = 'a - constraint - 'a = - [< `A | `B of int ] - - -
    -
    -
    -
    - - - type 'a named_variant - = 'a - constraint - 'a = - [< - polymorphic_variant ] + = sig ... + end - - -
    -
    -
    -
    - - - type 'a exact_object - = 'a - constraint - 'a = - < a : int ; b : int > - - -
    -
    -
    -
    - - - type 'a lower_object - = 'a - constraint - 'a = - < a : int ; b : int.. > - - -
    -
    -
    -
    - - - type 'a poly_object - = 'a - constraint - 'a = - < a : 'a. 'a > - - -
    -
    -
    -
    - - - type - ('a, 'b) double_constrained - - = 'a * - 'b - - constraint - 'a = int - constraint - 'b = unit - - -
    -
    -
    -
    - - type as_ - = int as 'a * - 'a - - -
    -
    -
    -
    - - type extensible - = .. - -
    -
    -
    -
    - - - type - extensible += - - -
      -
    1. - - | - Extension - -
      (* -

      Documentation for - Extension. -

      *) -
      -
    2. -
    3. - | - Another_extension - -
      (* -

      Documentation for - - Another_extension - . -

      *) -
      -
    4. -
    -
    -
    -
    -
    - - type mutually - = - -
      -
    1. - - | - A - of - recursive + +
    +
    +
    +
    + + type module_ + = + (module + X) - - - -
    -
    -
    -
    - - and recursive - = - -
      -
    1. - - | - B - of - mutually + + +
    +
    +
    +
    + + + type module_substitution + = + (module + X + with type + t = int + and type + u = unit) - - - -
    -
    -
    -
    - - exception - Foo - of int * int - - + + +
    +
    +
    +
    + + + type +'a covariant + + +
    +
    +
    +
    + + + type -'a contravariant + + +
    +
    +
    +
    + + + type _ bivariant + = int + +
    +
    +
    +
    + + + type ('a, 'b) binary + + +
    +
    +
    +
    + + type using_binary + = + (int, int) binary + + + +
    +
    +
    +
    + + + type 'custom name + + +
    +
    +
    +
    + + + type 'a constrained + = 'a + constraint + 'a = int + + +
    +
    +
    +
    + + + type 'a exact_variant + = 'a + constraint + 'a = + [ `A | `B of int ] + + +
    +
    +
    +
    + + + type 'a lower_variant + = 'a + constraint + 'a = + [> `A | `B of int ] + + +
    +
    +
    +
    + + + type 'a any_variant + = 'a + constraint + 'a = [> ] + + +
    +
    +
    +
    + + + type 'a upper_variant + = 'a + constraint + 'a = + [< `A | `B of int ] + + +
    +
    +
    +
    + + + type 'a named_variant + = 'a + constraint + 'a = + [< + polymorphic_variant ] + + + +
    +
    +
    +
    + + + type 'a exact_object + = 'a + constraint + 'a = + < a : int ; b : int > + + +
    +
    +
    +
    + + + type 'a lower_object + = 'a + constraint + 'a = + < a : int ; b : int.. > + + +
    +
    +
    +
    + + + type 'a poly_object + = 'a + constraint + 'a = + < a : 'a. 'a > + + +
    +
    +
    +
    + + + type + ('a, 'b) double_constrained + + = 'a * + 'b + + constraint + 'a = int + constraint + 'b = unit + + +
    +
    +
    +
    + + type as_ + = int as 'a * + 'a + + +
    +
    +
    +
    + + type extensible + = .. + +
    +
    +
    +
    + + + type + extensible += + + +
      +
    1. + + | + Extension + +
      (* +

      Documentation for + Extension. +

      *) +
      +
    2. +
    3. + | + Another_extension + +
      (* +

      Documentation for + + Another_extension + . +

      *) +
      +
    4. +
    +
    +
    +
    +
    + + type mutually + = + +
      +
    1. + + | + A + of + recursive + + +
    2. +
    +
    +
    +
    +
    + + and recursive + = + +
      +
    1. + + | + B + of + mutually + + +
    2. +
    +
    +
    +
    +
    + + exception + Foo + of int * int + + +
    diff --git a/test/generators/html/Val.html b/test/generators/html/Val.html index 325b18b985..45d73fb753 100644 --- a/test/generators/html/Val.html +++ b/test/generators/html/Val.html @@ -8,30 +8,33 @@ -

    Module Val

    -
    -
    -
    -
    - - val documented : unit - -

    Foo.

    -
    -
    -
    - - val undocumented : unit - +
    +
    +

    Module Val

    +
    +
    +
    +
    + + val documented : unit + +

    Foo.

    +
    +
    +
    + + val undocumented : unit + +
    +
    +
    +
    + + + val documented_above : unit + +

    Bar.

    -
    -
    -
    - - - val documented_above : unit - -

    Bar.

    diff --git a/test/generators/html/mld.html b/test/generators/html/mld.html index bb216d4180..2b5ae483a0 100644 --- a/test/generators/html/mld.html +++ b/test/generators/html/mld.html @@ -8,12 +8,6 @@ -
    -

    Mld Page

    -

    This is an .mld file. It doesn't have an auto-generated - title, like modules and other pages generated fully by odoc do. -

    It will have a TOC generated from section headings.

    -
    -
    -

    Section

    -

    This is a section.

    Another paragraph in section.

    -

    - Another section -

    This is another section.

    Another paragraph in section 2.

    -

    Subsection -

    This is a subsection.

    Another paragraph in subsection.

    -

    Yet another paragraph in subsection.

    -

    - Another Subsection -

    This is another subsection.

    -

    Another paragraph in subsection 2.

    -

    Yet another paragraph in subsection 2.

    +
    +
    +

    Mld Page

    +

    This is an .mld file. It doesn't have an auto-generated + title, like modules and other pages generated fully by odoc do. +

    It will have a TOC generated from section headings.

    +
    +
    +

    Section

    +

    This is a section.

    Another paragraph in section.

    +

    + Another section +

    This is another section.

    +

    Another paragraph in section 2.

    +

    Subsection +

    This is a subsection.

    Another paragraph in subsection.

    +

    Yet another paragraph in subsection.

    +

    + Another Subsection +

    This is another subsection.

    +

    Another paragraph in subsection 2.

    +

    Yet another paragraph in subsection 2.

    +
    diff --git a/test/integration/html_opts.t/run.t b/test/integration/html_opts.t/run.t index 7bb00136dc..2f0f50b378 100644 --- a/test/integration/html_opts.t/run.t +++ b/test/integration/html_opts.t/run.t @@ -15,8 +15,8 @@ check it's got the expected content by looking for 'type-t' $ grep odoc-nav html/test/Test/index.html -
    -

    Module Test.N

    -
    -
    -

    An other conflicting label

    -

    An other conflicting label - Potentially conflicting label -

    +
    +
    +

    Module Test.N

    +
    +
    +

    An other conflicting label +

    +

    An other conflicting label + Potentially conflicting label +

    +
    @@ -87,51 +90,53 @@ The second occurence of 'B' in the main page should be disambiguated -
    -

    Module Test

    -
    -
    -

    First label

    -

    Floating label

    -
    -
    - - - module M - - : sig ... - end - - +
    +
    +

    Module Test

    +
    +
    +

    First label

    +

    Floating label

    +
    +
    + + + module M + + : sig ... + end + + +
    +
    +
    + + + module N + + : sig ... + end + + +
    +

    Dupplicate B

    +

    Define B again in the same scope.

    +

    References to the labels:

    +

    First label + Dupplicate B + First label of M + Floating label in M + Potentially conflicting label + An other conflicting label +

    -
    -
    - - - module N - - : sig ... - end - - -
    -

    Dupplicate B

    -

    Define B again in the same scope.

    -

    References to the labels:

    -

    First label - Dupplicate B - First label of M - Floating label in M - Potentially conflicting label - An other conflicting label -

    diff --git a/test/xref2/module_preamble.t/run.t b/test/xref2/module_preamble.t/run.t index f5e09a080c..5a11223ac5 100644 --- a/test/xref2/module_preamble.t/run.t +++ b/test/xref2/module_preamble.t/run.t @@ -42,22 +42,24 @@ and that "hidden" modules (eg. `A__b`, rendered to `html/A__b`) are not rendered -

    Module A

    -

    Module A.

    -
    -
    -
    -
    - - - module B - - : sig ... - end - - -
    -

    Module B. This paragraph is the synopsis.

    +
    +

    Module A

    +

    Module A.

    +
    +
    +
    +
    + + + module B + + : sig ... + end + + +
    +

    Module B. This paragraph is the synopsis.

    +
    @@ -81,23 +83,26 @@ and that "hidden" modules (eg. `A__b`, rendered to `html/A__b`) are not rendered test » A » B -

    Module A.B

    -

    Module B. This paragraph is the synopsis.

    -

    This paragraph and the previous are part of the preamble.

    -
    -
    -

    An heading -

    -

    This paragraph is not part of the preamble. It'll be rendered in - the "content". -

    -
    -
    - - type t +
    +
    +

    Module A.B

    +

    Module B. This paragraph is the synopsis.

    +

    This paragraph and the previous are part of the preamble.

    +
    +
    +

    An heading +

    +

    This paragraph is not part of the preamble. It'll be rendered + in the "content". +

    +
    +
    + + type t +
    @@ -120,8 +125,10 @@ and that "hidden" modules (eg. `A__b`, rendered to `html/A__b`) are not rendered -
    -

    Module A__b

    -

    This module is hidden.

    +
    +
    +

    Module A__b

    +

    This module is hidden.

    +
    diff --git a/test/xref2/ocaml_stdlib.t/run.t b/test/xref2/ocaml_stdlib.t/run.t index 327378caa4..4fdd3b6f01 100644 --- a/test/xref2/ocaml_stdlib.t/run.t +++ b/test/xref2/ocaml_stdlib.t/run.t @@ -19,4 +19,4 @@ Imitate the way the stdlib is built and how its documentation should be built. The page for Main should include the synopsis from X: $ cat html/ocaml/Main/index.html | grep "Synopsis" -

    Synopsis

    +

    Synopsis