Repository navigation
feat: redesign doc-kit.nodejs.org #1192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+13,132
−2,261
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
33c10e7
docs: rewrite and restructure the documentation
ovflowd 3261124
feat(www): redesign doc-kit.nodejs.org
ovflowd a404412
fix(react): replay the press that hydrates an island
ovflowd 7a853ec
refactor(www): skip comments instead of stripping them when inlining …
ovflowd 0bdd6bb
refactor(react): keep the press events with the other UI constants
ovflowd 6835ddf
chore(www): make the site its own workspace package
ovflowd 4c571b6
chore(www): add the source of the social preview image
ovflowd b76d1bc
feat(www): make the benchmarks reproducible
ovflowd b7992df
docs: give every generator its own page again
ovflowd 42d666a
feat(www): write the home page in MDX on doc-kit's own code blocks
ovflowd 32fef69
docs: link to one place instead of repeating it
ovflowd 16c9eda
fix(react): scope the heading layout and mark the selected code tab
ovflowd 965c875
refactor(www): drop the workarounds doc-kit no longer needs
ovflowd cc27b62
feat(www): build the all page and take more from the configuration
ovflowd 81e70af
docs(react): shorten the comment on held presses
ovflowd a2ff6b2
refactor: move the benchmark to scripts/ and slim it down
ovflowd 22bce64
docs: make the diagrams self-contained and play them once
ovflowd ea0b9f9
feat(www): draw the home page's animations as SVGs
ovflowd 22c3b2c
refactor(www): keep the home page's main landmark on a div
ovflowd b968eab
feat(www): polish Kit's head
ovflowd 607ac4e
chore(www): format the social card's source
ovflowd 70fc4db
fix(www): bring back the site and search previews
ovflowd 0bf2a4e
docs: format the guides with oxfmt 0.74
ovflowd a713a85
fix(react): replay the press that starts an island loading
ovflowd caa2360
docs: measure the benchmarks again now that #1179 has landed
ovflowd 66d05c4
test: add versioned pageURL tests for canonical function
bmuenzenmeyer e487647
fix(react): link the release line and the index's directory as canonical
ovflowd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(www): write the home page in MDX on doc-kit's own code blocks
The home page's words and code samples now live in `www/pages/index.mdx` instead of a JSX component, so they're edited like any other page. Its code samples are fenced blocks, highlighted by doc-kit and shown in its own code boxes and tabs, with their copy buttons, which replaces the theme's own highlighter, copy button, code box, install tabs and output tabs. What MDX can't express stays in thin components: the two canvas animations, the sections' layout, and the hand-drawn previews and card art. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
- Loading branch information
commit 42d666a2115f3832757eb998cb401981ee482a96
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.