A lightweight documentation site built with Material for MkDocs.
- Python 3.9+
- One of:
- pipx (recommended):
pipx install mkdocs-material - or pip:
pip install mkdocs-material
- pipx (recommended):
mkdocs serve- Open the printed local URL (usually
http://127.0.0.1:8000). - Live reload is enabled; edits in
docs/update automatically.
mkdocs.yml– site config, theme, navigationdocs/– contentindex.md– homepagepolicies.md,electronics.md,equipment/*– section pagesassets/– images and static assetsstylesheets/extra.css– custom CSS (declared inmkdocs.yml)schedule-app/– 3D printer scheduler frontend and Apps Script backend
- Create or edit Markdown files in
docs/. - Add the page to the
nav:section ofmkdocs.ymlto expose it in the menu. - Use standard Markdown; Material components (admonitions, tabs, icons) are supported if enabled in
mkdocs.yml.
- Place images in
docs/assets/and reference with relative paths, e.g..
- Edit
docs/stylesheets/extra.cssand ensure it is included underextra_css:inmkdocs.yml.
- Frontend:
docs/schedule-app/index.html(static page served at/schedule-app/index.html). - Backend:
docs/schedule-app/apps-script.gs(Google Apps Script for a Google Sheet). - Setup steps are documented in
docs/schedule-app/README.md.
# build the site locally (outputs to site/)
mkdocs build --strict--stricttreats warnings as errors to catch broken links/mistakes early.
mkdocs gh-deploy --clean- Builds the site and pushes to the
gh-pagesbranch. Ensure the repo has GitHub Pages enabled (Settings → Pages → Deploy from branchgh-pages).
mkdocs build --clean- Upload the generated
site/directory to your static host.
- Add a new page: create
docs/new-page.md→ add tonavinmkdocs.yml→mkdocs serveto preview. - Update navigation: edit
mkdocs.ymlnav:structure. - Fix broken links: run
mkdocs build --strictand update paths.
- Scheduler JSONP errors: see the diagnostic notes in
docs/schedule-app/README.mdand verify your Web App URL ends with/execand is deployed with access set to "Anyone". - Theme/CSS not loading: confirm
extra_css:paths inmkdocs.ymlmatchdocs/stylesheets/extra.css.