litebook

1.3.0 • Public • Published

Litebook

A minimalist docs theme built with presta. Write markdown to generate pages, and use frontmatter to build the sidebar nav.

To give you a sense of how simple this is, here is the source for the Litebook docs site:

import { litebook } from 'litebook'

const docs = litebook('./pages', '**/*.md')(__filename)

export const getStaticPaths = docs.getStaticPaths
export const handler = docs.handler

License

MIT License © Sure Thing

Readme

Keywords

none

Package Sidebar

Install

npm i litebook

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

109 kB

Total Files

31

Last publish

Collaborators

  • estrattonbailey