diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2eb5e7e..d6f5fd0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,8 +11,6 @@ permissions: concurrency: group: "pages" cancel-in-progress: true -env: - BASE_PATH: /${{ github.event.repository.name }} jobs: build-and-commit: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 4e6d854..be8b529 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -14,7 +14,7 @@ concurrency: env: PAGE_DIR: pr-preview-${{ github.event.pull_request.number }} - BASE_PATH: /${{ github.event.repository.name }}/preview/pr-preview-${{ github.event.pull_request.number }} + BASE_PATH: /preview/pr-preview-${{ github.event.pull_request.number }} jobs: build-and-commit: diff --git a/content/docs/modlist.mdx b/content/docs/modlist.mdx index dddca80..7fa6f2c 100644 --- a/content/docs/modlist.mdx +++ b/content/docs/modlist.mdx @@ -3,4 +3,12 @@ title: モジュール一覧 description: 現在掲載されているモジュールの一覧です。 --- -- [std::vec](./vec/about.md) +import { source } from "@/lib/source"; + +{source.getPages().filter((page) => /^.*\/.*\/about$/.test(page.url)).map((page) => { + const basePath = process.env.BASE_PATH; + const url = `${basePath ?? ""}${page.url}`; + return ( +