Files
meshcore-bot/mkdocs.yml
T
agessaman a0a77a7ed2 feat(scheduler): add week=, a monthly builder mode and stricter parsing
Every-other-week schedules: week= on the value takes an APScheduler ISO week-number expression (week=*/2, week=2-53/2), for a strict fortnight that 1st-tue,3rd-tue cannot give. The schedule editor gains a Weeks setting, a "One day a month" mode (Nth or last weekday, or the Nth or last day) and opens an existing entry in whichever mode reproduces it exactly, falling back to Advanced. Invalid schedules now say why, in the editor and in the startup log. Scheduled messages move to their own docs page.

Review fixes:
- A positional day-of-month item must stand alone between commas. APScheduler silently dropped anything after one, so 1st-tue-3rd-tue and last-fri/2 saved and then fired only on the first match.
- A bound is a whole token ended by whitespace with no ":" in it, so a channel such as start=ops stays a channel, and a keyword with no usable value (start= Public:Hi, start =2027-01-01) is an error rather than a channel name.
- Dates must be exactly YYYY-MM-DD. date.fromisoformat also takes 20270101 and 2027-W01-1 on newer Pythons, which APScheduler then failed on with an error that blamed the cron key.
- The preview applies the same window check as saving, so an end before the start is invalid in both.
- An entry must read back as written: the editor refuses a channel that would parse as a bound and an unscoped message starting "#name:", which was read back as a scope.
- Legacy HHMM with a bad bound reports invalid instead of raising; the scheduler logs why a value was rejected; the create/update response includes start, end and week.
2026-11-04 19:41:49 -08:00

87 lines
2.4 KiB
YAML

# Material for MkDocs - meshcore-bot documentation
site_name: Meshcore Bot Documentation
site_description: Documentation for the MeshCore bot and its services
site_url: https://agessaman.github.io/meshcore-bot/
repo_name: meshcore-bot
repo_url: https://github.com/agessaman/meshcore-bot
edit_uri: edit/main/docs/
theme:
name: material
language: en
palette:
- scheme: default
primary: indigo
accent: cyan
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: indigo
accent: cyan
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.instant
- navigation.tracking
- navigation.tabs
- navigation.sections
- toc.integrate
- content.code.copy
plugins:
- search
- exclude:
glob:
- local/**
markdown_extensions:
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.tabbed:
alternate_style: true
- tables
- attr_list
- md_in_html
nav:
- Home: index.md
- Quick Start: getting-started.md
- Installation:
- Overview: installation.md
- Docker: docker.md
- Service: service-installation.md
- Configuration:
- Overview: configuration.md
- Scheduled messages: scheduled-messages.md
- Data retention: data-retention.md
- Local plugins and services: local-plugins.md
- Check-in API: checkin-api.md
- Path Command: path-command-config.md
- Config validation: config-validation.md
- Region scopes: region-scopes.md
- Region warnings: region-warnings.md
- Web Viewer: web-viewer.md
- Command Reference:
- Overview: command-reference.md
- Repeater Commands: repeater-commands.md
- Custom Command Website: command-reference-website.md
- Developing Commands: develop-command-scripts.md
- Service Plugins:
- Overview: service-plugins.md
- Discord Bridge: discord-bridge.md
- Telegram Bridge: telegram-bridge.md
- Packet Capture: packet-capture.md
- Map Uploader: map-uploader.md
- Weather Service: weather-service.md
- Earthquake Service: earthquake-service.md
- Repeater Prefix Collision: repeater-prefix-collision-service.md
- World Cup: worldcup.md
- Feed Management: FEEDS.md
- FAQ: faq.md
- Upgrade: upgrade.md
- Project:
- Solar conditions provenance: solar-conditions-provenance.md