feat(docs): update layout and categorise the sidebar items#3762
feat(docs): update layout and categorise the sidebar items#3762adithyaakrishna wants to merge 10 commits intosimstudioai:stagingfrom
Conversation
PR SummaryMedium Risk Overview Enhances page actions by adding a new Reorganizes sidebar separators into categorized sections with icons, and adds/updates documentation content (new blocks docs like Written by Cursor Bugbot for commit 06035f6. This will update automatically on new commits. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
|
@adithyaakrishna is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
Greptile SummaryThis PR refreshes the Sim docs layout: it replaces Inter/Geist with Season + Martian Mono fonts, introduces a categorised sidebar with section icons and a neutral active-state palette, adds a Key changes:
Issues found:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Browser
participant PageTSX as page.tsx (Server)
participant FS as Node.js fs
participant Client as ViewOptionsPopover (Client)
participant GitHub
participant AI as AI Tools (ChatGPT / Claude / etc.)
PageTSX->>PageTSX: resolveGitHubDocUrl(page.url)
PageTSX->>FS: existsSync(CONTENT_DOCS_DIR/lang/slug.mdx)
FS-->>PageTSX: true/false
PageTSX->>PageTSX: build GitHub blob URL (or undefined)
PageTSX->>Browser: render ViewOptionsPopover(markdownUrl, githubUrl)
Browser->>Client: user clicks "Open ▾"
Client->>Client: useMemo → build items list
Client-->>Browser: show popover with links
Browser->>GitHub: Open in GitHub (if githubUrl defined)
Browser->>Client: user clicks "Copy Markdown"
Client->>Client: check module-level cache
Client->>PageTSX: fetch(markdownUrl) → raw .mdx text
PageTSX-->>Client: MDX content
Client->>Browser: clipboard.write(content)
Reviews (1): Last reviewed commit: "chore: update layout and contents" | Re-trigger Greptile |

Summary
Type of Change
Testing
Checklist
Screenshots/Videos
Before:
After: