@@ -39,12 +39,8 @@ cd docs
39
39
# Install dependencies
40
40
npm install
41
41
42
- # Start development server (all products)
42
+ # Start development server
43
43
npm run start
44
-
45
- # Single product mode (recommended for development)
46
- npm run start 1secure
47
- npm run start accessanalyzer/12.0
48
44
```
49
45
50
46
## 📁 Project Structure
@@ -79,8 +75,7 @@ npm run start accessanalyzer/12.0
79
75
│ │ └── 12.0.js
80
76
│ └── [other product sidebars]/
81
77
├── scripts/ # Development utilities
82
- │ ├── start-wrapper.js # Single-product dev mode
83
- │ └── build-single.js # Single-product builds
78
+
84
79
├── static/ # Static assets
85
80
│ └── img/
86
81
│ ├── branding/ # Logos and brand assets
@@ -95,39 +90,25 @@ npm run start accessanalyzer/12.0
95
90
96
91
``` bash
97
92
# 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
101
94
102
95
# Building & Testing
103
96
npm run build # Full production build
104
- npm run build [product] # Full production build
105
- npm run build [product]/[version] # Full production build
97
+
106
98
# Utilities
107
99
npm run clear # Clear Docusaurus cache
108
100
npm run serve # Serve production build after `npm run build`
109
101
```
110
102
111
103
### Development Workflow
112
104
113
- The new centralized system makes development much simpler :
105
+ The centralized system makes development simple :
114
106
115
107
1 . ** Start development server** : ` npm run start `
116
108
2 . ** Make changes** to documentation or configuration
117
109
3 . ** Hot reload** automatically updates the site
118
110
4 . ** All products and versions** work seamlessly
119
111
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
-
131
112
## ⚙️ Centralized Configuration System
132
113
133
114
### Global Product Config: ` src/config/products.js `
@@ -371,14 +352,6 @@ npm run start
371
352
372
353
3 . ** Test builds** :
373
354
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
-
382
355
``` bash
383
356
npm run build
384
357
```
0 commit comments