Commit f9d70a5
committed
feat: enhance shelldocs build process for static site generation
- Updated `shelldocs build` to produce a fully static site deployable to platforms like GH Pages, Cloudflare Pages, and Netlify without requiring a .NET host.
- Implemented prerendering of all known URLs, ensuring every route is accessible and returns valid HTML.
- Added `NavigationGraph.AllUrls` for comprehensive URL enumeration and introduced `PrerenderRunner` for improved subprocess management during the build process.
- Enhanced `--base-href` functionality to rewrite `<base href>` in all prerendered HTML files, addressing issues with deep-linked routes.
- Documented known limitations regarding URL discovery and interactivity in the static output.1 parent 32b4a63 commit f9d70a5
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
7 | 26 | | |
8 | 27 | | |
9 | 28 | | |
| |||
0 commit comments