File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 42
42
- pip install -U pip awscli py-tree --user
43
43
- python -m awscli s3 sync --no-sign-request s3://sphinx-packages/ dist/ ; ls -lh dist/
44
44
- >
45
- pip install -e . -q -r _notebooks/.actions/requires.txt \
45
+ pip install -e ".[app]" -q -r _notebooks/.actions/requires.txt \
46
+ -r requirements/app/docs.txt \
46
47
-r requirements/fabric/docs.txt \
47
48
-r requirements/pytorch/docs.txt \
48
49
-f 'https://download.pytorch.org/whl/cpu/torch_stable.html' -f dist/ ;
Original file line number Diff line number Diff line change 9
9
</ style >
10
10
</ head >
11
11
< body >
12
+ < a href ="app/ "> < button > App</ button > </ a >
12
13
< a href ="fabric/ "> < button > Fabric</ button > </ a >
13
14
< a href ="pytorch/ "> < button > PyTorch</ button > </ a >
14
15
</ body >
Original file line number Diff line number Diff line change 1
1
# building for PRs and skip stable and latest states
2
+ set -ex
2
3
3
4
if ! [ $READTHEDOCS_VERSION == " latest" -o $READTHEDOCS_VERSION == " stable" ];
4
5
then
5
6
export FAST_DOCS_DEV=1 ;
6
7
root=$( pwd) ;
7
- # build Fabric
8
- cd $root /docs/source-fabric ;
9
- make html --jobs $( nproc) ;
10
- cd $root /docs ;
11
- mv build/html build/fabric ;
12
- # build PyTorch
13
- cd $root /docs/source-pytorch ;
14
- make html --jobs $( nproc) ;
15
- cd $root /docs ;
16
- mv build/html build/pytorch ;
8
+ for pkg in ' app' ' fabric' ' pytorch' ;
9
+ do
10
+ cd $root /docs/source-$pkg ;
11
+ make html --jobs $( nproc) ;
12
+ cd $root /docs ;
13
+ mv build/html build/$pkg ;
14
+ done ;
17
15
# cross-road
18
16
rm -rf build/doctrees ;
19
17
cp crossroad.html build/index.html
You can’t perform that action at this time.
0 commit comments