Skip to content
Snippets Groups Projects
Commit 4dcb1df6 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[server] fix « typo » in code

parent c742837c
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ module BatchOutputDir = Senv.Empty_string
directory."
end)
let () = Server_doc.protocole ~title:"Batch Protocol" ~readme:"server_batch.md"
let () = Server_doc.protocol ~title:"Batch Protocol" ~readme:"server_batch.md"
(* -------------------------------------------------------------------------- *)
......
......@@ -98,11 +98,11 @@ let publish ~page ?name ?(index=[]) ~title
List.iter (fun entry -> entries := (entry , href) :: !entries) index ;
page.sections <- section :: page.sections ; href
let protocole ~title ~readme:filename =
let protocol ~title ~readme:filename =
let readme = Printf.sprintf "%s/server/%s" (Fc_config.datadir :> string) filename in
ignore (page `Protocol ~title ~readme ~filename ())
let () = protocole ~title:"Architecture" ~readme:"server.md"
let () = protocol ~title:"Architecture" ~readme:"server.md"
(* -------------------------------------------------------------------------- *)
(* --- Package Publication --- *)
......
......@@ -64,8 +64,8 @@ val publish :
?generated:(unit -> Markdown.elements) ->
unit -> Markdown.href
(** Publish a protocole. *)
val protocole : title:string -> readme:string -> unit
(** Publish a protocol. *)
val protocol : title:string -> readme:string -> unit
(** Publish a package. *)
val package : Package.packageInfo -> unit
......
......@@ -50,7 +50,7 @@ module SocketSize = Senv.Int
let help = "Control the size of socket buffers (in ko, default 256)."
end)
let _ = Server_doc.protocole
let _ = Server_doc.protocol
~title:"Unix Socket Protocol"
~readme:"server_socket.md"
......
......@@ -58,7 +58,7 @@ module Client = Senv.String
as first and unique argument."
end)
let _ = Server_doc.protocole ~title:"ZeroMQ Protocol" ~readme:"server_zmq.md"
let _ = Server_doc.protocol ~title:"ZeroMQ Protocol" ~readme:"server_zmq.md"
(* -------------------------------------------------------------------------- *)
(* --- ZMQ Context --- *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment