Skip to content

Commit 88cc768

Browse files
authored
Merge branch 'main' into docs/remove-clients-docs
2 parents fefc6da + 9c2efc9 commit 88cc768

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/ci/codegen/pushToAlgoliaDoc.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ async function pushToAlgoliaDoc(): Promise<void> {
5454
await run(`cp ${toAbsolutePath('specs/bundled/*.doc.yml')} ${pathToSpecs}`);
5555
await run(`cp ${toAbsolutePath('config/release.config.json')} ${pathToSpecs}`);
5656
await run(`cp ${toAbsolutePath('snippets/guides/*.json')} ${pathToSpecs}`);
57+
// add block extension ban words like `analytics` so we use a different file name just so the doc dans render it
58+
await run(`mv ${pathToSpecs}/analytics.doc.yml ${pathToSpecs}/searchstats.doc.yml`);
5759

5860
if ((await getNbGitDiff({ head: null, cwd: tempGitDir })) === 0) {
5961
console.log(`❎ Skipping push docs because there is no change.`);

0 commit comments

Comments
 (0)