Revamp documentation page for improved readability and visuals#802
Revamp documentation page for improved readability and visuals#802nehagup merged 3 commits intokeploy:mainfrom
Conversation
Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>
There was a problem hiding this comment.
Pull request overview
This PR revamps the Docusaurus docs UI (layout, typography, sidebar/TOC, dark mode styling) to improve readability and navigation across breakpoints.
Changes:
- Applies a new visual system (DM Sans typography, updated spacing, refreshed sidebar/TOC styling).
- Improves dark-mode styling for tier chips/callouts and code/inline-code presentation.
- Adjusts TOC configuration globally (min/max heading levels) and per-doc metadata.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
src/css/custom.css |
Global typography enforcement, code/TOC/sidebar/pagination styling refinements, dark-mode adjustments. |
src/theme/DocItem/styles.module.css |
Adds DocItem-level styling overrides (layout/sidebar/TOC/typography). |
src/theme/Heading/styles.module.css |
Removes visible # marker from heading anchor links. |
src/components/ProductTier.js |
Updates dark-mode chip appearance. |
src/components/TierCallout.js |
Improves dark-mode note/chip contrast. |
docusaurus.config.js |
Sets global TOC heading-level configuration. |
docs/gsoc/contribution-guide.md |
Adds TOC front-matter configuration for the page. |
src/theme/DocItem/index.js |
Minor formatting change; DocItem/TOC rendering remains the same. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code Review SummaryStatus: Previously Flagged Issues Remain | Recommendation: Address outstanding feedback before merge OverviewThis PR makes comprehensive visual and UX improvements to the documentation pages. The CSS changes are primarily stylistic and don't introduce runtime bugs. However, several issues flagged in previous reviews appear to still be present in the codebase. Outstanding Issues From Previous Reviews
Review Notes
RecommendationThe author should:
Files Reviewed (8 files)
Reviewed by claude-4.5-opus-20251124 · 398,712 tokens |
Docs Page Revamp – Visual & UX Improvements
Overview
This PR delivers a comprehensive visual and UX revamp of the documentation site with a focus on:
Key Changes
Visual Overhaul
src/theme/DocItem/styles.module.cssfor a cleaner documentation experienceResponsiveness
Dark Mode Enhancements
ProductTier.jsTierCallout.jsTOC Improvements
docusaurus.config.jsMiscellaneous
src/theme/Heading/styles.module.css)docs/gsoc/contribution-guide.mdFiles Changed
src/css/custom.csssrc/theme/DocItem/styles.module.csssrc/theme/Heading/styles.module.csssrc/components/ProductTier.jssrc/components/TierCallout.jsdocusaurus.config.jsdocs/gsoc/contribution-guide.mdsrc/theme/DocItem/index.jsTotal: 603 additions, 264 deletions
Screenshots
Desktop Responsiveness
Before vs After
Tablet View
Before vs After
Mobile View
Before vs After
Dark Mode
Before vs After
Build Verification
Successful production build