diff --git a/.github/workflows/publish-website.yaml b/.github/workflows/publish-website.yaml index 91a9a2a..5992d66 100644 --- a/.github/workflows/publish-website.yaml +++ b/.github/workflows/publish-website.yaml @@ -17,13 +17,13 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 - cache: yarn + cache: npm - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm install working-directory: website - name: Build website - run: yarn build + run: npm run build working-directory: website - name: Upload Build Artifact diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 38cfeff..21e7850 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -19,7 +19,7 @@ const config: Config = { projectName: "llm-agent-builder", // Usually your repo name. trailingSlash: false, - onBrokenLinks: "throw", + onBrokenLinks: "warn", onBrokenMarkdownLinks: "warn", // Even if you don't use internationalization, you can use this field to set @@ -36,17 +36,9 @@ const config: Config = { { docs: { sidebarPath: "./sidebars.ts", - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - editUrl: - "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/", }, blog: { showReadingTime: true, - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - editUrl: - "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/", }, theme: { customCss: "./src/css/custom.css",