package stog_rel_href

  1. Overview
  2. Docs
Stog plugin to generate relative urls

Install

Dune Dependency

Authors

Maintainers

Sources

stog-0.20.0.tar.gz
md5=2b0da8498e2e425cdbc44ff7ecb2a097
sha512=ae11b868e2a6d5e92ffffdde04f25ae1595e4bd7c9a6447327764327f17d2641713f01374f14ec9fd52e0ca7e0feb9d85c4fc5913aa49b4d1d73c52427d4263e

doc/stog_rel_href/Stog_rel_href/index.html

Module Stog_rel_href

A plugin to change URIs in href attributes to relative ones. By now it only rewrite URIs of a document to a block of the same doc URI#id to #id.

module XR = Xtmpl.Rewrite
module Xml = Xtmpl.Xml
val rewrite_href : String.t -> Stog.Types.XR.tree -> Stog.Types.XR.tree
val rewrite : 'a Stog.Engine.level_fun
val level_funs : (string * 'a Stog.Engine.level_fun) list
val default_levels : int list Stog.Types.Str_map.t
val module_name : string
val make_module : ?levels:(string * int list) list -> unit -> (module Stog.Engine.Module)
OCaml

Innovation. Community. Security.