Skip to content

Commit da1ef95

Browse files
author
Xing Han Lu
committed
Fix Markdown for CONTRIBUTING.md
1 parent abb8255 commit da1ef95

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,35 @@ To publish or create a prerelease:
3030
2. Bump version numbers in `package.json`, update the `CHANGELOG.md`, and make a pull request
3131
3. Once the pull request is merged into master:
3232
4. Build
33-
```npm run build:all```
33+
```
34+
npm run build:all
35+
```
3436
5. Create distribution tarball
35-
```python setup.py sdist```
37+
```
38+
python setup.py sdist
39+
```
3640
6. Copy the tarball into a separate folder and try to install it and run the examples:
37-
```cp dist/dash-cytoscape-0.0.1.tar.gz ../temp
41+
```
42+
cp dist/dash-cytoscape-0.0.1.tar.gz ../temp
3843
cp usage.py ../temp
3944
cd ../temp
4045
source venv/bin/activate
4146
pip install dash-cytoscape-0.0.1.tar.gz
4247
python usage.py
4348
```
4449
7. If the examples work, then publish:
45-
```npm publish
50+
```
51+
npm publish
4652
twine upload dist/dash-cytoscape-0.0.1.tar.gz
4753
```
4854
8. Tag your release with git:
49-
```git tag -a 'v0.0.1' -m 'v0.0.1'
55+
```
56+
git tag -a 'v0.0.1' -m 'v0.0.1'
5057
git push origin master --follow-tags
5158
```
5259
9. Verify that the publish worked by installing it:
53-
```cd ../temp
60+
```
61+
cd ../temp
5462
pip install dash-cytoscape==0.0.1
5563
python usage.py
5664
```

0 commit comments

Comments
 (0)