- Add scripts/mkdocs_hooks.py: on_page_markdown hook that prepends
`# {hostname}` + a Specs table built from the YAML frontmatter.
Reuses fmt_cpu/fmt_ram/fmt_storage/fmt_nic from gen_overview.py so
the host page and the index table stay in sync.
- Wire the hook into mkdocs.yml.
- Demote `# Notes` / `# ToDo` to `##` in the five host source files so
each rendered page has a single H1.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
site_name: MakerFLOSS Docs
|
|
site_url: https://docs.makerfloss.eu/
|
|
site_description: Documentation for the MakerFLOSS initiative at Orange Makerspace.
|
|
|
|
repo_url: https://forgejo.makerfloss.eu/sjat/MakerFLOSS
|
|
repo_name: sjat/MakerFLOSS
|
|
edit_uri: _edit/main/
|
|
|
|
theme:
|
|
name: material
|
|
features:
|
|
- navigation.indexes
|
|
- navigation.sections
|
|
- navigation.top
|
|
- content.code.copy
|
|
- search.suggest
|
|
- search.highlight
|
|
palette:
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: default
|
|
primary: deep orange
|
|
toggle:
|
|
icon: material/weather-night
|
|
name: Switch to dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
primary: deep orange
|
|
toggle:
|
|
icon: material/weather-sunny
|
|
name: Switch to light mode
|
|
|
|
markdown_extensions:
|
|
- admonition
|
|
- toc:
|
|
permalink: true
|
|
- tables
|
|
- attr_list
|
|
- md_in_html
|
|
- pymdownx.superfences
|
|
- pymdownx.highlight:
|
|
anchor_linenums: true
|
|
- pymdownx.inlinehilite
|
|
- pymdownx.tabbed:
|
|
alternate_style: true
|
|
- pymdownx.tasklist:
|
|
custom_checkbox: true
|
|
|
|
plugins:
|
|
- search
|
|
|
|
hooks:
|
|
- scripts/mkdocs_hooks.py
|
|
|
|
nav:
|
|
- Home: index.md
|
|
- Hardware:
|
|
- hardware/index.md
|
|
- House rules: makerFLOSS_house_rules.md
|