MCPcopy
hub / github.com/mongodb/node-mongodb-native / buildDocs

Function buildDocs

etc/docs/build.ts:28–31  ·  view source on GitHub ↗
({ tag }: VersionSchema)

Source from the content-addressed store, hash-verified

26const removeTempDirectory = () => exec('rm -rf temp');
27const installDependencies = () => exec('npm i --no-save --legacy-peer-deps typedoc@0.26.7');
28const buildDocs = ({ tag }: VersionSchema) => {
29 const revision = tag === LATEST_TAG ? 'main' : `v${tag}.0`;
30 return exec(`npm run build:typedoc -- --gitRevision ${revision}`);
31};
32
33async function copyNewDocsToGeneratedSite({ tag }: VersionSchema) {
34 const outputDirectory = `./temp/${tag}`;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected