()
| 376 | |
| 377 | //Builds the documentation |
| 378 | export async function buildDocs() { |
| 379 | const generatePrivateDocumentation = argv.private ? "--private" : ""; |
| 380 | |
| 381 | execSync( |
| 382 | `npx jsdoc --configure Tools/jsdoc/conf.json --pedantic ${generatePrivateDocumentation}`, |
| 383 | { |
| 384 | stdio: "inherit", |
| 385 | env: Object.assign({}, process.env, { |
| 386 | CESIUM_VERSION: version, |
| 387 | CESIUM_PACKAGES: getWorkspaces(true), |
| 388 | }), |
| 389 | }, |
| 390 | ); |
| 391 | |
| 392 | const stream = gulp |
| 393 | .src(["Documentation/Images/**"], { encoding: false }) |
| 394 | .pipe(gulp.dest("Build/Documentation/Images")); |
| 395 | |
| 396 | await finished(stream); |
| 397 | return stream; |
| 398 | } |
| 399 | |
| 400 | export async function buildDocsWatch() { |
| 401 | await buildDocs(); |
no test coverage detected
searching dependent graphs…