package jekyll-format
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8d5b438e235d712827a130906473951ed532522473262730043aa4783a60031a
sha512=ddd73dbf82ad5e8a613fe6600729b217658c478a445e2fd42c5da5f4cb66aad335a87ef239c37f97c53394e2d5d452034874fe424fd45e4503df3e71da7dff64
Description
This library provides an OCaml interface to parsing posts in the Jekyll format.
Published: 27 Apr 2021
README
jekyll-format — Jekyll post parsing library
v0.2.0
Jekyll is a simple, blog-aware static site generator that takes a template directory of files and turns them into a website. This library exists to parse those blog posts and make them easy to manipulate from OCaml code.
jekyll-format is distributed under the ISC license.
Homepage: https://github.com/avsm/jekyll-format
Contact: Anil Madhavapeddy <anil@recoil.org>
Installation
jekyll-format can be installed with opam
:
opam install jekyll-format
If you don't use opam
consult the opam
file for build instructions.
If you want the unreleased version you can pin this repository.
opam pin add jekyll-format https://github.com/avsm/jekyll-format.git
Documentation
The documentation and API reference is automatically generated by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
If you installed jekyll-format with opam
sample programs are located in the directory opam config var jekyll-format:doc
.
In the distribution sample programs and tests are located in the test
directory of the distribution. They can be built and run with:
dune runtest
The resulting binaries are in _build/test
.
test.native
tests the library, nothing should fail.