diff --git a/.forgejo/workflows/docs.yaml b/.forgejo/workflows/docs.yaml index 11365f79..1ce58d7b 100644 --- a/.forgejo/workflows/docs.yaml +++ b/.forgejo/workflows/docs.yaml @@ -26,7 +26,7 @@ jobs: echo "ignore-workspace-root-check=true" >> .npmrc - name: Deploy # do not run on forks and releases - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'desu-bot' + # if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'desu-bot' uses: https://github.com/cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }} diff --git a/build.config.js b/build.config.js index b1a3971d..4e558f38 100644 --- a/build.config.js +++ b/build.config.js @@ -51,6 +51,7 @@ export default { ], }, typedoc: { + basePath: '/', excludePackages: [ '@mtcute/tl', '@mtcute/create-bot', @@ -64,6 +65,7 @@ export default { './.config/typedoc/plugin-external-links.js', './.config/typedoc/plugin-umami.js', ], + gitRemote: 'https://github.com/mtcute/mtcute', }, viteConfig: '.config/vite.build.ts', }