Skip to content

Commit 456ed10

Browse files
committed
chore: move files to doc dir
1 parent b46259a commit 456ed10

14 files changed

+2
-73429
lines changed

scripts/ci/codegen/pushToRepository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ async function handleSpecFiles(spec: SpecsToPush, tempGitDir: string): Promise<v
2626
await run(`rm -rf ${pathToSpecs}/* || true`);
2727
await run(`cp ${toAbsolutePath('specs/bundled/README.md')} ${pathToSpecs}`);
2828
await run(`cp ${toAbsolutePath('specs/major-breaking-changes-rename.json')} ${pathToSpecs}`);
29-
await run(`cp ${toAbsolutePath('specs/bundled/*.doc.yml')} ${pathToSpecs}`);
3029
await run(`cp ${toAbsolutePath('config/clients.config.json')} ${pathToSpecs}`);
3130
await run(`cp ${toAbsolutePath('docs/bundled/*.json')} ${pathToSpecs}`);
31+
await run(`cp ${toAbsolutePath('docs/bundled/*.yml')} ${pathToSpecs}`);
3232
await run(`cp ${toAbsolutePath('docs/versions-history-with-sla-and-support-policy.json')} ${pathToSpecs}`);
3333
// adblock extensions ban words like `analytics` so we use a different file name just so the doc dans render it
3434
await run(`mv ${pathToSpecs}/analytics.doc.yml ${pathToSpecs}/searchstats.doc.yml`);

scripts/specs/format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ export async function bundleSpecsForDoc(bundledPath: string, clientName: string)
129129
}
130130
}
131131

132-
await fsp.writeFile(toAbsolutePath(`specs/bundled/${clientName}.doc.yml`), yaml.dump(bundledSpec, { noRefs: true }));
132+
await fsp.writeFile(toAbsolutePath(`docs/bundled/${clientName}.yml`), yaml.dump(bundledSpec, { noRefs: true }));
133133
}

0 commit comments

Comments
 (0)