Skip to content

Add edit page action to docs pages#585

Open
phungkaizen wants to merge 1 commit into
tscircuit:mainfrom
phungkaizen:devin/1778600700-edit-doc-link
Open

Add edit page action to docs pages#585
phungkaizen wants to merge 1 commit into
tscircuit:mainfrom
phungkaizen:devin/1778600700-edit-doc-link

Conversation

@phungkaizen
Copy link
Copy Markdown

Summary

  • Add a visible Edit page action near the existing copy page controls on each doc page.
  • Use Docusaurus doc metadata editUrl so links point directly to the GitHub source file for the current page.
  • Keep the action responsive with the existing doc header layout.

Fixes tscircuit/docs-old#65
/claim tscircuit/docs-old#65

Review & Testing Checklist for Human

  • Open several docs pages and verify the Edit page link points to the correct GitHub source file.
  • Check desktop and mobile widths to confirm the header actions do not overlap page titles.
  • Inspect the Vercel preview alongside the issue request and Bun docs reference.

Notes

Tested locally:

  • bunx @biomejs/biome format --write src/theme/DocItem/Layout/index.tsx src/theme/DocItem/Layout/styles.module.css
  • bunx @biomejs/biome lint src/theme/DocItem/Layout/index.tsx src/theme/DocItem/Layout/styles.module.css
  • bun run typecheck
  • bun run build

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment May 12, 2026 8:06pm

Request Review

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Every doc should have a link to edit on github

1 participant