File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ import { AppGitHubGenericMarkdown } from "@/components/libresplit/AppGitHubGenericMarkdown" ;
2+
3+ export function AutoSplitters ( ) {
4+ return (
5+ < div >
6+ < AppGitHubGenericMarkdown url = "https://raw.githubusercontent.com/LibreSplit/LibreSplit/refs/heads/main/docs/auto-splitters.md" />
7+ </ div >
8+ ) ;
9+ }
Original file line number Diff line number Diff line change 1+ import { AutoSplitters } from "./app/auto-splitters" ;
12import { Converter } from "./app/converter" ;
23import { Home } from "./app/home" ;
34import { NotFound } from "./app/not-found" ;
@@ -9,6 +10,9 @@ export default function AppRouter() {
910 < Route path = "/" element = { < Home /> } />
1011 < Route path = "/converter" element = { < Converter /> } />
1112
13+ { /* Documentation pages pulled from GitHub. */ }
14+ < Route path = "/docs/auto-splitters.md" element = { < AutoSplitters /> } />
15+
1216 { /* Fall back on app's 404 page. This is because of the SPA routing trick with 404.html used in GitHub Pages. */ }
1317 < Route path = "*" element = { < NotFound /> } />
1418 </ Routes >
You can’t perform that action at this time.
0 commit comments