Skip to content

The open alternative to Salesforce, designed for AI.

fix(docs): replace removed Mintlify build command (#20578)

Ariqhermawan218799636f3d
diff --git a/packages/twenty-docs/README.md b/packages/twenty-docs/README.md
index 8b365c88a36..bef8e18e2f4 100644
--- a/packages/twenty-docs/README.md
+++ b/packages/twenty-docs/README.md
@@ -72,11 +72,11 @@ Your content here...
- `package.json` - Package dependencies and scripts (`docs:generate`, `docs:generate-navigation-template`, …).
- `project.json` - Nx workspace configuration
-## πŸ“¦ Building
+## πŸ“¦ Validation
```bash
-# Build the documentation
-npx nx run twenty-docs:build
+# Validate the documentation build
+npx nx run twenty-docs:validate
```
## πŸ”— Links
@@ -97,4 +97,3 @@ To contribute to the documentation:
## πŸ“„ License
This documentation is part of the Twenty project and is licensed under [AGPL-3.0](../../LICENSE).
-
diff --git a/packages/twenty-docs/package.json b/packages/twenty-docs/package.json
index 11dca81331b..470b058d285 100644
--- a/packages/twenty-docs/package.json
+++ b/packages/twenty-docs/package.json
@@ -6,7 +6,7 @@
"license": "AGPL-3.0",
"scripts": {
"dev": "mintlify dev",
- "build": "mintlify build",
+ "validate": "mintlify validate",
"fix-links": "bash scripts/fix-translated-links.sh",
"lint": "npx oxlint -c .oxlintrc.json ."
},
diff --git a/packages/twenty-docs/project.json b/packages/twenty-docs/project.json
index 73001d9647f..0de792e25f9 100644
--- a/packages/twenty-docs/project.json
+++ b/packages/twenty-docs/project.json
@@ -12,12 +12,11 @@
"command": "mintlify dev"
}
},
- "build": {
+ "validate": {
"executor": "nx:run-commands",
- "outputs": ["{projectRoot}/.mintlify"],
"options": {
"cwd": "{projectRoot}",
- "command": "mintlify build"
+ "command": "mintlify validate"
}
},
"lint": {},