-
Notifications
You must be signed in to change notification settings - Fork 18
/
soupault.opam
60 lines (54 loc) · 1.76 KB
/
soupault.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
opam-version: "2.0"
name: "soupault"
version: "5.0.0-alpha1"
synopsis: "Static website generator based on HTML rewriting"
description: """
A website generator that works with page element tree rather than text
and allows you to manipulate pages and retrieve metadata from
existing HTML using arbitrary CSS selectors.
With soupault you can:
* Generate ToC and footnotes.
* Insert file content or an HTML snippet in any element.
* Preprocess element content with external programs (e.g. run `<pre>` tags through a highlighter)
* Extract page metadata (think microformats) and render it using a Jingoo template or an external script.
* Export extracted metadata to JSON.
Soupault is extensible with Lua (2.5) plugins and provides an API for element tree manipulation,
similar to web browsers.
The website generator mode is optional, you can use it as post-processor for existing sites.
"""
maintainer: "Daniil Baturin <[email protected]>"
authors: "Daniil Baturin <[email protected]>"
license: "MIT"
homepage: "https://www.soupault.app"
bug-reports: "https://github.com/PataphysicalSociety/soupault/issues"
dev-repo: "git+https://github.com/PataphysicalSociety/soupault"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.13"}
"dune" {>= "2.0.0"}
"containers" {>= "3.9"}
"fileutils" {>= "0.6.3"}
"logs" {>= "0.7.0"}
"fmt" {>= "0.8.9"}
"lambdasoup" {>= "1.1.1"}
"markup" {>= "1.0.0-1"}
"otoml" {>= "1.0.5"}
"ezjsonm" {>= "1.2.0"}
"yaml" {>= "2.0.0"}
"csv" {>= "2.4"}
"re" {>= "1.9.0"}
"odate" {>= "0.6"}
"spelll" {>= "0.4"}
"base64" {>= "3.0.0"}
"jingoo" {>= "1.4.2"}
"camomile" {>= "2.0.0"}
"digestif" {>= "0.7.3"}
"tsort" {>= "2.1.0"}
"lua-ml" {>= "0.9.3"}
]
conflicts: [
"result" {< "1.5"}
]