| docs(wrt): correct all start-wrt docs against the code (full docs-vs-code audit) (#3487) * docs(wrt): correct all start-wrt docs against the code (full docs-vs-code audit) A systematic audit validated every claim in the start-wrt docs against the backend, web UI, and build system. This fixes everything found, across all three doc surfaces: User guide (docs/src/): - factory-reset: Fresh Start sets a new admin password (not "cleared"); Factory Reset button is on the Advanced tab - backups: device names and data-usage history ARE included in backups; real button labels and the Restore & Reboot confirmation step - published-ports/cgnat: no CGNAT detection exists — rules show Active behind CGNAT; ULA-only IPv6 blocks saving (not "skipped"); truthful status-indicator descriptions - inbound-vpn: client config is only available at creation (private key never stored; View Config shows a placeholder); documented server actions menu, one-VPN-per-profile limit, client IP range - ethernet: no Save button — profile changes apply immediately after a published-ports confirmation - security-profiles: Outbound Routing lives on the WAN/Internet tab; Blackout Schedule opens its own dialog - faq: honest outbound-connections list (NTP on by default; update check runs on UI load, installs stay user-initiated) - plus drifted labels/tabs across wifi, wifi-schedules, wan, lan, devices, ddns, settings, ssh, initial-setup, installing, updating, architecture API_CONTRACT.md: - corrected wire shapes (auth.login returns {session}; camelCase renames; optional system.update registry; real 6RD fields; /24 netmask; dropbear ssh-keys path; flattened profiles.set with force flag; devices.list speed/data_usage; equal blackout times = 24h window) - documented ~25 previously missing endpoints (auth setup flow, activity, backup, diagnostics, schedules, factory-reset, generate-password, ...), added an HTTP routes table, and rebuilt the endpoint summary (74 methods) Developer docs: - backend README/CONTRIBUTING/ARCHITECTURE: correct package name (startwrt-core), working build commands, firstboot_config is staged into the image (not include_dir-embedded), async uciedit API samples, compile-plausible handler example (run_quiet_async), typed-section locations, OTA/registry/signing + hotplug/nftables modules documented - web ARCHITECTURE: project tree matches the real app (help/i18n/connection services; phantom files removed), actual router/appearance config - PASSWORD_CHARS doc comment: the charset is 68 chars (11 specials), and init-reflash.md's charset table/entropy now match; dropped the dangling genkey.py reference - CHANGELOG: merged beta.4's duplicate Changed sections (dropping the superseded "only git submodule" bullet), fixed 1.0.1 dialog naming Deliberately unchanged pending product decisions: ddns.md's Start9 auto-provisioning claims and web/CONTRIBUTING.md's MCP proxy package name. * docs(wrt): drop Start9 DDNS from the user guide until the service exists The Start9 provider option will be removed from the UI in a separate PR until the DDNS service is fully implemented; the guide now documents only the working third-party providers. | 2 个月前 |