Skip to content

Fix docs-app first-page routing and Get Started link - #179

Merged
NullVoxPopuli merged 5 commits into
mainfrom
copilot/fix-first-page-routing
Feb 25, 2026
Merged

NullVoxPopuli merged 5 commits into
mainfrom
copilot/fix-first-page-routing

Conversation

Copilot AI commented Feb 25, 2026 •

Copy link
Copy Markdown
Contributor

The docs-app was missing a page route, so handlePotentialIndexVisit was never called and visiting a section root (e.g. /1-get-started) never redirected to the first document. The "Get Started" link also used a stale path with the raw .gjs.md extension.

Changes

  • docs-app/src/routes/page.ts (new): Adds the missing route that calls handlePotentialIndexVisit in beforeModel, enabling kolay's first-page redirect
export default class PageRoute extends Route {
  beforeModel(transition: Transition) {
    handlePotentialIndexVisit(this, transition);
  }
}
  • docs-app/src/templates/index.gts: Updates "Get Started" hrefs to /1-get-started/index.md — the /index.md suffix is required for page load; the .gjs language hint is stripped from URLs by kolay. Also collapses the GetStarted component's <InternalLink> to a single line to match what prettier produces at 78 chars (under the 80-char printWidth).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/universal-ember/table/check-runs/64839302513/annotations
    • Triggering command: /usr/bin/curl curl -s REDACTED -H Accept: application/vnd.github.v3&#43;json (http block)
  • www.npmjs.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix first page routing in docs-app Add page route with first-page redirect handling Feb 25, 2026
Copilot AI requested a review from NullVoxPopuli February 25, 2026 13:02
@NullVoxPopuli

Copy link
Copy Markdown
Contributor

@copilot can you also update the get started link on the home page? It should have no extensions in the href

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>

Copilot AI commented Feb 25, 2026

Copy link
Copy Markdown
Contributor Author

@copilot can you also update the get started link on the home page? It should have no extensions in the href

Done in dfa3da3. Updated both the callToAction slot link and the unused GetStarted component — both now use /1-get-started with no file extension.

@github-actions

github-actions Bot commented Feb 25, 2026 •

Copy link
Copy Markdown
Contributor
Project Preview URL
Docs https://9a422e61.ue-table.pages.dev

Logs

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Copilot AI changed the title Add page route with first-page redirect handling Fix docs-app first-page routing and Get Started link Feb 25, 2026
…ine)

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
@NullVoxPopuli
NullVoxPopuli marked this pull request as ready for review February 25, 2026 13:57
@NullVoxPopuli
NullVoxPopuli merged commit 2a47c05 into main Feb 25, 2026
10 checks passed
@NullVoxPopuli
NullVoxPopuli deleted the copilot/fix-first-page-routing branch February 25, 2026 13:58
@github-actions github-actions Bot mentioned this pull request Feb 25, 2026
@NullVoxPopuli NullVoxPopuli added the documentation Improvements or additions to documentation label Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants