-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Devhints 2.0 migration plan #996
Comments
I discovered this project today, how exciting! |
I just had this idea: Wouldn't it be cool if there was something like wikis but for github, everyone has write access but you can add/remove permissions to certain files. |
@Kreijstal That sounds interesting, and less of a hassle to wait for PRs to be reviewed. Perhaps one could implement an automated system wherein once you've had a few PRs accepted, the individual is automatically granted the permissions of a reviewer. |
I'd love Devhints integration with |
If it is posible, get #321 solved would be great! |
Is this still happening? Any way I can help? |
Referencing: #1294 |
Referencing: RXT067#2 (Github doesn't allow this without set up authentification -> can't make a merge request) EDIT: Why stalebot? Rather implement a better project management to handle all the issues |
Referencing: #1295 seems to be pretty fast on my end EDIT: did you file this in jekyll? |
(I'm still writing this document - more info to follow!)
New Devhints is coming <3
Over the next few weeks/months, Devhints will be transitioned from it's aging Jekyll setup to a more modern stack built with Gatsby and Node.js.
What are we trying to solve?
😢 Jekyll is slow.
Devhints today uses Jekyll to generate the website, since it's the default (and only) generator for GitHub Pages. However, it's been long since Devhints has outgrown Jekyll. It takes a long time to start a development server due to the sheer amount of files to be processed. Changing files are quite slow, too, due to the same reason.
😲 The Git repository is very messy.
The Git repository now hosts the cheatsheets themselves, along with the Jekyll theme, and all the other build artifacts like
vendor.js.map
. This makes it very hard to navigate, andgit grep
ing around is very messy.Changes: Cleaner repos!
The main repo,
cheatsheets
, will host nothing but Markdown files for the cheatsheets themselves. The supporting files are now in devhints-engine.sheets/
and not/
.Changes: Cleaner code!
Sheets will now be formatted through prettier.
This should get us some consistent formatting of Markdown files.
CSS classes will now be using rehype-decorate instead of Kramdown. This will make Devhints's Markdown files be written in a standard [Common Mark] format, without any backward-incompatible syntax constructed.
New code
rstacruz/devhints-engine
This is the "engine" that powers the website, written in Gatsby. The sheets are still going to be stored and maintained in
cheatsheets
, but all the JavaScript and CSS that builds the website will be in devhints-engine. This repo is publically-accessible right now, do check it out.rstacruz/cheatsheets-ng
For now, this is a fork of
cheatsheets
with the content updated with the new format. It's private right now (so no one stumbles upon it by mistake), and I update it manually ascheatsheet
is updated. When we launch 2.0, I'll push the contents ofcheatsheets-ng
intocheatsheets
:)Migration plan
Beyond 2.0
Maintenance plans
(...welcome new maintainers)
(...implement stalebot)
The text was updated successfully, but these errors were encountered: