You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/readme-file-best-practices.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,13 @@ install your package.
5
5
6
6
The README.md file is the landing page of:
7
7
8
-
* Your file on package manager landing pages like PyPI and Anaconda
8
+
* Your package's landing page on a repository site such as PyPI or Anaconda
9
9
* Your package's GitHub repository
10
10
11
-
It is also used to measure:
12
-
* community health by github
13
-
* and included in package health landing pages such as snyk
11
+
Your README.md file is also used as a measure of package and community
12
+
health on sites such as:
13
+
*[GitHub community health (available for all repositories - this link demonstrates movingpandas)](https://github.com/anitagraser/movingpandas/community), and
@@ -40,9 +41,9 @@ Your README file should have the following information:
40
41
- [ ] Badges for the packages current published version, documentation and test suite build. (OPTIONAL: test coverage)
41
42
- [ ] Easy-to-understand explanation (2-4 sentences) of what your tool does
42
43
- [ ] Context for how the tool fits into the broader ecosystem
43
-
- [ ] If it's your package is a wrapper, link to the package that it is wrapping and any associated documentation. (If you do'nt know what a wrapper is - this probably doesn't apply to you!)
44
-
- [ ] A simple quickstart code example that a user can follow to provide a demonstration of what the package can do for them
45
-
- [ ] Links to your package documentation / website.
44
+
- [ ] If your package "wraps" around another package, link to the package that it is wrapping and any associated documentation. *(HINT: If you don't know what a wrapper is, this probably doesn't apply to you!)*
45
+
- [ ] A simple quick-start code example that a user can follow to provide a demonstration of what the package can do for them
46
+
- [ ] Links to your packages documentation / website.
46
47
- [ ] A few descriptive links to any tutorials you've created for your package.
47
48
```
48
49
````
@@ -122,33 +123,41 @@ your README file.
122
123
123
124
This description ideally includes a quick start vignette that provides a code sample demonstrating use of your package.
124
125
125
-
### ✔️ Descriptive links to package documentation, tutorials or vignettes.
126
+
### ✔️ Descriptive links to package documentation, short tutorials
126
127
127
128
Include descriptive links to:
128
129
129
130
* The package's documentation page.
130
-
*Tutorials or vignettes that demonstrate application of your package.
131
+
*Short tutorials that demonstrate application of your package.
131
132
132
133
```{tip}
133
-
### TOO MUCH OF A GOOD thing
134
+
### Too Much Of A Good Thing
134
135
135
-
Try to avoid including several tutorials in the readme file itself. This too will overwhelm the user with information.
136
+
Try to avoid including several tutorials in the README.md file itself. This too will overwhelm the user with information.
136
137
137
-
A short quick-start vignette that shows a user how to use your package is plenty for the README file. All other tutorials and documentation should be presented as descriptive links.
138
+
A short quick-start tutorial that shows a user how to use your package
139
+
is plenty of content for the README file. All other tutorials and
140
+
documentation
141
+
should be presented as descriptive links.
138
142
```
139
143
140
144
### ✔️ A Community Section with Links to Contributing Guide, Code of Conduct
141
-
In your readme file direct users to more information on:
142
-
* contributing to your package
143
-
* development setup for more advanced technical contributors
144
-
* your code of conduct.
145
145
146
-
All of the above files are important for building community around your project.
146
+
Use your README.md file to direct users to more information on:
147
+
148
+
* Contributing to your package
149
+
* Development setup for more advanced technical contributors
150
+
* Your code of conduct
151
+
* Licensing information
152
+
153
+
All of the above files are important for building community around your
154
+
project.
147
155
148
156
### ✔️ Citation information
149
157
150
158
Finally be sure to include instructions on how to cite your package.
151
-
159
+
Citation should include the DOI that you want used when citing your package,
160
+
and any language that you'd like to see associated with the citation.
0 commit comments