mirror of
https://github.com/modelscope/modelscope.git
synced 2026-09-01 19:49:03 +02:00
[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:
8
.dev_scripts/build_docs.sh
Normal file
8
.dev_scripts/build_docs.sh
Normal 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
3
.dev_scripts/linter.sh
Normal 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
|
||||
Reference in New Issue
Block a user