package stog_rel_href
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.
val rewrite_href : String.t -> Stog.Types.XR.tree -> Stog.Types.XR.tree
val rewrite_doc : Stog.Types.stog -> Stog.Types.doc -> Stog.Types.doc
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 make_module :
?levels:(string * int list) list ->
unit ->
(module Stog.Engine.Module)
val f : Stog.Types.stog -> (module Stog.Engine.Module)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>