From 682f0c931d1fe030c615ace340da21752c14926a Mon Sep 17 00:00:00 2001 From: Vincent Balat Date: Sat, 15 Jun 2024 17:38:34 +0200 Subject: [PATCH] Staticmod doc update + menu --- doc/dev/api/menu.wiki | 15 ++++++++++++++- doc/dev/manual/quickstart.wiki | 2 +- doc/dev/manual/staticmod.wiki | 10 ++++++++-- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/doc/dev/api/menu.wiki b/doc/dev/api/menu.wiki index dfae7cbe0..3c693caa8 100644 --- a/doc/dev/api/menu.wiki +++ b/doc/dev/api/menu.wiki @@ -1,4 +1,18 @@ =~Ocsigen server ~- ~A~P~I reference +==Extensions +===[[Staticmod|Staticmod]] +===[[Extendconfiguration|Extendconfiguration]] +===[[Accesscontrol|Accesscontrol]] +===[[Authbasic|Authbasic]] +===[[CGImod|CGImod]] +===[[Deflatemod|Deflatemod]] +===[[Redirectmod|Redirectmod]] +===[[Revproxy|Revproxy]] +===[[Rewritemod|Rewritemod]] +===[[Outputfilter|Outputfilter]] +===[[Userconf|Userconf]] +===[[Comet|Comet]] +===[[CORS|CORS]] ==~Persistent data~, writing in the logs~, configuration file extension~, polymorphic tables ===[[Ocsigen_lib|Ocsigen_lib]] ===[[Ocsigen_messages|Ocsigen_messages]] @@ -17,7 +31,6 @@ ===[[Ocsigen_http_com|Ocsigen_http_com]] ===[[Ocsigen_stream|Ocsigen_stream]] ===[[Ocsigen_comet|Ocsigen_comet]] -===[[Authbasic|Authbasic]] ==~Indexes === <> === <> diff --git a/doc/dev/manual/quickstart.wiki b/doc/dev/manual/quickstart.wiki index 4e0e64318..3a466273e 100644 --- a/doc/dev/manual/quickstart.wiki +++ b/doc/dev/manual/quickstart.wiki @@ -142,4 +142,4 @@ default). If you cannot solve your problem, if you find a bug, a mistake in the documentation (even a small one), or if you want to make a suggestion, -[[https://github.com/ocsigen/ocsigenserver|fill a ticket on Github]]. +[[https://github.com/ocsigen/ocsigenserver|open an issue on Github]]. diff --git a/doc/dev/manual/staticmod.wiki b/doc/dev/manual/staticmod.wiki index a4b5aeb9a..a5fb1f68b 100644 --- a/doc/dev/manual/staticmod.wiki +++ b/doc/dev/manual/staticmod.wiki @@ -1,9 +1,15 @@ =Staticmod= Staticmod is a module allowing to serve static pages (files). -==Configuration + +==Using as a library +Have a look at the <> +if you want to use Staticmod as a library for your OCaml programs. + +==Configuration file ===Basics -To use that extension, first load it from the configuration file: +To use that extension with Ocsigen Server's configuration file, +load the extension like this: {{{ }}}