Commit ecb1045
authored
feat(API): add subsection support (#204)
* feat(API): add subsection support
* Update snapshot
* DRY up content matching helper
* Add word boundary to regex finding example imports
* Add subsection support to props API
* Update documentation for subsection support
* lint
* Fix(API): kebab-case subsection before adding to page name1 parent 5565fa8 commit ecb1045
24 files changed
Lines changed: 969 additions & 331 deletions
File tree
- src
- __tests__/pages/api/__tests__/[version]/[section]/[page]
- components/__tests__/__snapshots__
- pages/api
- [version]
- [section]
- [page]
- [tab]
- examples
- utils
- __tests__
- apiIndex
- apiRoutes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments