Added Documentation homepage#982
Conversation
|
Thank you for your contribution, @VictorPuga ! Before we can consider merging a change like this, we'd need to discuss it in the Swift forums first. Could you create a forum post, like this one, that outlines:
This will help us evaluate whether this aligns with DocC's goals and ensure we've thought through the implications before committing to support it. Looking forward to the discussion! |
|
I have not yet experimented with merged documentation archives, so I will attempt to do so to provide a more detailed response to your questions. I will create the thread in the forums shortly. |
|
Please refer to the forums thread: https://forums.swift.org/t/documentation-homepage/83704 |
|
@marinaaisa it seems like the conversation on the thread has gone stale. What would you suggest for us to get a decision on this proposal? |
Summary
What this change addresses / expected UX
Adds a home (/ ) experience inspired by https://developer.apple.com/documentation: a centered hero plus two card grids for top-level documentation and tutorials. Users now land on a concise, styled index that matches the sidebar’s top-level navigation (only roots, with proper icons), hides empty sections, and adapts to light/dark themes.
Before
After
Implementation overview
Inspiration explicitly taken from https://developer.apple.com/documentation ’s documentation landing layout.
Dependencies
None
Testing
Steps:
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
npm test, and it succeeded