Skip to content

Commit 3087dcb

Browse files
committed
Document overview file structure convention in CLAUDE.md
1 parent d4ca15b commit 3087dcb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.claude/CLAUDE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ Both `README.md` and `docs/REFERENCE.md` use back-to-top navigation after each m
1818
1. Add `<p align="right"><a href="#table-of-contents">⬆️ &nbsp;back to top</a></p>` before the `---` that closes the section
1919
2. Update the Table of Contents with the new entry
2020

21+
### Overview File Structure
22+
23+
Each file in `docs/overview/` follows this layout:
24+
25+
1. **Header nav**`<small>` block with `` `Previous` `` and `` `Next` `` links
26+
2. **`---`** separator
27+
3. **Content** — starts with a `#` title
28+
4. **`---`** separator
29+
5. **Footer nav**`<small>` block with the same `` `Previous` ``/`` `Next` `` links as the header
30+
31+
Navigation chain: `010_KEY_CONCEPTS``020_BASIC_USAGE` → … → `100_PORTS_AND_ADAPTERS`. The first file's `Previous` links to `../README.md#further-reading`; the last file's `Next` links to `../REFERENCE.md`.
32+
33+
When adding a new overview file:
34+
35+
1. Follow the numbered naming convention (e.g., `110_NEW_TOPIC.md`)
36+
2. Add header and footer nav blocks with `---` separators
37+
3. Update the `Previous`/`Next` links in the adjacent files to include the new file
38+
2139
## Common Commands
2240

2341
```bash

0 commit comments

Comments
 (0)