Skip to content

Update GitHub documentation #447

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

Merged
merged 35 commits into from
Jun 24, 2024
Merged

Conversation

samglover
Copy link
Contributor

@samglover samglover commented Jun 21, 2024

This is a PR for updates related to the LIT Lab's 2024 summer cohort. In the course of that work it became clear we needed to update the GitHub instructions to help student teams work together. This update primarily addresses that, along with some additional minor changes.

Some notes:

  • I removed a whole lot of stuff from the GitHub page and reorganized it around workflow, how-tos, best practices, and troubleshooting. I know how it can feel to get edited this extensively, and I hope @plocket, who wrote most or all of the existing page, will forgive me.
  • A lot of what I removed (as opposed to reorganized and revised) was (1) duplicative of GitHub or Docassemble documentation, so I replaced it with links, and (2) related to managing files, packages, and projects in the Docassemble playground but not necessarily related to GitHub (and a lot of this can also be found in the Docassemble docs).
  • I resolved the broken links and anchors related to my changes. I did not resolve broken anchors related to the ALKiln pages since as far as I know they are still a work in progress.
  • I will continue working on this branch after this PR is merged. There's lots more to do but I felt this was worth pushing out now.

@samglover
Copy link
Contributor Author

@nonprofittechy I made a few updates in order to include information about uploading a package, and that led me to add some further notes on naming packages before publishing to GitHub (addressing #434). Which then made me realize the name formats page was not showing up anywhere in the sidebar, so I fixed that, too.

Copy link
Collaborator

@plocket plocket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries! It was a group effort and a lot of fun. The audience was very different and some external documentation didn't exist, or was insufficient in our opinion, when we first created this, so there is plenty that's redundant. Anyway, documentation gets outdated.

I love the work here, though I miss some of the pictures. It's wonderfully concise and to-the-point. I like leaving the docs up to the people who make the software (where possible, of course). I made some suggestions, but you can take them or leave them. A couple are just plain language tweaks, and I later decided this probably isn't the PR for deep plain language revisions and I'm not the expert anyway. There are some typo fixes too.

I think it's basically ready for prime time. I'll approve and if you want me to read updates just let me know 👍


One convention for branch names: They're to remind you and your collaborators basically what it's for at a glance, so one to three words separated by underscores is usually a good guideline. Example: income_questions or income_calculations.
Refer to the [GitHub documentation for how to create a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section doesn't add information. Instead of having a section here, the docs could just link straight to the github docs:

"Such and such, make a pull request, and..."

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That said, we have stuff in "reviewing a pull request" that the requester should have done, like giving suggestions on what to test and linking issues, that aren't in this section or in the GitHub documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but I also think it makes sense to see this in the sidebar:

How To

  • Commit Your Code
  • Create a Pull Request
  • Resolve Conflicts
  • Review Pull Requests

And the section on reviewing pull requests is for reviewers, not for creating it in the first place. So I think I'm going to leave it for now, but I will keep it in mind for future updates.

I'm sure the next cohort of interview builders will run into different problems that I can use as prompts for future updates.

@samglover samglover merged commit 30f8d80 into main Jun 24, 2024
2 checks passed
@samglover samglover deleted the onboarding_updates_RE_2024_summer_cohort branch June 27, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants