File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ type t = {
12
12
flat : bool ;
13
13
open_details : bool ;
14
14
as_json : bool ;
15
- escape_breadcrumb : bool ;
15
+ home_breadcrumb : bool ;
16
16
}
17
17
18
18
let v ?(search_result = false ) ?theme_uri ?support_uri ?(search_uris = [] )
19
19
~semantic_uris ~indent ~flat ~open_details ~as_json ~remap
20
- ?(escape_breadcrumb = true ) () =
20
+ ?(home_breadcrumb = true ) () =
21
21
{
22
22
semantic_uris;
23
23
indent;
@@ -29,7 +29,7 @@ let v ?(search_result = false) ?theme_uri ?support_uri ?(search_uris = [])
29
29
as_json;
30
30
search_result;
31
31
remap;
32
- escape_breadcrumb ;
32
+ home_breadcrumb ;
33
33
}
34
34
35
35
let theme_uri config : Types.uri =
@@ -54,4 +54,4 @@ let search_result config = config.search_result
54
54
55
55
let remap config = config.remap
56
56
57
- let escape_breadcrumb config = config.escape_breadcrumb
57
+ let home_breadcrumb config = config.home_breadcrumb
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ val v :
13
13
open_details :bool ->
14
14
as_json :bool ->
15
15
remap :(string * string ) list ->
16
- ?escape_breadcrumb : bool ->
16
+ ?home_breadcrumb : bool ->
17
17
unit ->
18
18
t
19
19
(* * [search_result] indicates whether this is a summary for a search result. In
@@ -39,4 +39,4 @@ val search_result : t -> bool
39
39
40
40
val remap : t -> (string * string ) list
41
41
42
- val escape_breadcrumb : t -> bool
42
+ val home_breadcrumb : t -> bool
Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ module Breadcrumbs = struct
614
614
{ Types. current; parents; up_url }
615
615
in
616
616
let escape =
617
- match (Config. escape_breadcrumb config, find_parent sidebar) with
617
+ match (Config. home_breadcrumb config, find_parent sidebar) with
618
618
| true , Some { node; _ } -> (
619
619
match page_parent node.url.page with
620
620
| None -> []
Original file line number Diff line number Diff line change @@ -1132,12 +1132,12 @@ module Odoc_html_args = struct
1132
1132
(parser, printer)
1133
1133
end
1134
1134
1135
- let escape_breadcrumb =
1135
+ let home_breadcrumb =
1136
1136
let doc =
1137
1137
" Wether to add a 'Home' breadcrumb to go up the root of the given \
1138
1138
sidebar."
1139
1139
in
1140
- Arg. (value & flag & info ~docv: " escape" ~doc [ " escape -breadcrumb" ])
1140
+ Arg. (value & flag & info ~docv: " escape" ~doc [ " home -breadcrumb" ])
1141
1141
1142
1142
let theme_uri =
1143
1143
let doc =
@@ -1207,7 +1207,7 @@ module Odoc_html_args = struct
1207
1207
1208
1208
let extra_args =
1209
1209
let config semantic_uris closed_details indent theme_uri support_uri
1210
- search_uris flat as_json remap remap_file escape_breadcrumb =
1210
+ search_uris flat as_json remap remap_file home_breadcrumb =
1211
1211
let open_details = not closed_details in
1212
1212
let remap =
1213
1213
match remap_file with
@@ -1228,14 +1228,14 @@ module Odoc_html_args = struct
1228
1228
in
1229
1229
let html_config =
1230
1230
Odoc_html.Config. v ~theme_uri ~support_uri ~search_uris ~semantic_uris
1231
- ~indent ~flat ~open_details ~as_json ~remap ~escape_breadcrumb ()
1231
+ ~indent ~flat ~open_details ~as_json ~remap ~home_breadcrumb ()
1232
1232
in
1233
1233
{ Html_page. html_config }
1234
1234
in
1235
1235
Term. (
1236
1236
const config $ semantic_uris $ closed_details $ indent $ theme_uri
1237
1237
$ support_uri $ search_uri $ flat $ as_json $ remap $ remap_file
1238
- $ escape_breadcrumb )
1238
+ $ home_breadcrumb )
1239
1239
end
1240
1240
1241
1241
module Odoc_html = Make_renderer (Odoc_html_args )
You can’t perform that action at this time.
0 commit comments