package jekyll-format

  1. Overview
  2. Docs
Jekyll post parsing library

Install

Dune Dependency

Authors

Maintainers

Sources

jekyll-format-0.3.3.tbz
sha256=c197b6dcff4f0f85fea2405fa8ef7629745c4e59da80ad42bd50d9e9b0a92fc5
sha512=f3a0c971f64d942f46e87d9472a5d98a8d6c8c908c2631930c199685d1d358d5aec846e36ebe8a15306178dec6fc3518e405aae66aaf63556a9631e745886f25

Description

This library provides an OCaml interface to parsing posts in the Jekyll format.

Published: 06 Nov 2023

README

jekyll-format — Jekyll post parsing library

v0.3.3

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.

Dependencies (11)

  1. ezjsonm >= "1.1.0"
  2. fpath
  3. ptime
  4. rresult
  5. fmt >= "0.8.7"
  6. astring
  7. sexplib
  8. yaml >= "3.0.0"
  9. yaml-sexp >= "3.0.0"
  10. ocaml >= "4.08.0"
  11. dune >= "2.9"

Dev Dependencies (3)

  1. odoc with-doc
  2. bos with-test
  3. alcotest with-test

Used by

None

Conflicts

None