Server.Server_docSourceServer Documentation
The main chapters of the documentation.
A page of the server documentation.
val page :
chapter ->
title:string ->
?descr:Frama_c_kernel.Markdown.elements ->
?plugin:Package.plugin ->
readme:string option ->
filename:string ->
unit ->
pageObtain the given page in the server documentation.
The readme introductory section is read from the source directory:
src/plugins/server/<filename> server and kernel pages,src/plugins/<plugin>/<filename> for plugin's pages.val publish :
page:page ->
?name:string ->
?index:string list ->
title:string ->
?contents:Frama_c_kernel.Markdown.elements ->
?generated:(unit -> Frama_c_kernel.Markdown.elements) ->
unit ->
Frama_c_kernel.Markdown.hrefAdds a section in the corresponding page. Returns an href to the published section. If index items are provided, they are added to the server documentation index.
Publish a protocol.
Publish a package.
Dumps all published pages of documentations. Unless ~meta:false, also generates METADATA for each page in <filename>.json for each page.