(version: string, slug: string)
| 35 | } |
| 36 | |
| 37 | export function buildSectionedTo(version: string, slug: string) { |
| 38 | const { section, subsection, filename } = splitSlug(slug) |
| 39 | return href("/:version/:section?/:subsection?/:filename", { |
| 40 | version, |
| 41 | section, |
| 42 | subsection, |
| 43 | filename, |
| 44 | }) |
| 45 | } |
no test coverage detected
searching dependent graphs…