add first cut at docs

This commit is contained in:
geeksville
2020-04-28 14:51:39 -07:00
parent 981c65033a
commit bbbd33e292
11 changed files with 2938 additions and 236 deletions

2
bin/regen-docs.sh Executable file
View File

@@ -0,0 +1,2 @@
rm -rf doc
pdoc3 --html --output-dir doc meshtastic

10
bin/test-release.sh Executable file
View File

@@ -0,0 +1,10 @@
rm dist/*
set -e
bin/regen-docs.sh
pandoc --from=markdown --to=rst --output=README README.md
python3 setup.py sdist bdist_wheel
python3 -m twine check dist/*
# test the upload
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
echo "view the upload at https://test.pypi.org/ it it looks good upload for real"

7
bin/upload-release.sh Executable file
View File

@@ -0,0 +1,7 @@
rm dist/*
set -e
bin/regen-docs.sh
pandoc --from=markdown --to=rst --output=README README.md
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*