Skip to content

Commit

Permalink
docs: fix meta assets of user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Feb 27, 2025
1 parent 38beeb1 commit e6f4642
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Binary file modified www/apps/user-guide/app/favicon.ico
Binary file not shown.
Binary file added www/apps/user-guide/app/icon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions www/apps/user-guide/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { retrieveMdxPages } from "build-scripts"
import type { MetadataRoute } from "next"
import path from "path"
import { config } from "../config"
import { basePathUrl } from "../utils/base-path-url"

export default function sitemap(): MetadataRoute.Sitemap {
return retrieveMdxPages({
basePath: path.resolve("app"),
}).map((filePath) => ({
url: `${config.baseUrl}${basePathUrl(filePath)}`,
}))
}

0 comments on commit e6f4642

Please sign in to comment.