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
Feedback for blogpost on READMEs #3
Conversation
If someone is running into problems setting up your project, chances are they have unstaged changes, broken dependencies, or happened to pull the latest changes that contain severe bugs. This is the paragraph you need to make sure to narrow down if it's an issue with the codebase or the persons machine. | ||
|
||
Make sure to warn them about commands like `git clean -xfd` or `git checkout -f master` though - these will remove all untracked files, even those ignored through `.gitignore`, and undo all changes they did to tracked files - possibly resulting in data loss. | ||
|
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.
I have good experience with kind of a Q/A format under Troubleshooting. Because that's how it usually works when a new employee runs into troubles with the setup of a project. S/he is asking for help and (should) get appropriate answers. It also gives a more personal touch to a project when you see people interacting. So my tip would be to express issues as questions and solutions as answers. That is also a format which is easy to perpetuate over time or changing team-mates/maintainers.
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.
Very good point, I'll add that, thanks!
Very good post @rradczewski! We're following a similar README approach in our company and created a In days of APIs and micro services, we also decided to add an "Interaction" section which describes how this project is related to, integrated in or communicating with other systems/projects. If it is an HTTP web-service for instance, we would describe its public API in that section like this: APIRequestPOST: /api/v1/test Parameters
ResponsesSuccessful{
"result": "success",
"message": "OK"
} Failed{
"result": "error",
"message": "Something went wrong"
} |
One additional thought about keeping the |
Thanks for the exhaustive feedback @hollodotme! Totally missed the Q&A section, will add that and give credits 👍 As for the API documentation: I've seen library/service projects adapt a specific I'd rather leave that point out though as I aim for sharing my general recommendations for READMEs and not go too much into detail in specific project types 👍 |
No description provided.