From ba32b46ebd5304812d521cd30cfdb5b284341f69 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 29 Jun 2026 10:42:41 +0700 Subject: docs: address Copilot review on the example READMEs - Order CFG_TUH_DEVICE_MAX before CFG_TUH_HID in the host config snippets (cdc_msc_hid, hid_controller) so the documented snippet has no forward macro reference when copied into tusb_config.h. - Fix stale `examples.rst` references: the generator now writes per-group `docs/examples//index.rst` pages, so update the conf.py comment and the build-doc SKILL.md accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/conf.py b/docs/conf.py index 4a1a7adc2..c6d04bff5 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -83,7 +83,7 @@ def preprocess_readme(): preprocess_readme() -# scan example READMEs into docs/examples/ and (re)generate examples.rst +# scan example READMEs into docs/examples/ and generate a per-group index page EXAMPLE_GROUPS = ('device', 'host', 'dual') _HEADING_RE = re.compile(r'^(#{1,6})(\s.*)$') -- cgit v1.3.1