For each project, dev team should have two kinds of documentation:
- documentation for project
- documentation for problem-solving which could share with team
This part should be done in README.md
of project root, the content should include:
- How to setup/config/build/test/deploy
- Brief architecture design
- Note for third-party service integration
- Troubleshooting
Here is a good example README.md from Reform Clothing, if the topic is too big you can create a docs
folder to include these doc files and refer it in README.md
If project has some technical problem-solving cases (or any investigation/knowledge/creation) which is worth sharing with the team, we should document it in this way:
- Create a wiki page under this project's gitlab
- For each kind of language/framework, we will have a knowledge collection page, attach this wiki page's URL in a corresponding collection page
- Example: we collect all wagtail/python cases in wagtail-standard wiki