Fetch the submodules in readthedocs with ci_fetch_deps.py

This commit is contained in:
Neradoc 2022-05-14 16:46:09 +02:00
parent 85f8d43fc0
commit bb4c63699a
2 changed files with 8 additions and 10 deletions

View File

@ -9,17 +9,15 @@
version: 2 version: 2
build: build:
os: ubuntu-20.04 os: ubuntu-20.04
tools: tools:
python: "3" python: "3"
jobs:
submodules: post_install:
include: - python tools/ci_fetch_deps.py docs HEAD
- extmod/ulab
- frozen
formats: formats:
- pdf - pdf
python: python:
install: install:

View File

@ -68,7 +68,7 @@ submodules = []
if target == "test": if target == "test":
submodules = ["extmod/", "lib/", "tools/", "extmod/ulab", "lib/berkeley-db-1.xx"] submodules = ["extmod/", "lib/", "tools/", "extmod/ulab", "lib/berkeley-db-1.xx"]
elif target == "docs": elif target == "docs":
# NOTE: must match .readthedocs.yml as this script is not run by readthedocs # used in .readthedocs.yml to generate RTD
submodules = ["extmod/ulab/", "frozen/"] submodules = ["extmod/ulab/", "frozen/"]
elif target == "mpy-cross-mac": elif target == "mpy-cross-mac":
submodules = ["tools/"] # for huffman submodules = ["tools/"] # for huffman