Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: adding sitemap for docs (#348)

* feat: adding sitemap for docs

* adding lock file

* fix: script and dep to exact version

* fix: lock file

---------

Co-authored-by: priyank.rajai <priyank.rajai@openxcellinc.com>

authored by

Priyank Rajai
priyank.rajai
and committed by
GitHub
71ab0d80 a06109b1

+67 -1
+5
apps/docs/next-sitemap.config.js
··· 1 + /** @type {import('next-sitemap').IConfig} */ 2 + module.exports = { 3 + siteUrl: process.env.SITE_URL || "https://docs.openstatus.dev/", 4 + generateRobotsTxt: true, 5 + };
+4 -1
apps/docs/package.json
··· 3 3 "scripts": { 4 4 "dev": "next dev", 5 5 "build": "next build", 6 + "build:sitemap": "next build && next-sitemap", 7 + "postbuild": "next-sitemap", 6 8 "start": "next start" 7 9 }, 8 10 "repository": { ··· 13 15 "dependencies": { 14 16 "@vercel/analytics": "1.0.1", 15 17 "next": "13.4.19", 18 + "next-sitemap": "4.2.3", 16 19 "nextra": "2.13.1", 17 20 "nextra-theme-docs": "2.13.1", 18 21 "react": "18.2.0", ··· 25 28 "@types/swagger-ui-react": "4.18.1", 26 29 "typescript": "5.1.6" 27 30 } 28 - } 31 + }
+9
apps/docs/public/robots.txt
··· 1 + # * 2 + User-agent: * 3 + Allow: / 4 + 5 + # Host 6 + Host: https://docs.openstatus.dev/ 7 + 8 + # Sitemaps 9 + Sitemap: https://docs.openstatus.dev/sitemap.xml
+24
apps/docs/public/sitemap-0.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <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"> 3 + <url><loc>https://docs.openstatus.dev</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 4 + <url><loc>https://docs.openstatus.dev/developer-guide/get-started</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 5 + <url><loc>https://docs.openstatus.dev/developer-guide/requirements</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 6 + <url><loc>https://docs.openstatus.dev/developer-guide/setup</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 7 + <url><loc>https://docs.openstatus.dev/developer-guide/setup-env</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 8 + <url><loc>https://docs.openstatus.dev/getting-started</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 9 + <url><loc>https://docs.openstatus.dev/getting-started/alerting</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 10 + <url><loc>https://docs.openstatus.dev/getting-started/heartbeat</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 11 + <url><loc>https://docs.openstatus.dev/getting-started/monitor</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 12 + <url><loc>https://docs.openstatus.dev/getting-started/status-page</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 13 + <url><loc>https://docs.openstatus.dev/integrations</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 14 + <url><loc>https://docs.openstatus.dev/integrations/discord</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 15 + <url><loc>https://docs.openstatus.dev/integrations/fly</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 16 + <url><loc>https://docs.openstatus.dev/integrations/otel</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 17 + <url><loc>https://docs.openstatus.dev/integrations/phone-call</loc><lastmod>2023-10-02T15:53:57.199Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 18 + <url><loc>https://docs.openstatus.dev/integrations/slack</loc><lastmod>2023-10-02T15:53:57.200Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 19 + <url><loc>https://docs.openstatus.dev/integrations/sms</loc><lastmod>2023-10-02T15:53:57.200Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 20 + <url><loc>https://docs.openstatus.dev/integrations/telegram</loc><lastmod>2023-10-02T15:53:57.200Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 21 + <url><loc>https://docs.openstatus.dev/integrations/vercel</loc><lastmod>2023-10-02T15:53:57.200Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 22 + <url><loc>https://docs.openstatus.dev/rest-api/auth</loc><lastmod>2023-10-02T15:53:57.200Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 23 + <url><loc>https://docs.openstatus.dev/rest-api/openapi</loc><lastmod>2023-10-02T15:53:57.200Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> 24 + </urlset>
+4
apps/docs/public/sitemap.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 3 + <sitemap><loc>https://docs.openstatus.dev/sitemap-0.xml</loc></sitemap> 4 + </sitemapindex>
+21
pnpm-lock.yaml
··· 41 41 next: 42 42 specifier: 13.4.19 43 43 version: 13.4.19(@babel/core@7.22.20)(react-dom@18.2.0)(react@18.2.0) 44 + next-sitemap: 45 + specifier: 4.2.3 46 + version: 4.2.3(next@13.4.19) 44 47 nextra: 45 48 specifier: 2.13.1 46 49 version: 2.13.1(next@13.4.19)(react-dom@18.2.0)(react@18.2.0) ··· 1256 1259 oo-ascii-tree: 1.88.0 1257 1260 ts-pattern: 4.3.0 1258 1261 type-fest: 3.13.1 1262 + dev: false 1263 + 1264 + /@corex/deepmerge@4.0.43: 1265 + resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==} 1259 1266 dev: false 1260 1267 1261 1268 /@cspotcode/source-map-support@0.8.1: ··· 11182 11189 next: 13.4.19(@babel/core@7.22.20)(react-dom@18.2.0)(react@18.2.0) 11183 11190 react: 18.2.0 11184 11191 react-dom: 18.2.0(react@18.2.0) 11192 + dev: false 11193 + 11194 + /next-sitemap@4.2.3(next@13.4.19): 11195 + resolution: {integrity: sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==} 11196 + engines: {node: '>=14.18'} 11197 + hasBin: true 11198 + peerDependencies: 11199 + next: '*' 11200 + dependencies: 11201 + '@corex/deepmerge': 4.0.43 11202 + '@next/env': 13.5.3 11203 + fast-glob: 3.3.1 11204 + minimist: 1.2.8 11205 + next: 13.4.19(@babel/core@7.22.20)(react-dom@18.2.0)(react@18.2.0) 11185 11206 dev: false 11186 11207 11187 11208 /next-themes@0.2.1(next@13.4.19)(react-dom@18.2.0)(react@18.2.0):