@@ -54,19 +54,18 @@ jobs:
5454 - name : generate CLI doc
5555 working-directory : packages/documentation
5656 run : npm run generate-cli-doc
57- - name : Build jsdoc
58- working-directory : packages/documentation
59- run : npm run jsdoc-generate
6057 - name : Build vitepress build
6158 working-directory : packages/documentation
6259 run : |
63- cd packages/documentation
6460 # The base output
6561 npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_VERSION}/"
6662 npm run build:assets -- ./dist
6763 # The alias output
6864 npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_ALIAS}/" --outDir="dist-${DOC_ALIAS}"
6965 npm run build:assets -- ./dist-${DOC_ALIAS}
66+ - name : Build jsdoc
67+ working-directory : packages/documentation
68+ run : npm run jsdoc-generate
7069 # TODO: Skip for now deployment of the schema until we do a Schema Version 5 release
7170 # - name: Build Schema
7271 # run: |
@@ -87,15 +86,14 @@ jobs:
8786
8887 # Main version route
8988 cp -R ./packages/documentation/dist ./gh-pages/${DOC_VERSION}/
90- cp -R ./site/api ./gh-pages/${DOC_VERSION}/api
9189
9290 # Alias route. E.g., next, latest, stable, etc.
9391 # For vitepress must be a copy with different config, not a symlink
9492 cp -R ./packages/documentation/dist-${DOC_ALIAS} ./gh-pages/${DOC_ALIAS}/
9593 # Symlink the api docs to avoid duplication
9694 ln -s ../${DOC_VERSION}/api ./gh-pages/${DOC_ALIAS}/api
9795
98- cp ./scripts/resources/custom404.html ./gh-pages/404.html
96+ cp ./packages/documentation/ scripts/resources/custom404.html ./gh-pages/404.html
9997 - name : Publish Docs
10098 run : |
10199 cd ./gh-pages
0 commit comments