[to #41669377] docs and tools refinement and release

1. add build_doc linter script
2. add sphinx-docs support
3. add development doc and api doc
4. change version to 0.1.0 for the first internal release version

Link: https://code.aone.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8775307
This commit is contained in:
wenmeng.zwm
2022-05-20 16:51:34 +08:00
parent 3cbdcb1d3e
commit db4a8be9c5
34 changed files with 924 additions and 14 deletions

View File

@@ -0,0 +1,8 @@
pip install -r requirements/docs.txt
cd docs
rm -rf build
# update api rst
#rm -rf source/api/
#sphinx-apidoc --module-first -o source/api/ ../maas_lib/
make html

3
.dev_scripts/linter.sh Normal file
View File

@@ -0,0 +1,3 @@
yapf -r -i maas_lib/ configs/ tests/ setup.py
isort -rc maas_lib/ configs/ tests/ setup.py
flake8 maas_lib/ configs/ tests/ setup.py