package stog_rel_href

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 : '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)