Rocq
module Rocq
| Assembly | Nacara.Plugin.Rocq |
| Attributes | [<RequireQualifiedAccess>] |
Documentation pages from a compiled Rocq project: a page per module, and the Guarantees page.
Functions and values
collection (name: string) (options: RocqOptions) : Collection<RocqPage>
collection (name: string) (options: RocqOptions) : Collection<RocqPage>A collection whose pages are the project's modules and its Guarantees page.
Load problems are the diagnostics rocq/project-load-failed and rocq/facts-stale. A build never runs Rocq.
| Parameter | |
|---|---|
name |
What the site calls the collection. |
options |
Which project to read, and where to publish it. |
config (value: string option) (options: RocqOptions) : RocqOptions
config (value: string option) (options: RocqOptions) : RocqOptionsSet Config.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |
create (options: RocqOptions) : IPlugin
create (options: RocqOptions) : IPluginThe plugin itself: the page format, assets, data files, colouring for rocq and coq fences, and rocq-capture. The collection produces the pages.
| Parameter | |
|---|---|
options |
The same options the collection was given. |
defaults: RocqOptions
defaults: RocqOptionsA project at _CoqProject published at the site root, with no facts or configuration.
dropStaleFacts (value: bool) (options: RocqOptions) : RocqOptions
dropStaleFacts (value: bool) (options: RocqOptions) : RocqOptionsSet DropStaleFacts.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |
extensions (value: IMarkdownExtension list) (options: RocqOptions) : RocqOptions
extensions (value: IMarkdownExtension list) (options: RocqOptions) : RocqOptionsSet Extensions.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |
facts (value: string option) (options: RocqOptions) : RocqOptions
facts (value: string option) (options: RocqOptions) : RocqOptionsSet Facts.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |
home (value: (string * string) option) (options: RocqOptions) : RocqOptions
home (value: (string * string) option) (options: RocqOptions) : RocqOptionsSet Home.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |
project (value: string) (options: RocqOptions) : RocqOptions
project (value: string) (options: RocqOptions) : RocqOptionsSet Project.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |
reader (options: RocqOptions) (context: PageContext<RocqPage>) : ReactElement
reader (options: RocqOptions) (context: PageContext<RocqPage>) : ReactElementThe Reader layout: modules, article and outline, with the client islands. It renders the whole document.
| Parameter | |
|---|---|
options |
The same options the collection was given. |
context |
The page being rendered. |
register (options: RocqOptions) (site: Site) : Site
register (options: RocqOptions) (site: Site) : SiteAdds the plugin to a site.
| Parameter | |
|---|---|
options |
The same options the collection was given. |
site |
The site being described. |
root (value: string) (options: RocqOptions) : RocqOptions
root (value: string) (options: RocqOptions) : RocqOptionsSet Root.
| Parameter | |
|---|---|
value |
The value to use. |
options |
The options so far. |