8000 Merge pull request #6400 from Neradoc/fix-rtd-with-frozen-modules · flummer/circuitpython@1dce806 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dce806

Browse files
authored
Merge pull request adafruit#6400 from Neradoc/fix-rtd-with-frozen-modules
Fetch the submodules in readthedocs with ci_fetch_deps.py
2 parents 85f8d43 + bb4c636 commit 1dce806

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.readthedocs.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,15 @@
99
version: 2
1010

1111
build:
12-
os: ubuntu-20.04
13-
tools:
14-
python: "3"
15-
16-
submodules:
17-
include:
18-
- extmod/ulab
19-
- frozen
12+
os: ubuntu-20.04
13+
tools:
14+
python: "3"
15+
jobs:
16+
post_install:
17+
- python tools/ci_fetch_deps.py docs HEAD
2018

2119
formats:
22-
- pdf
20+
- pdf
2321

2422
python:
2523
install:

tools/ci_fetch_deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def run(title, command):
6868
if target == "test":
6969
submodules = ["extmod/", "lib/", "tools/", "extmod/ulab", "lib/berkeley-db-1.xx"]
7070
elif target == "docs":
71-
# NOTE: must match .readthedocs.yml as this script is not run by readthedocs
71+
# used in .readthedocs.yml to generate RTD
7272
submodules = ["extmod/ulab/", "frozen/"]
7373
elif target == "mpy-cross-mac":
7474
submodules = ["tools/"] # for huffman

0 commit comments

Comments
 (0)
0