Commit a61f8c2
Add doctest infrastructure and fix failing test
Phase 1 & 2 of doctest improvements:
- Fix import path in chipflow-toml-guide.rst doctest (_parse_config_file from config.parser)
- Add doctest_global_setup in conf.py with common imports for test examples
- Existing doctest now passes
The global setup imports common modules (Amaranth, ChipFlow signatures) so
that doctests can focus on demonstrating API usage without repetitive imports.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 65c3589 commit a61f8c2
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
98 | 112 | | |
99 | 113 | | |
100 | 114 | | |
| |||
0 commit comments