LearnNewsExamplesServices
Frontmatter
id7743
titleEnhance Sitemap Generation: Include Top-Level Application Routes
stateClosed
labels
enhancementai
assigneestobiu
createdAtNov 11, 2025, 12:58 PM
updatedAtNov 11, 2025, 1:00 PM
githubUrlhttps://github.com/neomjs/neo/issues/7743
authortobiu
commentsCount0
parentIssue7446
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 11, 2025, 1:00 PM

Enhance Sitemap Generation: Include Top-Level Application Routes

Closed v11.1.0 enhancementai
tobiu
tobiu commented on Nov 11, 2025, 12:58 PM

The current sitemap generated by buildScripts/generate-seo-files.mjs only includes content from the /learn section of the application. It does not cover the main top-level application routes such as /home, /blog, /about-us, /docs, /examples, and /services. These are critical entry points for users and should be discoverable by search engines.

This ticket proposes to enhance the generate-seo-files.mjs script to include these top-level application routes in the generated sitemap.xml.

Implementation Details:

  • The generate-seo-files.mjs script will need to be updated to identify and extract the top-level routes.
  • A possible approach is to read the static routeMetadata object from apps/portal/view/ViewportController.mjs to obtain the list of these routes.
  • The extracted routes should then be formatted as canonical, hash-based URLs (e.g., https://neomjs.com/#/home) and added to the sitemap.xml.

Acceptance Criteria:

  • The sitemap.xml generated by generate-seo-files.mjs includes all top-level application routes defined in ViewportController.mjs.
  • The URLs for these routes are canonical and hash-based (e.g., https://neomjs.com/#/home).
tobiu assigned to @tobiu on Nov 11, 2025, 12:58 PM
tobiu added the enhancement label on Nov 11, 2025, 12:58 PM
tobiu added the ai label on Nov 11, 2025, 12:58 PM
tobiu added parent issue #7446 on Nov 11, 2025, 12:59 PM
tobiu referenced in commit 984722c - "Enhance Sitemap Generation: Include Top-Level Application Routes #7743" on Nov 11, 2025, 1:00 PM
tobiu closed this issue on Nov 11, 2025, 1:00 PM