Skip to content

front-of-house/litebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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