ci: add CI and GitHub Pages documentation workflows

This commit is contained in:
2026-10-23 16:38:24 +02:00
committed by owenrees
parent 786bad8956
commit 2bf11e92a8
16 changed files with 169 additions and 38 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ let build_title_string event title subtitle =
| event, "", "" -> "\\title{" ^ escape_tex event ^ "}"
| _event, title, "" -> "\\title{" ^ escape_tex title ^ "}"
| _event, title, subtitle ->
"\\title{" ^ escape_tex title ^ "\\\\[2ex]\\large{"
^ escape_tex subtitle ^ "}}"
"\\title{" ^ escape_tex title ^ "\\\\[2ex]\\large{" ^ escape_tex subtitle
^ "}}"
(* Date and Site string builder *)
let build_date_site_string date site =
+3 -3
View File
@@ -76,11 +76,11 @@ and read_comment_clock buf =
| clock_val ->
let time = Utf8.lexeme buf in
begin match%sedlex buf with
| ']' -> begin
match%sedlex buf with
| ']' ->
begin match%sedlex buf with
| Star white_space, '}' -> CLOCK time
| _ -> failwith "Expected closing '}' after clock comment"
end
end
| _ -> failwith "Malformed clock in comment: expected ']'"
end
| _ -> failwith "Malformed clock value"