Documentation on the Road

My 3 year old daughter started a new school this year that has fairly rigid drop off times. This has forced me to set an alarm at night and become more regimented in our morning routines, to make sure that we get to school on time. A nice side effect of this is that I’m getting out of the house early enough to take the train or express bus to work. Both the bus and the train have wireless available. Unfortunately, because of spotty cell coverage on the routes and 50 people trying to use a pipe feels the size of a 56k modem, network access is not something that can be counted on.

This week while traveling to work I decided to look into Google’s Guava library. Unfortunately, all the documentation is online and it can take minutes to load a new page link. I tried several different ways to download the wiki documentation using wget which is a command line tool for downloading webpages.

One of the biggest challenges was getting relative links to work. Here is the command with required options to download Guava’s wiki documentation.

wget -k 
  -E -l 3

The same command should work for any other Google Code projects. Just change the URL.

Leave a Reply

Your email address will not be published. Required fields are marked *