-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: docs landing page with a playground (#3667)
# Description This PR adds a landing page for the docs with a playground ## Problem\* Our first page was OK but could be improved (even had references to a "book", as the previous version was a rust book haha). One idea was to have a nice first page with an editable playground, so I hacked one in Istanbul and refined it a bit over the last few days. Plans are to update the whole design sometime soon, so I didn't put a lot of care into its design. ## Summary\* - Adds an `index.mdx` - Configures docusaurus to resolve webpack stuff - Imports the playground npm package - Moves some stuff out of docs/index page and formats it with prettier ## Additional Context Playground is lazy-loaded and triggers only when user clicks a CTA button. The reason is to avoid downloading quite some hefty wasm, which if done synchronously would add a lot of build time
- Loading branch information
1 parent
f03e581
commit 9a95fbe
Showing
15 changed files
with
1,580 additions
and
1,509 deletions.
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"printWidth": 120, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.