@@ -43,15 +43,15 @@ jobs:
4343 - name : Install dependencies
4444 run : npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
4545 - name : Install documentation dependencies
46- working-directory : packages /documentation
46+ working-directory : internal /documentation
4747 run : npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
4848 - name : Fetch gh-pages branch
4949 run : git fetch origin gh-pages --depth=1
5050 - name : generate CLI doc
51- working-directory : packages /documentation
51+ working-directory : internal /documentation
5252 run : npm run generate-cli-doc
5353 - name : Build vitepress build
54- working-directory : packages /documentation
54+ working-directory : internal /documentation
5555 run : |
5656 # The base output
5757 npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_VERSION}/"
6060 npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_ALIAS}/" --outDir="dist-${DOC_ALIAS}"
6161 npm run build:assets -- ./dist-${DOC_ALIAS}
6262 - name : Build jsdoc
63- working-directory : packages /documentation
63+ working-directory : internal /documentation
6464 run : npm run jsdoc-generate
6565 # TODO: Skip for now deployment of the schema until we do a Schema Version 5 release
6666 # - name: Build Schema
@@ -81,16 +81,16 @@ jobs:
8181 rm -rf ./gh-pages/${DOC_ALIAS}
8282
8383 # Main version route
84- cp -R ./packages /documentation/dist ./gh-pages/${DOC_VERSION}/
84+ cp -R ./internal /documentation/dist ./gh-pages/${DOC_VERSION}/
8585
8686 # Alias route. E.g., next, latest, stable, etc.
8787 # For vitepress must be a copy with different config, not a symlink
88- cp -R ./packages /documentation/dist-${DOC_ALIAS} ./gh-pages/${DOC_ALIAS}/
88+ cp -R ./internal /documentation/dist-${DOC_ALIAS} ./gh-pages/${DOC_ALIAS}/
8989 # Symlink the api docs to avoid duplication
9090 ln -s ../${DOC_VERSION}/api ./gh-pages/${DOC_ALIAS}/api
9191
9292 # TODO: Enable when v5 release is done
93- # cp ./packages /documentation/scripts/resources/custom404.html ./gh-pages/404.html
93+ # cp ./internal /documentation/scripts/resources/custom404.html ./gh-pages/404.html
9494 - name : Publish Docs
9595 run : |
9696 cd ./gh-pages
0 commit comments