Skip to content
/ mdbook-template Public template

A MDBook template with Mermaid + KaTeX + ToC support.

License

Notifications You must be signed in to change notification settings

erhant/mdbook-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Your Notes

Your Description Here

License: MIT Workflow: Book Deployment

Setup

We use mdBook along with several plugins:

You need to have Rust installed for all of this.

Usage

After setup is complete, you can use the following commands:

# serve
mdbook serve --open

# build
mdbook build

Tip

You can also use these scripts via make.

The book content is written under the content folder; this allows for some code examples to be written under src and some tests under tests if need be.

Deploy to Vercel

The provided workflow deploys to Vercel on workflow dispatch (though feel free to make it trigger on each push). For the workflow, you need to provide some repository secrets to the GitHub repo:

  • VERCEL_TOKEN: Vercel token for the project
  • VERCEL_ORG_ID: Vercel organization ID, or your user ID
  • VERCEL_PROJECT_ID: Vercel project ID

Examples

License

This repository is MIT licensed, see LICENSE.

About

A MDBook template with Mermaid + KaTeX + ToC support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published