Commit 4b5c038
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 06e2611 commit 4b5c038
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 | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
| |||
0 commit comments