Merge pull request #6400 from Neradoc/fix-rtd-with-frozen-modules
Fetch the submodules in readthedocs with ci_fetch_deps.py
This commit is contained in:
commit
1dce806f77
@ -9,17 +9,15 @@
|
||||
version: 2
|
||||
|
||||
build:
|
||||
os: ubuntu-20.04
|
||||
tools:
|
||||
python: "3"
|
||||
|
||||
submodules:
|
||||
include:
|
||||
- extmod/ulab
|
||||
- frozen
|
||||
os: ubuntu-20.04
|
||||
tools:
|
||||
python: "3"
|
||||
jobs:
|
||||
post_install:
|
||||
- python tools/ci_fetch_deps.py docs HEAD
|
||||
|
||||
formats:
|
||||
- pdf
|
||||
- pdf
|
||||
|
||||
python:
|
||||
install:
|
||||
|
@ -68,7 +68,7 @@ submodules = []
|
||||
if target == "test":
|
||||
submodules = ["extmod/", "lib/", "tools/", "extmod/ulab", "lib/berkeley-db-1.xx"]
|
||||
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/"]
|
||||
elif target == "mpy-cross-mac":
|
||||
submodules = ["tools/"] # for huffman
|
||||
|
Loading…
Reference in New Issue
Block a user