Skip to content

Commit

Permalink
Add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Oct 29, 2023
1 parent 3dbbaf4 commit 0a18858
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 19 deletions.
10 changes: 10 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
siteUrl: "https://guide.appliedenergistics.org",
generateRobotsTxt: true,
generateIndexSitemap: false,
exclude: [
// Do not list the in-dev content
"/development/*",
],
outDir: "out",
};
56 changes: 37 additions & 19 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"postbuild": "next-sitemap",
"build-debug": "cross-env NODE_OPTIONS='--inspect' next build",
"start": "serve out",
"lint": "next lint"
Expand All @@ -13,6 +14,7 @@
"@tippyjs/react": "^4.2.6",
"flatbuffers": "^23.5.26",
"next": "14.0.0",
"next-sitemap": "^4.2.3",
"pako": "^2.1.0",
"react": "^18",
"react-dom": "^18",
Expand Down

0 comments on commit 0a18858

Please sign in to comment.