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 api.drupal.org, 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 api.drupal.org 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 api.drupal.org 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:

Post new comment

The content of this field is kept private and will not be shown publicly.
If you have a personal or company website insert its address in the form http://www.example.com/ .
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <small> <del> <img> <h2> <h3> <h4> <b> <video> <sub> <sup>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • You may insert videos with [video:URL]
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options