Markdown files and static site tools for my website.
All content is written in markdown.
Each page or book has its own directory
along with its own navigation structure specified in its nav.yaml.
Each directory (including the root, docs/) has a landing page.
All markdown files go inside a markdown directory (except for top level landing pages).
The make script converts all markdown files to html files using
pandoc
using template.html as a template and style.css as the default stylesheet.
It also calls LinkChecker to check for bad links.
Root relative pathnames must be used.
chapter specifies a list of top-level items to show up in the nav bar.
Each item should have name, href, and label (for CSS class/id names)
set.
Each item may have a secondary section list.
Example:
---
chapter:
- name: Chapter 1
href: /book/chapter1/chapter1.html
label: ch1
section:
- name: Section 1
href: /book/chapter1/section1.html
label: ch1s1
- name: Chapter 2
href: /book/chapter2/chapter2.html
label: ch2
section:
- name: Section 1
href: /book/chapter2/section1.html
label: ch2s1
- name: Section 2
href: /book/chapter2/section2.html
label: ch2s2
- name: Chapter 3
href: /book/chapter3/chapter3.html
label: ch3
---Each .md files should have a metadata header formatted in YAML.
Example:
---
title: Linear Maps
subsection:
- Definition
- Theorem 1
- Theorem 2
- Summary
previous:
name: Vector Spaces
href: ./vector-spaces.html
next:
name: Inner Product Spaces
href: ./inner-product-spaces.html
---Relative paths can be used.
previous and next (optional)
are used for the navigations buttons at the bottom of the page.
All non-software written content is license under the Creative Commons Attribution-NonCommercial 4.0 International License