···11+opam-version: "2.0"
22+synopsis: "Static website generator based on HTML rewriting"
33+description: """\
44+A website generator that works with page element tree rather than text
55+and allows you to manipulate pages and retrieve metadata from
66+existing HTML using arbitrary CSS selectors.
77+88+With soupault you can:
99+1010+* Generate ToC and footnotes.
1111+* Insert file content or an HTML snippet in any element.
1212+* Preprocess element content with external programs (e.g. run `<pre>` tags through a highlighter)
1313+* Extract page metadata (think microformats) and render it using a Jingoo template or an external script.
1414+* Export extracted metadata to JSON.
1515+1616+Soupault is extensible with Lua (2.5) plugins and provides an API for element tree manipulation,
1717+similar to web browsers.
1818+1919+The website generator mode is optional, you can use it as post-processor for existing sites."""
2020+maintainer: "Daniil Baturin <daniil+opam@baturin.org>"
2121+authors: "Daniil Baturin <daniil+soupault@baturin.org>"
2222+license: "MIT"
2323+homepage: "https://www.soupault.app"
2424+bug-reports: "https://github.com/dmbaturin/soupault/issues"
2525+depends: [
2626+ "ocaml" {>= "4.08"}
2727+ "dune" {>= "2.0.0"}
2828+ "lambdasoup" {>= "0.7.3"}
2929+ "markup" {>= "1.0.0-1"}
3030+ "otoml" {>= "1.0.2"}
3131+ "fileutils" {>= "0.6.3"}
3232+ "logs" {>= "0.7.0"}
3333+ "fmt" {>= "0.8.9"}
3434+ "re" {>= "1.9.0"}
3535+ "ezjsonm" {>= "1.2.0"}
3636+ "yaml" {>= "2.0.0"}
3737+ "containers" {>= "3.9"}
3838+ "odate" {>= "0.6"}
3939+ "spelll" {>= "0.4"}
4040+ "base64" {>= "3.0.0"}
4141+ "jingoo" {>= "1.4.2"}
4242+ "tsort" {>= "2.1.0"}
4343+ "lua-ml" {>= "0.9.3"}
4444+ "camomile" {>= "1.0.0"}
4545+]
4646+conflicts: [
4747+ "result" {< "1.5"}
4848+]
4949+build: [
5050+ ["dune" "subst"] {dev}
5151+ ["dune" "build" "-p" name "-j" jobs]
5252+]
5353+dev-repo: "git+https://github.com/dmbaturin/soupault"
5454+url {
5555+ src:
5656+ "https://codeberg.org/PataphysicalSociety/soupault/archive/4.2.0.tar.gz"
5757+ checksum: [
5858+ "md5=f556710ad112c22ab3ec1addbefcd700"
5959+ "sha512=497cbef57b22a32583f8dad3984b2a906235bddd484a3cb634665ac1b8e995f6fd66e955de1c365972db02976e537f4d7498066d05d06eed73703c3f36ea0e29"
6060+ ]
6161+}