8000 Fetch the submodules in readthedocs with ci_fetch_deps.py by Neradoc · Pull Request #6400 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Fetch the submodules in readthedocs with ci_fetch_deps.py #6400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tools/ci_fetch_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run(title, command):
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
Expand Down
0