Download Drupal 6 developer docs using CVS

Submitted by fabio on Wed, 2010-10-13 09:05.

If you are a Drupal developer, you surely know, the website which provides you access to Drupal's API documentation. Each documentation page is open to user comments so you also can get a lot of insight from other developers comments.

Unfortunately, being a remote website, it could be impossible to access it in some situations: if you are on a plane, a train or simply if you can't use the Internet.

You probably don't know that the API documentation is also available on drupal CVS repository so you can simply download that using cvs.

If you have CVS installed on you system and it's available on your path, here is how you can do that:

cvs -z6 -d:pserver:anonymous:anonymous [at] cvs [dot] drupal [dot] org:/cvs/drupal-contrib checkout -r DRUPAL-6--1 -d docs  contributions/docs

The above will create a docs directory in your current working directory containing all the Drupal 6 API documentation.

Of course, you won't be able to access user comments to but having the documentation as simple file on your workstation will surely be helpful!

Problems? Other solutions? Ideas? Feel free to leave a comment below!

Posted in: