Document Code:
There are five levels of documentation:
- Documentation in the code base
- Before commenting in the code try to clarify the code with better naming and structuring.
- Use comments mainly to provide context to the reader of the code
- Ensure comments are easy to maintain
- Documentation in md-files
- Use md-files for documentation that needs to be reviewed by maintainers before it is changed, including
- How-To information
- Plans
- Procedures
- Governance documents
- Submit changes using a pull-request
- Use md-files for documentation that needs to be reviewed by maintainers before it is changed, including
- Documentation in the repository wiki
- Use the repository wiki for information that can be changed by all collaborators without review, including
- Tutorials
- Explanations
- Reference Information
- Make changes and commit directly to the wiki
- Use the repository wiki for information that can be changed by all collaborators without review, including
- Documentation in Google Docs-files
- Use the Google Docs for the collaborative development of documents (text equivalent of features branches), including
- Science Designs
- Architecture
- Strategy
- Make changes in line with the guidelines provided in the document
- Use the Google Docs for the collaborative development of documents (text equivalent of features branches), including
- Documentation in PDF-files
- Use the PDF-files for documentation that should no be changed (text equivalent of a release), including
- Science Designs
- Architecture
- Strategy
- Meeting notes
- Errors can be pointed out to the document maintainer, all other changes can only be made in the next version which is still open in Google Docs
- Use the PDF-files for documentation that should no be changed (text equivalent of a release), including