package jekyll-format

  1. Overview
  2. Docs
Jekyll post parsing library

Install

Dune Dependency

Authors

Maintainers

Sources

jekyll-format-0.3.4.tbz
sha256=1cf13770011e7e0db1e59f24633faf3f594cae045db1efb5cf1f1fef2b8abc67
sha512=a8ebab47bba3e14fa2f365002825b6b71754ef807be8419620a1167e509929bd59e25fcefbfb8b169a20716423bb4f1a07f9a8592768d6f2268a1bc869fad687

Description

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

Published: 28 Oct 2024

README

jekyll-format — Jekyll post parsing library

v0.3.4

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

OCaml

Innovation. Community. Security.