Add the site, with a settings reference made from the code (#26)

tools/settings_ref.py writes docs/settings.md from the apps'
ModemSettings: on Android each setting's DataStore key, kind, default and
comment (and it fails on a setting with no key); on iOS each setting and
the Keychain name of the secrets. The iOS settings that took the comment
of the one above them get their own.

The Pages workflow builds docs/ and the README with brand's theme, and
fails if docs/settings.md is out of date; the Android and Apple workflows
skip the site's files.


Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
NeoandClaude authored and GitHub committed 2026-11-05 18:12:28 -08:00
1 parent 30cd2e2289
commit 5a2ca6e164
9 files changed
+334 -5

No files matched your search

+4 -3
View File
@@ -27,14 +27,15 @@
name: Android
# (a branch's commits run once, as its pull request: pushed, only main's;
# a change to docs alone runs nothing: the Markdown, docs/ and COPYING)
# a change to docs alone runs nothing: the Markdown, docs/, COPYING and
# the site's files, which pages.yml builds)
on:
push:
branches: [main]
tags: ["v*"]
paths: ['**', '!**.md', '!docs/**', '!COPYING']
paths: ['**', '!**.md', '!docs/**', '!COPYING', '!mkdocs.yml', '!.github/workflows/pages.yml', '!tools/settings_ref.py']
pull_request:
paths: ['**', '!**.md', '!docs/**', '!COPYING']
paths: ['**', '!**.md', '!docs/**', '!COPYING', '!mkdocs.yml', '!.github/workflows/pages.yml', '!tools/settings_ref.py']
workflow_dispatch:
# a newer commit on a pull request cancels the run before it (main's all run)