-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: draft of new typescript-eslint website #3147
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
Conversation
Conflicts: yarn.lock
Okay - I've thought about this some more and I think we should just treat the GH repo as code. I.e. rip them out of the individual packages. This is what other OSS projects do, so I don't know why we should be any different! Links on the NPM package pages are broken anyways because NPM doesn't respect its own Doing this will mean we no longer have to do any dodgy stuff to make these website frameworks work. |
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="266.667" height="266.667" viewBox="0 0 200 200"> | ||
<rect fill="#fff" width="199" height="199" /> | ||
<path d="M0 100v100h200V0H0zm164.5-6.092c5.815 2.224 11.628 9.183 13.5 11.492-1.518 1.358-11.225 8.685-12.634 9.766-.724-.499-2.433-1.932-4.666-3.666-3.128-2.428-4.3-3.5-7.5-3.5-7.6 0-11.8 6.8-7.8 12.6.8 1.1 7.5 5 14.9 8.7 19.1 9.4 23.7 15.1 23.7 29.3-.1 10.3-5.3 17.9-15.5 22.6-3.66 1.318-6.7 2.3-15 2.2-11.7 0-20.1-3.4-25.3-7.9-4.805-4.667-7.62-10.04-8.1-10.9.789-.507 3.6-2.2 7.4-4.4l6.98-4.158 3.32 3.858c8.6 10.4 27.2 9 27.2-2 0-4.7-4.1-8.3-13.8-12.3-3.7-1.5-9.1-4.2-12-5.9-19-11.3-18.5-36.9.8-45.6 5.7-2.6 16.585-3.673 24.5-.192zM115 101v8H89v74H71v-74H44c-.174-5.462 0-9.941.006-16.118L115 93z" fill="#443fd4"/> | ||
</svg> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: this and logo.svg
are the same; can they be deduplicated?
website/docusaurus.config.js
Outdated
position: 'left', | ||
}, | ||
{ | ||
to: 'repl', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: can we call this /play
to match up with typescriptlang.org/play?
REPL to me implies Eval and Print in the CLI sense.
website/docusaurus.config.js
Outdated
to: 'repl', | ||
activeBasePath: 'repl', | ||
position: 'right', | ||
label: 'Playground', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This playground is excellent and will make issues much easier to reproduce!... but just spitballing: since this PR has been sitting for a while, maybe we should get in the base docs in first, and tackle the playground as a followup?
Codecov Report
@@ Coverage Diff @@
## master #3147 +/- ##
==========================================
- Coverage 93.11% 92.91% -0.20%
==========================================
Files 174 316 +142
Lines 9619 10818 +1199
Branches 3004 3059 +55
==========================================
+ Hits 8957 10052 +1095
- Misses 248 342 +94
- Partials 414 424 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
"workspaces": { | ||
"packages": [ | ||
"packages/*", | ||
"website" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, why not put website/
in packages/
also?
There is a lot of stuff that still has to be done, but this draft is in sufficient enough state that feedback is welcome.
preview of current version can be seen at https://typescript-eslint-armano.netlify.app/
REPL/Playground is now available: link
TODO:
suppressed by #4108