Commit 130773e
authored
Refactor: Convert legacy application to docs-only mode (#599)
This PR transforms our legacy Next.js application to serve only
documentation content by:
- Removing dashboard components and pages
- Stripping authentication requirements
- Maintaining documentation routes and content
- Preparing for proxy integration with new dashboard
### Technical changes
- Removed auth-required wrappers from documentation pages
- Eliminated dashboard-specific components and routes
- Removed unused dependencies related to dashboard functionality
- Updated application configs & sitemap.xml to support being proxied by
new dashboard app
### Testing
- Verified all documentation pages render correctly without auth
- Confirmed navigation works as expected
- Tested proxy integration with new dashboard application
### Next steps
1. Once merged, the new dashboard will proxy to this application for
documentation content
2. In the future, we'll migrate documentation to the new system
completely43 files changed
Lines changed: 102 additions & 4628 deletions
File tree
- apps/web
- src
- app
- (auth)/auth
- reset-password
- sign-in
- sign-up
- update-password
- (dashboard)/dashboard
- (docs)/docs
- api/cli
- legacy
- api/cli
- getting-started/api-key
- pricing
- components
- Dashboard
- Pricing
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 74 | | |
86 | 75 | | |
87 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments