Skip to content

Commit

Permalink
feat: add sitemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Deep-Codes committed Jul 27, 2021
1 parent 352f219 commit ac86415
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ snippets
next-seo.config.js
scripts
data
public
public
*.js
3 changes: 3 additions & 0 deletions next-sitemap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
siteUrl: process.env.SITE_URL || 'https://docs.100ms.live/'
};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"build": "next build",
"start": "next start",
"lint": "eslint \"{components,lib}/**/*.{js,ts,tsx}\"",
"format": "prettier --write 'components/**/*.{js,jsxts,tsx,scss,css,json}'"
"format": "prettier --write 'components/**/*.{js,jsxts,tsx,scss,css,json}'",
"postbuild": "next-sitemap"
},
"files": [
"/dist",
Expand Down Expand Up @@ -80,6 +81,7 @@
"match-sorter": "^6.3.0",
"next-images": "^1.7.0",
"next-seo": "^4.23.0",
"next-sitemap": "^1.6.140",
"preact": "^10.5.13",
"react": "^17.0.1",
"react-lazyload": "^3.2.0",
Expand Down
45 changes: 45 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://docs.100ms.live</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.862Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/access/Get-Access-Key</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/100ms-v1/basics</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/advanced/Events</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/advanced/Recording</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/helpers/Runkit</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/client-side/Geting-Started-Android</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/client-side/Getting-Started-Web</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/client-side/Getting-Started-iOS</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/migrations/Android-Migration-from-v</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/migrations/Android-Migration-from</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/migrations/Web-Migrating-from</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/release-notes/Android</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/release-notes/Web</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/release-notes/iOS</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/server-side/Generate-client-side-token</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/server-side/Create-room</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/server-side/Generate-server-side-token</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v1/server-side/Introduction-to-tokens</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/100ms-v2/Basics</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/100ms-v2/Whats-new-in-Two</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/client-sdks/Getting-Started-Javascript</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/client-sdks/Getting-Started-iOS</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/client-sdks/Getting-Started-v2-Android</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/client-sdks/Reactive-Store-Extension-to-the-JS-SDK</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/advanced/Events</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/error-codes/error-codes-and-description</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/release-notes/Android-sdk</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/release-notes/IOS-SDK</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/release-notes/Javascript-SDK</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/release-notes/React-SDK</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/web-frameworks/Getting-started-react-ui-components</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/web-frameworks/Getting-started-react</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/Beam-RTM-Live-streaming-&-Recording</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/100ms-quickstart-app-server</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/Create-room</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/Generate-client-side-token</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/Generate-server-side-token</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/Introduction-to-tokens</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
<url><loc>https://docs.100ms.live/v2/server-side/Get-Template</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-07-27T03:30:15.863Z</lastmod></url>
</urlset>
21 changes: 21 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,11 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"

"@corex/deepmerge@^2.6.20":
version "2.6.20"
resolved "https://registry.yarnpkg.com/@corex/deepmerge/-/deepmerge-2.6.20.tgz#a72d1cb5a101fd11160815b96f499a588362ba5b"
integrity sha512-oZZxwDtV0bf8VPcSIhZPvdBFUkVIC8zRblUjrrVAsbGRiqUuZJfoXw2M6NDiIXWcUCfOqbkFND6Yf3b9ej9AjA==

"@eslint/eslintrc@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.3.0.tgz#d736d6963d7003b6514e6324bec9c602ac340318"
Expand Down Expand Up @@ -4137,6 +4142,13 @@ match-sorter@^6.3.0:
"@babel/runtime" "^7.12.5"
remove-accents "0.4.2"

matcher@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/matcher/-/matcher-4.0.0.tgz#a42a05a09aaed92e2d241eb91fddac689461ea51"
integrity sha512-S6x5wmcDmsDRRU/c2dkccDwQPXoFczc5+HpQ2lON8pnvHlnvHAHj5WlLVvw6n6vNyHuVugYrFohYxbS+pvFpKQ==
dependencies:
escape-string-regexp "^4.0.0"

md5.js@^1.3.4:
version "1.3.5"
resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
Expand Down Expand Up @@ -4351,6 +4363,15 @@ next-seo@^4.23.0:
resolved "https://registry.yarnpkg.com/next-seo/-/next-seo-4.23.0.tgz#24ef200e9faf0489ff1095f63b06adc21187db4c"
integrity sha512-/yTeeUT+zFTsrpP8iigwiwsj+HyT+ks1G27mgfnkKQBrFz9uph6Bot4nDrwfICgjvdLt2Zdve6okAgRUmhm+/g==

next-sitemap@^1.6.140:
version "1.6.140"
resolved "https://registry.yarnpkg.com/next-sitemap/-/next-sitemap-1.6.140.tgz#b391633596f4845ec9ceb54a51da8c1f6f97ae43"
integrity sha512-VTOQMae/nDLBRGBHnkmGoIsArymlOpJWkZUDvPapktF4QX2U7yvwHIHe7V7amqV2gE2xiDYgd0ayXOBBGuFHog==
dependencies:
"@corex/deepmerge" "^2.6.20"
matcher "^4.0.0"
minimist "^1.2.5"

next@^10.0.9:
version "10.0.9"
resolved "https://registry.yarnpkg.com/next/-/next-10.0.9.tgz#ad5d8e0368fee8363cdfd64d22dfbf71f683ae66"
Expand Down

0 comments on commit ac86415

Please sign in to comment.