Closes #112. Source stays `docs/*.md`, rendered by MkDocs-Material and published to GitHub Pages by Actions. Same repository on purpose: documentation drifts, and co-location is the only thing that reliably prevents it — the pull request that changes behaviour changes the description, and review sees both. A separate repo would double the ceremony and guarantee divergence. The markdown remains readable when browsing the repository, so the site renders those files rather than replacing them. **Versioned from the start**, using mike. Images are published to GHCR and this project ships betas most days, so readers are routinely running something other than the newest build; a single "latest" would confidently describe a release they do not have. Versions follow the product rather than the docs, so the site and the running image carry the same number. **Content came first, and it had to.** The docs were eleven days and sixteen releases stale — SSH keys, bulk commands, the data-cap SMS, poller health and the timezone setting appeared in exactly zero files between them. Publishing that would have given documentation missing five of the most consequential features a polished, authoritative home, and a well-presented wrong answer is worse than an obviously rough one. Four pages now cover them: - cellular.md — signal grading, carrier aggregation, the uplink anchor, observed bands, and the data-cap SMS including why it fires early and how to calibrate the margin - ssh-keys.md — leading with what installing a key costs, because RouterOS disables password SSH for that user and the database becomes load-bearing - commands.md — why waves exist, and why reading output matters when RouterOS reports failure in text rather than an exit code - scaling.md — headroom, why it is insufficient on its own, and every tunable Pull requests build the site with `--strict`, which turns warnings into errors. That is the point of running it there at all, and it earned itself immediately: the first build failed on two links to the project README, which sits outside the docs tree. They are absolute now, so they resolve both in the rendered site and when reading the markdown on GitHub. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
75 lines
2.0 KiB
YAML
75 lines
2.0 KiB
YAML
# Documentation site. Source of truth is docs/*.md, which stays readable when
|
|
# browsing the repository on GitHub — the site renders those files rather than
|
|
# replacing them. Keeping docs beside the code is the only thing that reliably
|
|
# prevents drift: the same pull request changes behaviour and description.
|
|
site_name: MikroTik Manager
|
|
site_description: Self-hosted management for MikroTik fleets
|
|
repo_url: https://github.com/2GT-Media-Group-LLC/mikrotik-manager
|
|
repo_name: 2GT-Media-Group-LLC/mikrotik-manager
|
|
edit_uri: edit/main/docs/
|
|
|
|
docs_dir: docs
|
|
|
|
theme:
|
|
name: material
|
|
palette:
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: default
|
|
primary: indigo
|
|
toggle:
|
|
icon: material/brightness-7
|
|
name: Switch to dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
primary: indigo
|
|
toggle:
|
|
icon: material/brightness-4
|
|
name: Switch to light mode
|
|
features:
|
|
- navigation.instant
|
|
- navigation.top
|
|
- navigation.sections
|
|
- content.code.copy
|
|
- search.highlight
|
|
|
|
plugins:
|
|
- search
|
|
# Versioned docs. The platform ships betas frequently and images are published
|
|
# to GHCR, so readers are routinely on something other than the newest build —
|
|
# a single "latest" would describe a release they are not running.
|
|
- mike:
|
|
canonical_version: latest
|
|
|
|
extra:
|
|
version:
|
|
provider: mike
|
|
default: latest
|
|
|
|
markdown_extensions:
|
|
- admonition
|
|
- attr_list
|
|
- tables
|
|
- toc:
|
|
permalink: true
|
|
- pymdownx.highlight
|
|
- pymdownx.superfences
|
|
|
|
nav:
|
|
- Home: README.md
|
|
- Getting started:
|
|
- Configuration: configuration.md
|
|
- Operating:
|
|
- Change Guard and Config Health: change-guard.md
|
|
- Polling and scaling: scaling.md
|
|
- Alerting: alerting.md
|
|
- SSH keys: ssh-keys.md
|
|
- Bulk commands: commands.md
|
|
- Devices:
|
|
- Cellular (LTE): cellular.md
|
|
- CAPsMAN: capsman.md
|
|
- Integration:
|
|
- API and automation: api.md
|
|
- Single sign-on (OIDC): sso-oidc.md
|
|
- Contributing:
|
|
- Architecture: architecture.md
|