Skip to content

Commit

Permalink
Merge pull request #116 from OUCC/feat/#55-search
Browse files Browse the repository at this point in the history
#55 記事検索の追加
  • Loading branch information
herring101 authored Apr 21, 2024
2 parents c32835f + 9d39f96 commit 4ea6c1b
Show file tree
Hide file tree
Showing 11 changed files with 839 additions and 105 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ cf. [ディレクトリ構成 🚀 Astroドキュメント](https://docs.astro.b

## コマンド

| Command | Action |
| :------------------------ | :----------------------------------------------------------- |
| `npm install` | 開発に必要なパッケージをインストールする |
| `npm run dev` | 開発サーバーを起動する |
| `npm run build` | 本番ビルドを `./dist/` に書き出す |
| `npm run preview` | 書き出した本番ビルドをプレビューする |
| `npm run typecheck` | 型チェックを実行する |
| `npm run lint` | コードのフォーマットが正しいかチェックする |
| `npm run format` | コードのフォーマットを自動で修正する |
| `npm run validate-blog` | 指定したファイルがブログの更新の際に変更して良いか判定します |
| `npm run update-blogmeta` | 指定したファイルに対応するブログのメタ情報を更新します |
| Command | Action |
| :------------------------ | :-------------------------------------------------------------------- |
| `npm install` | 開発に必要なパッケージをインストールする |
| `npm run dev` | 開発サーバーを起動する |
| `npm run build` | 本番ビルドを `./dist/out/` に書き出し、ブログのインデックスを作成する |
| `npm run preview` | 書き出した本番ビルドをプレビューする |
| `npm run typecheck` | 型チェックを実行する |
| `npm run lint` | コードのフォーマットが正しいかチェックする |
| `npm run format` | コードのフォーマットを自動で修正する |
| `npm run validate-blog` | 指定したファイルがブログの更新の際に変更して良いか判定します |
| `npm run update-blogmeta` | 指定したファイルに対応するブログのメタ情報を更新します |

## ブログ

Expand Down
3 changes: 2 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import RemarkLinkRewrite, {
type RemarkLinkRewriteOptions,
} from 'remark-link-rewrite'
import { getFormatUrl } from './src/utils/validateUrl'
import pagefind from './src/integrations/pagefind'

const { SITE_URL } = loadEnv(process.env.NODE_ENV!, process.cwd(), '')

Expand Down Expand Up @@ -47,5 +48,5 @@ export default defineConfig({
],
],
},
integrations: [tailwind(), sitemap(), mdx()],
integrations: [tailwind(), pagefind(), sitemap(), mdx()],
})
Loading

0 comments on commit 4ea6c1b

Please sign in to comment.