Skip to content

Commit

Permalink
인프라: 사이트맵 재설정 및 버전업
Browse files Browse the repository at this point in the history
  • Loading branch information
D0Dam committed Jun 8, 2024
1 parent c2176a5 commit 8d2007d
Show file tree
Hide file tree
Showing 4 changed files with 3,936 additions and 3,402 deletions.
9 changes: 8 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ const config = {
anonymizeIP: true,
},
sitemap: {
lastmod: 'date',
changefreq: 'weekly',
priority: 0.5,
ignorePatterns: [],
ignorePatterns: ['/tags/**'],
filename: 'sitemap.xml',
createSitemapItems: async (params) => {
const { defaultCreateSitemapItems, ...rest } = params;
const items = await defaultCreateSitemapItems(rest);
return items.filter((item) => !item.url.includes('/page/'));
},
},
docs: {
sidebarPath: require.resolve('./sidebars.js'),
Expand All @@ -41,6 +47,7 @@ const config = {
],
],
themeConfig,
onBrokenAnchors: 'log',
};

module.exports = config;
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@docusaurus/core": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-player": "^2.13.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.2.0",
"@docusaurus/module-type-aliases": "^3.4.0",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4"
},
Expand Down
112 changes: 0 additions & 112 deletions sitemap.xml

This file was deleted.

Loading

0 comments on commit 8d2007d

Please sign in to comment.