mirror of
https://github.com/TheRealOwenRees/pgn_to_tex.git
synced 2026-11-18 04:42:07 +00:00
ci: add CI and GitHub Pages documentation workflows
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user