selwynpolit / d9book

Drupal at your Fingertips: A developers quick reference for Drupal 9 and 10
https://selwynpolit.github.io/d9book/
Creative Commons Attribution 4.0 International
150 stars 103 forks source link

We need a page on how to contribute #98

Closed selwynpolit closed 2 months ago

selwynpolit commented 3 months ago

Turns out it isn't quite as easy to contribute to this project as I had hoped. From editing directly on github.com to setting the target branch on the pull request to gh-pages, or downloading a copy of the site, editing, committing, pushing and creating a pull request, I suspect it is a little challenging for folks...

It would be great to add a page. Perhaps someone could do a screencast or instructions or both.

maks-oleksyuk commented 2 months ago

I think we can start with this https://github.com/firstcontributions/first-contributions

selwynpolit commented 2 months ago

Thanks @maks-oleksyuk - I added https://selwynpolit.github.io/d9book/contributing so we have a start now. Maybe someone will contribute further.

maks-oleksyuk commented 2 months ago

I think it would be nice to have a default gh-pages branch, since this is the branch where the book is stored, and Github will suggest creating PRs in this branch by default

selwynpolit commented 2 months ago

Yeah, I started looking at that. Do you mean to set the default branch to gh-pages? I didn't see an option to do that under the branches listing. Suggestions?

maks-oleksyuk commented 2 months ago

@selwynpolit See Settings -> General -> Default branch in repo

selwynpolit commented 2 months ago

Got it. Thanks @maks-oleksyuk