Skip to content

Commit eb17faf

Browse files
authored
Merge branch 'master' into fix-build
2 parents 71e5f86 + ad2ddb0 commit eb17faf

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

content/universe.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<t:insert name="nav" />
66
</ul>
77
</div>
8-
<form class="span3 form-search">
8+
<form class="span3 form-search" style="display:none;">
99
<div class="input-append">
1010
<input id="search" class="search-query" type="text" placeholder="Search packages" />
1111
<button id="search-button" class="btn add-on">

ext/js/site.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
$('.form-search').submit(function(e) {
1212
e.preventDefault();
1313
});
14+
$('.form-search').show();
1415

1516
$('a,h2,h3,h4').filter(':not([href])[id]').click(function() {
1617
location.hash = $( this ).attr('id');

opam2web.opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ depends: [
2020
"opam-file-format" {>="2.1.0" & < "2.1.1"}
2121
"cohttp-lwt-unix"
2222
"yojson" {>= "1.6.0"}
23+
"opam-file-format" {< "2.1.1"}
24+
"cmdliner" {>= "1.0.4"}
25+
"omd" {>= "1.3.1"}
2326
]
2427
build: [
2528
# ["dune" "subst"] {pinned}

src/o2wDocumentation.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ let doc_toc md_content =
109109

110110
(* Generate the HTML corresponding to a documentation page in the <content>/doc
111111
directory *)
112-
let to_menu_aux ~subdir ?(header=Cow.Html.nil) ~menu_pages ~srcurl =
112+
let to_menu_aux ~subdir ?(header=Cow.Html.nil) ~menu_pages ~srcurl () =
113113

114114
(* Convert a content page to html *)
115115
let to_html doc_menu kind filename: Cow.Html.t =
@@ -228,7 +228,7 @@ let to_menu ~content_dir =
228228
read_menu ~dir:(content_dir / subdir)
229229
(content_dir / subdir / "index.menu")
230230
in
231-
let menu = to_menu_aux ~subdir ~menu_pages ~srcurl ?header in
231+
let menu = to_menu_aux ~subdir ~menu_pages ~srcurl ?header () in
232232
menu, srcurl
233233
in
234234
(* Main (current) 1.2 help menu *)

0 commit comments

Comments
 (0)