package stog_rel_href

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

stog-1.0.0.tar.gz
md5=e9ce23a296e6309688a2d459fcbf9320
sha512=eeffb8957436879409d66138941770d5a7941cbb89d138f78b6ab35d4b8c198886e559ec4af026256b03da732f897306eda59fcd5b93ece5907a144321419d4e

doc/stog_rel_href/Stog_rel_href/index.html

Module Stog_rel_hrefSource

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
Sourceval rewrite_href : String.t -> Stog.Types.XR.tree -> Stog.Types.XR.tree
Sourceval level_funs : (string * 'a Stog.Engine.level_fun) list
Sourceval default_levels : int list Stog.Types.Str_map.t
Sourceval module_name : string
Sourceval make_module : ?levels:(string * int list) list -> unit -> (module Stog.Engine.Module)