Skip to content

Commit 39281f1

Browse files
committed
Add content on documentation
1 parent 0f099dd commit 39281f1

1 file changed

Lines changed: 28 additions & 4 deletions

File tree

src/documentation.qmd

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
1+
# Documentation
2+
13
## Documentation
24

3-
- README
4-
- User Docs
5-
- Dev Docs
6-
- Comments?
5+
- Not all information can be conveyed in code
6+
- We need to tell other people how to use our projects
7+
- And sometimes ourselves!
8+
- Documentation covers anything outside of the code/metadata
9+
10+
## README
11+
12+
- Markdown file at the project root
13+
- Should contain:
14+
- Description of project
15+
- Dependencies
16+
- Instructions on building/running
17+
18+
## Comments
19+
20+
- Comments in code are also another form of documentation
21+
- Comments should:
22+
- Explain *why* the code is doing something
23+
- Give context that is external to the scope
24+
25+
## Generating Docs
26+
27+
- Use tools that generate docs from source code
28+
- Single source of truth
29+
- Comments/Docstrings embedded in code
30+
- Reduce separation between code and docs

0 commit comments

Comments
 (0)