Repository navigation
Refresh the docs homepage, code blocks, admonitions and screenshots - #78
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pcV34KcZ9UzUQGmj35oJJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pcV34KcZ9UzUQGmj35oJJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pcV34KcZ9UzUQGmj35oJJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pcV34KcZ9UzUQGmj35oJJ
|
@gams87 this looks great @fmercadop can you do a quick review and we can merge it |
|
@noel, @gams87, I went through the new homepage and the docs pages visually, in light and dark mode, on desktop and mobile, and I really like it. It's a big improvement over what we have today. Search comes first, and the role and topic cards make it much easier to find things. The new code blocks and admonitions look much cleaner, especially in dark mode. Nice work! I also asked Claude to help me review the code side. It built the site locally, checked that it merges cleanly with the latest
|
|
@gams87 can you make these updates? |
- Highlight dbt Jinja with a grammar of its own, so {# comments #} are
comments; prism-react-renderer never runs the markup-templating hooks
Prism's django grammar relies on.
- Add fence aliases (jinja, env, dotenv, kql), load kusto, drop the
bundled sql, and document code block languages in the README.
- Show the hero's shortcut as ⌘ K on Apple devices, hide it on phones.
- Open search by clicking the navbar button, falling back to Cmd/Ctrl+K.
- Tie the demo band's negative margin to the footer gap variable.
- Include Lucide's full license notices.
- Rename "Configure your repository" to match the page it opens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@noel @fmercadop thanks for the review! All seven points are addressed in 1be7362:
I checked the changes with Playwright against a local build (11 checks: shortcut label on Mac/Windows/mobile, the search modal and its fallback, band flush with the footer in both themes, the renamed link, and Jinja and Kusto tokens), and reviewed the screenshots. One thing outside this PR: every page logs React hydration error #418, on |
|
@gams87 can you create the other ticket and see if that can be fixed, the React hydration |
|
@fmercadop can you check this again, but manually e.g. running it locally to see that inkgs look good etc |
Summary
A proposal for a new docs homepage. The current one leads with the company mission and a sales banner, and its three cards use clipart icons in mixed styles. Most visitors come to search or to find a specific topic, so the new page puts that first:
Get startedandTutorialsbuttons.The old
HomepageFeaturesandCTAcomponents and their three SVGs are removed; nothing else used them.Code blocks
bashand 24sqlblocks rendered as plain text. They are now loaded throughadditionalLanguages, withdjangofor the dbt Jinja blocks (fenced asjinja2) andinifor the.envsnippets.jinjatojinja2,JSONtojson,envtoini).Admonitions and screenshots
note,tip,info,warning,caution) get a light tint, a colored left edge and a colored title, with the regular text color for the body. In dark mode this replaces Infima's flat gray note and heavy brown warning.About 235 blocks still declare no language and render as plain text; adding it is content cleanup for a follow-up.
Screenshots
Before
After (light)
After (dark)
After (mobile)
Code blocks
Admonitions (light and dark)
Screenshot in dark mode
Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_015pcV34KcZ9UzUQGmj35oJJ