[pull] master from ruby:master#210
Merged
Merged
Conversation
## Problem The Aliki HTML theme has several small visual inconsistencies that add up when browsing generated documentation: method cards and source toggles compete for attention, selected and nested navigation states create uneven spacing, page titles do not clearly distinguish object kind from object name, section dividers are visually heavy, the footer can sit awkwardly against the sidebar at narrower desktop widths, and the desktop search field is not aligned with the main reading column. These issues make the default generated docs feel less polished than the underlying content warrants, especially on method-heavy pages and wide layouts with both side navigation and the table of contents visible. ## Solution - Add a DESIGN.md contract for the Aliki theme so spacing, color, navigation, method-card, search, title, and footer decisions are documented in one place. - Refine method cards, source controls, borders, and section dividers so code-object pages read with clearer hierarchy and less visual noise. - Clarify generated navigation structure by giving the left sidebar and right table of contents distinct IDs and matching selector names. - Improve page-title kind labeling, nested sidebar spacing, and footer behavior across desktop breakpoints. - Align the desktop search field and dropdown to the main content rail while preserving the existing mobile search modal behavior. ## Screenshots ### Before <img width="1181" height="713" alt="Screenshot 2026-06-24 at 15 55 34" src="https://github.com/user-attachments/assets/50f5aea8-b32d-4223-91a4-2ff0a6b3d0c7" /> --- <img width="785" height="409" alt="Screenshot 2026-06-24 at 15 56 45" src="https://github.com/user-attachments/assets/db1780a6-5de8-4123-9edc-7394629c05e3" /> ### After <img width="1182" height="761" alt="Screenshot 2026-06-24 at 15 56 06" src="https://github.com/user-attachments/assets/c238fb25-cdfc-489d-b870-8a86b31987a2" /> --- <img width="760" height="455" alt="Screenshot 2026-06-24 at 15 56 37" src="https://github.com/user-attachments/assets/2eccc444-60fb-4bb0-a731-02d28d70c65d" />
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )