5 Sep 2007

Wordpress is a wonderful blogging engine but did you know that it's also the perfect tool for writing and publishing software documentation? Well, it can be, with a couple of plugins, that is!

First off, take a look at the SWX documentation and notice how it's made up of several pages and each page is divided into topics that can each have comments attached to them.

Wordpress Pages normally contain only static content but the pages in the SWX documentation are a collection of posts, strung together by their post ids using a plugin I wrote called Inline Posts.

Wordpress Inline Posts Plugin

I'm a big fan of the PHP documentation and I find the comments there (e.g.) as useful as, if not more useful sometimes, than the original documentation content itself. So, when creating my own documentation system, I wanted to mirror the ability to add granular comments at the topic-level.

Also, using the Inline Posts plugin, it's very easy to create an automatic table of contents for a page, based on the titles of the posts that make up the page.

By using posts in this manner (as topics), you retain the granularity of your learning materials (and can re-use them in different ways). It also gives you the ability to re-order your topics by simply rearranging the order of the post ids.

When using posts as topics in documentation pages, you will most likely not want them also showing up on the front page of your blog. To stop them from doing so, put all those posts in a category (e.g., "Documentation"), and then exclude that category from your front page using the Ultimate Category Excluder plugin.

Wordpress Ultimate Category Excluder Plugin

Of course, once you've created your documentation, you will most likely want it to show up in Wordpress searches, which it won't do by default. Another plugin, Search Pages 2.0, lets you do just this.

I hope that this article has shown you that Wordpress can be a powerful tool for writing and publishing online documentation.

Check out the SWX documentation for an example of what's possible using Wordpress and the three plugins mentioned in this post.

Creative Commons LicenseThe Wordpress as a documentation tool article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

Add Your Comment

Spam Protection by WP-SpamFree

Wordpress as a documentation tool

  1. Very cool! I just relaunched our local PTA website on Wordpress after initially setting it up on Joomla. Everyone complained Joomla was too difficult to use. :)

    I will checkout your Inline Posts plugin – that looks useful!

    Jim Priest
  2. Some very cool add ons for Wordpress! Thanks for creating them!

    Bruce
  3. libby
  4. I would love to have a specific category “sermons” pop up on a specific page “sermons”. I am using Front Page Excluded Categories to keep them off the general news feed. Is Inline Posts savvy enough to do this fairly automated? If not… any ideas?
    Thanks!!!

    David Stembridge
  5. Very good information. Thanks Aral

    wiertnice
  6. I found your blog via Google while searching for business and ideas and your post regarding ss as a documentation tool at Aral Balkan looks very interesting to me. I just wanted to write to say that you have a great site and a wonderful resource for all to share.

    Business And Ideas
  7. Thanks for the info mate handy

    Vince
  8. Great post! I really appreciate when people put out quality content like this… it really helps me, and I know many others to understand more! Thanks.

    MrChews4Health