From 726ceab65fef609f4c402977040b868cdb3cb87f Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 29 Aug 2024 17:36:15 +0200 Subject: [PATCH] use netlify compatible markdown generation --- docs/website/tools/update_versions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/tools/update_versions.js b/docs/website/tools/update_versions.js index b3a6bdf0a8..b41f592612 100644 --- a/docs/website/tools/update_versions.js +++ b/docs/website/tools/update_versions.js @@ -52,7 +52,7 @@ for (const version of VERSIONS) { // build doc version, we also run preprocessing and markdown gen for each doc version console.log(`Building docs...`) - proc.execSync(`cd ${REPO_DOCS_DIR} && npm run preprocess-docs && npm run generate-api-reference`) + proc.execSync(`cd ${REPO_DOCS_DIR} && npm run preprocess-docs && PYTHONPATH=. pydoc-markdown`) console.log(`Snapshotting version...`) proc.execSync(`cd ${REPO_DOCS_DIR} && npm run docusaurus docs:version ${version}`)