Skip to content

docs: remove .html extensions from all URLs site-wide#94

Closed
NathanTarbert wants to merge 1 commit intoCopilotKit:mainfrom
NathanTarbert:docs/clean-urls-sitewide
Closed

docs: remove .html extensions from all URLs site-wide#94
NathanTarbert wants to merge 1 commit intoCopilotKit:mainfrom
NathanTarbert:docs/clean-urls-sitewide

Conversation

@NathanTarbert
Copy link
Copy Markdown
Contributor

Summary

Follows up on #90 (which fixed the homepage /index.html URL).

  • Restructure all doc pages from page.htmlpage/index.html directories so GitHub Pages serves clean URLs (e.g. /docs instead of /docs.html)
  • Update all internal href links across every HTML file and sidebar.js to use extensionless paths
  • Update sidebar.js current-page detection to work with directory-based URLs

Test plan

  • Click "Docs" in the navbar — URL is /docs (no /docs.html)
  • Click any sidebar link — URL has no .html extension
  • Click the logo or "Home" from any doc page — URL is /
  • Sidebar highlighting still works on all pages
  • Anchored links (e.g. /services#moderation) still work

Restructure each docs page from page.html to page/index.html so
GitHub Pages serves clean URLs (e.g. /docs instead of /docs.html).
Update all internal links and sidebar.js page detection accordingly.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 8, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@copilotkit/aimock@94

commit: a1b02f6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant