Skip to content

Commit d80f94b

Browse files
Surendra RaikaSurendra Raika
authored andcommitted
Redesign documentation with OpenRouter-inspired theme
- Implement modern minimal design with purple accent colors - Fix dark theme to use consistent pure black tones - Add collapsible sidebar categories with +/- indicators - Add 'On this page' TOC component in right sidebar - Add Previous/Next page navigation at bottom - Center content layout for better readability - Change default link colors to white with purple hover - Hide sidebar sub-navigation for cleaner structure - Remove forward/backward navigation buttons - Switch from Plus Jakarta Sans to Inter font - Update landing page styling to match new aesthetic New files: - theme/sidebar.js: Collapsible category functionality - theme/toc.js: Table of contents component - theme/pagenav.js: Page navigation component
1 parent 8f776cd commit d80f94b

7 files changed

Lines changed: 754 additions & 264 deletions

File tree

book.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ git-repository-url = "https://github.com/RaikaSurendra/go-design-patterns"
1414
edit-url-template = "https://github.com/RaikaSurendra/go-design-patterns/edit/master/{path}"
1515
no-section-label = true
1616
additional-css = ["theme/css/custom.css", "theme/css/landing.css"]
17+
additional-js = ["theme/sidebar.js", "theme/toc.js", "theme/pagenav.js"]

0 commit comments

Comments
 (0)