Commit c6ac246
Remove landing page, open documentation directly (#100)
* feat: redirect root to first docs page, removing landing page
Add redirect from root path (/) to the default documentation page,
effectively skipping the landing page and opening directly to the
first documentation page.
Resolves #92
* fix: use Redirect component to skip landing page
Replace landing page content with Redirect component from @docusaurus/router
to properly redirect users to the first documentation page. The previous
approach using plugin-client-redirects doesn't work for existing pages.
This solution:
- Replaces the landing page component with a simple redirect
- Uses the same defaultDocsPage logic from customFields
- Works immediately on page load without requiring build-time redirects
Resolves #92
---------
Co-authored-by: Claude <[email protected]>1 parent 2f2a47a commit c6ac246
1 file changed
+3
-76
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 4 | | |
11 | | - | |
| 5 | + | |
12 | 6 | | |
13 | 7 | | |
14 | 8 | | |
15 | 9 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 10 | + | |
84 | 11 | | |
0 commit comments