Skip to content

Commit 17eab0e

Browse files
committed
removed single build/runs
1 parent a910b0c commit 17eab0e

File tree

7 files changed

+11
-663
lines changed

7 files changed

+11
-663
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,4 @@ claude_logs
1616

1717
npm-debug.log*
1818
yarn-debug.log*
19-
yarn-error.log*
20-
21-
# MDX Test Reports
22-
mdx-test-report.json
23-
pre-conversion-report.json
24-
post-conversion-report.json
25-
*.test-report.json
19+
yarn-error.log*

README.md

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ cd docs
3939
# Install dependencies
4040
npm install
4141

42-
# Start development server (all products)
42+
# Start development server
4343
npm run start
44-
45-
# Single product mode (recommended for development)
46-
npm run start 1secure
47-
npm run start accessanalyzer/12.0
4844
```
4945

5046
## 📁 Project Structure
@@ -79,8 +75,7 @@ npm run start accessanalyzer/12.0
7975
│ │ └── 12.0.js
8076
│ └── [other product sidebars]/
8177
├── scripts/ # Development utilities
82-
│ ├── start-wrapper.js # Single-product dev mode
83-
│ └── build-single.js # Single-product builds
78+
8479
├── static/ # Static assets
8580
│ └── img/
8681
│ ├── branding/ # Logos and brand assets
@@ -95,39 +90,25 @@ npm run start accessanalyzer/12.0
9590

9691
```bash
9792
# Development
98-
npm run start # All products (slower, loads everything)
99-
npm run start [product] # start a solo product docs only
100-
npm run start [product]/[version] # start a versioned product docs only
93+
npm run start # Start development server
10194

10295
# Building & Testing
10396
npm run build # Full production build
104-
npm run build [product] # Full production build
105-
npm run build [product]/[version] # Full production build
97+
10698
# Utilities
10799
npm run clear # Clear Docusaurus cache
108100
npm run serve # Serve production build after `npm run build`
109101
```
110102

111103
### Development Workflow
112104

113-
The new centralized system makes development much simpler:
105+
The centralized system makes development simple:
114106

115107
1. **Start development server**: `npm run start`
116108
2. **Make changes** to documentation or configuration
117109
3. **Hot reload** automatically updates the site
118110
4. **All products and versions** work seamlessly
119111

120-
### Single Product Development (Legacy Script Support)
121-
122-
For backward compatibility, single-product scripts still work:
123-
124-
```bash
125-
# Examples (optional - full site starts quickly now)
126-
npm run start 1secure
127-
npm run start accessanalyzer/12.0
128-
npm run start identitymanager/saas
129-
```
130-
131112
## ⚙️ Centralized Configuration System
132113

133114
### Global Product Config: `src/config/products.js`
@@ -371,14 +352,6 @@ npm run start
371352

372353
3. **Test builds**:
373354

374-
Test a build of the docs you edited:
375-
376-
```bash
377-
npm run build [product][/version]
378-
```
379-
380-
Test a build of all docs:
381-
382355
```bash
383356
npm run build
384357
```

docusaurus.dev.config.js

Lines changed: 0 additions & 113 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@
55
"main": "docusaurus.config.js",
66
"scripts": {
77
"docusaurus": "docusaurus",
8-
"start": "cross-env NODE_OPTIONS=--max-old-space-size=8192 scripts/start-wrapper.js",
9-
"start:all": "docusaurus start",
8+
"start": "cross-env NODE_OPTIONS=--max-old-space-size=8192 npx docusaurus start",
109
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 npx docusaurus build",
11-
"build-render": "npm install @rspack/binding-linux-x64-gnu; npm install; npx docusaurus build",
12-
"build:single": "node scripts/build-single.js",
1310
"swizzle": "docusaurus swizzle",
1411
"clear": "docusaurus clear",
1512
"serve": "docusaurus serve",
1613
"write-translations": "docusaurus write-translations",
1714
"write-heading-ids": "docusaurus write-heading-ids",
18-
"typecheck": "tsc",
19-
"prepare": "husky",
20-
"update-mappings": "node scripts/generate-product-mappings.js",
2115
"postinstall": "node scripts/windows-install.js"
2216
},
2317
"dependencies": {

0 commit comments

Comments
 (0)