mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Now including the FAQ (but no images) in the reference.
This commit is contained in:
@ -8,6 +8,7 @@
|
|||||||
mkdir reference
|
mkdir reference
|
||||||
cd reference
|
cd reference
|
||||||
curl http://www.arduino.cc/en/Main/Howto -o howto.html
|
curl http://www.arduino.cc/en/Main/Howto -o howto.html
|
||||||
|
curl http://www.arduino.cc/en/Main/FAQ -o FAQ.html
|
||||||
curl http://www.arduino.cc/en/Reference/HomePage -o index.html
|
curl http://www.arduino.cc/en/Reference/HomePage -o index.html
|
||||||
curl http://www.arduino.cc/en/pub/skins/arduino/arduino.css -o arduino.css
|
curl http://www.arduino.cc/en/pub/skins/arduino/arduino.css -o arduino.css
|
||||||
for i in `grep -o "http://www.arduino.cc/en/Reference/[^']*" index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Reference/$i -o $i.html; done
|
for i in `grep -o "http://www.arduino.cc/en/Reference/[^']*" index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Reference/$i -o $i.html; done
|
||||||
@ -18,4 +19,4 @@ perl -i -pe "s|HomePage.html|index.html|g" *.html
|
|||||||
perl -i -pe "s|href=\"/\"|href=\"http://www.arduino.cc/\"|g" *.html
|
perl -i -pe "s|href=\"/\"|href=\"http://www.arduino.cc/\"|g" *.html
|
||||||
cd ..
|
cd ..
|
||||||
zip -r shared/reference.zip reference
|
zip -r shared/reference.zip reference
|
||||||
rm -rf reference
|
rm -rf reference
|
||||||
|
Reference in New Issue
Block a user