We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e4495 commit 0359795Copy full SHA for 0359795
src/ocamlorg_package/lib/ocamlorg_package.ml
@@ -287,7 +287,7 @@ module Documentation = struct
287
match Yojson.Safe.from_string s with
288
| `Assoc
289
[
290
- ("header", `String _TODO);
+ ("header", `String header);
291
("type", `String _page_type);
292
("uses_katex", `Bool uses_katex);
293
("breadcrumbs", `List json_breadcrumbs);
@@ -301,7 +301,7 @@ module Documentation = struct
301
uses_katex;
302
breadcrumbs;
303
toc = List.map toc_of_json json_toc;
304
- content = preamble ^ content;
+ content = header ^ preamble ^ content;
305
}
306
| _ -> raise (Invalid_argument "malformed .html.json file")
307
end
0 commit comments