mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-25 04:30:48 +01:00
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
29 lines
644 B
YAML
29 lines
644 B
YAML
version: 2
|
|
|
|
# Set the version of Python and other tools you might need
|
|
build:
|
|
os: ubuntu-20.04
|
|
tools:
|
|
python: "3.7"
|
|
# You can also specify other tool versions:
|
|
# nodejs: "16"
|
|
# rust: "1.55"
|
|
# golang: "1.17"
|
|
jobs:
|
|
post_checkout:
|
|
- echo "dummy"
|
|
|
|
# Build documentation in the docs/ directory with Sphinx
|
|
sphinx:
|
|
configuration: docs/source/conf.py
|
|
|
|
# If using Sphinx, optionally build your docs in additional formats such as PDF
|
|
# formats:
|
|
formats: all
|
|
|
|
python:
|
|
install:
|
|
- requirements: requirements/docs.txt
|
|
- requirements: requirements/readthedocs.txt
|
|
- requirements: requirements/runtime.txt
|