diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 916bafbaf..eb78de01e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -319,11 +319,11 @@ jobs: # Run Docusaurus in the ./docs directory - name: Install dependencies - working-directory: ../docs + working-directory: ./docs run: npm install - name: Test building the website - working-directory: ../docs + working-directory: ./docs run: npm run build Validate-Coderabbit: diff --git a/docs/package.json b/docs/package.json index 65e9e455b..635ab6d05 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,7 +12,8 @@ "serve": "docusaurus serve", "write-translations": "docusaurus write-translations", "write-heading-ids": "docusaurus write-heading-ids", - "typecheck": "tsc" + "typecheck": "tsc", + "generate-docs": "flutter pub global run dartdoc . --output docs/docs/auto-docs" }, "dependencies": { "@docusaurus/core": "3.6.3",