Skip to content

Commit

Permalink
docs: add robots integration
Browse files Browse the repository at this point in the history
  • Loading branch information
pyjun01 committed Dec 19, 2023
1 parent ee065be commit ee5f884
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import react from '@astrojs/react';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';
import { defineConfig } from 'astro/config';
import robotsTxt from 'astro-robots-txt';

// https://astro.build/config
export default defineConfig({
Expand Down Expand Up @@ -332,6 +333,7 @@ export default defineConfig({
}),
react(),
tailwind(),
robotsTxt(),
],
site: 'https://pyjun01.github.io',
base: '/react-google-map-wrapper',
Expand Down
40 changes: 35 additions & 5 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"astro": "^4.0.1",
"astro-robots-txt": "^1.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-google-map-wrapper": "^1.0.0",
Expand Down

0 comments on commit ee5f884

Please sign in to comment.