Skip to content

Commit 4f53ea6

Browse files
committed
Updating fetch.sh and reference to include the EEPROM library documentation.
1 parent 794d032 commit 4f53ea6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: build/fetch.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ cd reference
1111
curl http://www.arduino.cc/en/Guide/HomePage -o Guide_index.html
1212
curl http://www.arduino.cc/en/Main/FAQ -o FAQ.html
1313
curl http://arduino.cc/en/Main/Environment -o environment.html
14-
curl http://www.arduino.cc/en/Reference/HomePage$REVISION -o index.html
14+
curl http://www.arduino.cc/en/Reference/HomePage -o index.html
1515
curl http://www.arduino.cc/en/Reference/SoftwareSerial -o SoftwareSerial.html
16+
curl http://www.arduino.cc/en/Reference/EEPROM -o EEPROM.html
1617
curl http://www.arduino.cc/en/pub/skins/arduino/arduino.css -o arduino.css
1718
for i in `grep -o "http://www.arduino.cc/en/Guide/[^']*" Guide_index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Guide/$i -o Guide_$i.html; done
1819
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
1920
for i in `grep -o "http://www.arduino.cc/en/Serial/[^']*" index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Serial/$i -o Serial_$i.html; done
2021
for i in `grep -o "http://www.arduino.cc/en/Reference/SoftwareSerial[^']*" SoftwareSerial.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Reference/$i -o $i.html; done
22+
for i in `grep -o "http://www.arduino.cc/en/Reference/EEPROM[^']*" EEPROM.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Reference/$i -o $i.html; done
2123
perl -i -pe "s|http://www.arduino.cc/en/Reference/[^?\"']*\?[^'\"]*|#|g" *.html # replace links to unknown pages with links to '#'
2224
perl -i -pe "s|http://www.arduino.cc/en/Guide/([^']*)|Guide_\1.html|g" *.html # replace links to remote guide with links to local guide
2325
perl -i -pe "s|http://www.arduino.cc/en/Reference/([^']*)|\1.html|g" *.html # replace links to remote reference with links to local reference

Diff for: build/shared/reference.zip

12 KB
Binary file not shown.

0 commit comments

Comments
 (0)