-
Notifications
You must be signed in to change notification settings - Fork 147
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
feat: blog sidebar grouped by year #587
Conversation
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.
Looks great! 🎉
@@ -27,7 +27,9 @@ | |||
"lint": "npx tsc --noEmit && prettier . --check && npm run lint:eslint && npm run lint:markdown", | |||
"lint:fix": "prettier . --write && npm run lint:eslint --fix && npm run lint:markdown --fix", | |||
"pre-build": "npx tsx ./scripts/pre-build.ts", | |||
"prepare": "husky install" | |||
"prepare": "husky install", | |||
"heroku-cleanup": "npx patch-package", |
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.
For other reviewers, this is necessary to ensure the patches get applied correctly in the Heroku environment, which installs dependencies a bit differently.
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.
About Swizzling:
- There's a little document in https://github.com/electron/website/tree/main/src/theme/README.md that I've been keeping for historical/upgrade purposes in case a minor version bump of Docusaurus breaks the swizzle.
- Would it be possible to highlight which parts of the code are customized in the swizzle via code comment (unless it's the whole thing)?
This PR:
Update: Docusaurus PR.
Note: Do we need to update CircleCI configs for the new patches?Updated yarn script to build the patchDesktop Screenshot
Mobile Screenshot