Skip to content

Commit c289c2d

Browse files
committed
Docs: Add instructions for uploading PDF cheatsheet
1 parent 0cf66ad commit c289c2d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/other/upload_future_docs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ On the local machine
44
git checkout v0.7.0
55
rm -Rf docs/build/
66
cd docs; make html
7+
cp cheatsheet.pdf /shared/
78
cd build
89
touch /shared/python-future-html-docs.zip
910
rm /shared/python-future-html-docs.zip
1011
zip -r /shared/python-future-html-docs.zip *
1112

1213
cd /shared
1314
scp python-future-html-docs.zip python-future.org:
15+
scp cheatsheet.pdf python-future.org:
1416
ssh python-future.org
1517

1618

@@ -20,4 +22,6 @@ On the remote machine:
2022
cd /var/www/python-future/
2123
unzip -o ~/python-future-html-docs.zip
2224
chmod a+r * html/* html/_static/*
25+
cp ~/cheatsheet.pdf ./html/compatible-idioms.pdf
26+
cp ~/cheatsheet.pdf ./html/cheatsheet.pdf
2327

0 commit comments

Comments
 (0)