Skip to content

Commit 50bdbd7

Browse files
committed
Update readme with new help info
1 parent a3ca657 commit 50bdbd7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ npm run start
9191
```bash
9292
# Development
9393
npm run start # Start development server
94+
npm run start-chok # Start development server with polling (for network drives)
9495

9596
# Building & Testing
9697
npm run build # Full production build
@@ -100,6 +101,24 @@ npm run clear # Clear Docusaurus cache
100101
npm run serve # Serve production build after `npm run build`
101102
```
102103

104+
### Building/Running Specific Products
105+
106+
You can build or run the documentation for a single product using the `DOCS_PRODUCT` environment variable:
107+
108+
**Windows (PowerShell):**
109+
```powershell
110+
$ENV:DOCS_PRODUCT="pingcastle"
111+
npm run start
112+
```
113+
114+
**Unix/Linux/macOS:**
115+
```bash
116+
export DOCS_PRODUCT="pingcastle"
117+
npm run start
118+
```
119+
120+
This works with any command (`start`, `start-chok`, `build`) and speeds up development when working on a single product. Available product IDs can be found in `src/config/products.js`.
121+
103122
### Development Workflow
104123

105124
The centralized system makes development simple:

0 commit comments

Comments
 (0)