MCPcopy
hub / github.com/CesiumGS/cesium / buildDocs

Function buildDocs

gulpfile.js:378–398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

376
377//Builds the documentation
378export 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
400export async function buildDocsWatch() {
401 await buildDocs();

Callers 1

buildDocsWatchFunction · 0.85

Calls 1

getWorkspacesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…