Introduction
GemBook renders Markdown content into a website and generates pages based on the directory structure. GemBook is a document site generation tool created for Gem, it is also written with Gem and built on gemkit: Markdown is rendered on the server, every page is prerendered into HTML when building, and the browser takes over the pages for client-side navigation.
Getting Started
WARNING
GemBook depends on Node.js v22+, please ensure that the
node -vcommand can be executed
# Create docs
mkdir docs && echo '# Hello GemBook!' > docs/readme.md
# Write and preview, changes to documents reload the page
npx gem-book docs
# Specify title
npx gem-book docs -t MyApp
# Build the website into dist/web
npx gem-book build docs