Skip to content

Commit c96fb1b

Browse files
docs(astro-docs): reorganize Build with Nx and Scale with Nx sections
Build with Nx: - Flatten Core section - features now at top level - Remove CI Basics nested wrapper - Add Nx MCP to features section - Add Maintain TypeScript Monorepos to TypeScript technology section Scale with Nx: - Flatten CI Features (8 items at top level) - Add Module Boundaries section (moved from guides) - Add Conformance section (moved from reference) - Add Owners section (moved from reference) Reference: - Remove Conformance, Owners, Nx MCP (moved to other sections) - Update sidebar middleware to inject packages dynamically Also: - Move Tips-n-Tricks files to appropriate locations - Update all internal links to new paths - Add URL redirects tracking for Phase 2
1 parent 8369e69 commit c96fb1b

File tree

69 files changed

+396
-198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+396
-198
lines changed

astro-docs/URL_REDIRECTS.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,92 @@ Date: 2024-12-19
5858
to = "/docs/troubleshooting/update-global-installation"
5959
status = 301
6060
```
61+
62+
## Build with Nx & Scale with Nx Reorganization (DOC-365 - Phase 2)
63+
64+
Date: 2024-12-19
65+
66+
### Redirects Required
67+
68+
| Old URL | New URL | Status |
69+
| ------------------------------------------------------------------- | ------------------------------------------------------------------ | ------- |
70+
| `/docs/features/enforce-module-boundaries` | `/docs/scale-with-nx/module-boundaries/overview` | Pending |
71+
| `/docs/guides/enforce-module-boundaries/tag-multiple-dimensions` | `/docs/scale-with-nx/module-boundaries/tag-multiple-dimensions` | Pending |
72+
| `/docs/guides/enforce-module-boundaries/ban-dependencies-with-tags` | `/docs/scale-with-nx/module-boundaries/ban-dependencies-with-tags` | Pending |
73+
| `/docs/guides/enforce-module-boundaries/ban-external-imports` | `/docs/scale-with-nx/module-boundaries/ban-external-imports` | Pending |
74+
| `/docs/guides/enforce-module-boundaries/tags-allow-list` | `/docs/scale-with-nx/module-boundaries/tags-allow-list` | Pending |
75+
| `/docs/features/maintain-typescript-monorepos` | `/docs/technologies/typescript/maintain-monorepos` | Pending |
76+
| `/docs/reference/nx-mcp` | `/docs/features/nx-mcp` | Pending |
77+
| `/docs/reference/conformance/overview` | `/docs/scale-with-nx/conformance/overview` | Pending |
78+
| `/docs/reference/conformance/create-conformance-rule` | `/docs/scale-with-nx/conformance/create-conformance-rule` | Pending |
79+
| `/docs/reference/conformance/test-conformance-rule` | `/docs/scale-with-nx/conformance/test-conformance-rule` | Pending |
80+
| `/docs/reference/conformance/executors` | `/docs/scale-with-nx/conformance/executors` | Pending |
81+
| `/docs/reference/conformance/generators` | `/docs/scale-with-nx/conformance/generators` | Pending |
82+
| `/docs/reference/owners/overview` | `/docs/scale-with-nx/owners/overview` | Pending |
83+
| `/docs/reference/owners/generators` | `/docs/scale-with-nx/owners/generators` | Pending |
84+
| `/docs/guides/tips-n-tricks/define-environment-variables` | `/docs/guides/define-environment-variables` | Pending |
85+
| `/docs/guides/tips-n-tricks/include-assets-in-build` | `/docs/guides/include-assets-in-build` | Pending |
86+
| `/docs/guides/tips-n-tricks/keep-nx-versions-in-sync` | `/docs/troubleshooting/keep-nx-versions-in-sync` | Pending |
87+
| `/docs/guides/tips-n-tricks/standalone-to-monorepo` | `/docs/guides/adopting-nx/standalone-to-monorepo` | Pending |
88+
89+
### Netlify Configuration
90+
91+
```toml
92+
# Add to netlify.toml
93+
94+
# Module Boundaries
95+
[[redirects]]
96+
from = "/docs/features/enforce-module-boundaries"
97+
to = "/docs/scale-with-nx/module-boundaries/overview"
98+
status = 301
99+
100+
[[redirects]]
101+
from = "/docs/guides/enforce-module-boundaries/*"
102+
to = "/docs/scale-with-nx/module-boundaries/:splat"
103+
status = 301
104+
105+
# TypeScript Monorepos
106+
[[redirects]]
107+
from = "/docs/features/maintain-typescript-monorepos"
108+
to = "/docs/technologies/typescript/maintain-monorepos"
109+
status = 301
110+
111+
# Nx MCP
112+
[[redirects]]
113+
from = "/docs/reference/nx-mcp"
114+
to = "/docs/features/nx-mcp"
115+
status = 301
116+
117+
# Conformance
118+
[[redirects]]
119+
from = "/docs/reference/conformance/*"
120+
to = "/docs/scale-with-nx/conformance/:splat"
121+
status = 301
122+
123+
# Owners
124+
[[redirects]]
125+
from = "/docs/reference/owners/*"
126+
to = "/docs/scale-with-nx/owners/:splat"
127+
status = 301
128+
129+
# Tips-n-Tricks
130+
[[redirects]]
131+
from = "/docs/guides/tips-n-tricks/define-environment-variables"
132+
to = "/docs/guides/define-environment-variables"
133+
status = 301
134+
135+
[[redirects]]
136+
from = "/docs/guides/tips-n-tricks/include-assets-in-build"
137+
to = "/docs/guides/include-assets-in-build"
138+
status = 301
139+
140+
[[redirects]]
141+
from = "/docs/guides/tips-n-tricks/keep-nx-versions-in-sync"
142+
to = "/docs/troubleshooting/keep-nx-versions-in-sync"
143+
status = 301
144+
145+
[[redirects]]
146+
from = "/docs/guides/tips-n-tricks/standalone-to-monorepo"
147+
to = "/docs/guides/adopting-nx/standalone-to-monorepo"
148+
status = 301
149+
```

0 commit comments

Comments
 (0)