EasyCV/.readthedocs.yaml
wenmeng zhou 81b91086eb
feat: readthedocs support & tutorial docs refinement (#29)
* readthedocs build support

* change opencv version from 4.4.0.40 to 4.1.2.30

* update config file path with github url

* fix: clone AutoAugmentPolicy from torchvision error

* reorganize requirements file

* add model compression tutorial and cls modelzoo to readme.md

* add optional req
2022-04-26 10:38:58 +08:00

29 lines
738 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:
- cat requirements/runtime.txt | grep -v opencv-python-headless > a.txt && mv a.txt requirements/runtime.txt
# 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