<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JoshuaScotton.com &#187; Tutorial</title>
	<atom:link href="http://www.joshuascotton.com/main/archives/tag/tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.joshuascotton.com/main</link>
	<description>It's all relative ...</description>
	<lastBuildDate>Sat, 24 Dec 2011 23:01:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Creating Documentation from Python Source Files with Doxygen and doxypy</title>
		<link>http://www.joshuascotton.com/main/archives/64</link>
		<comments>http://www.joshuascotton.com/main/archives/64#comments</comments>
		<pubDate>Mon, 04 Feb 2008 14:01:48 +0000</pubDate>
		<dc:creator>Joshua Scotton</dc:creator>
				<category><![CDATA[IT and Linux]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Doxygen]]></category>
		<category><![CDATA[Entertainer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.joshuascotton.com/main/archives/64</guid>
		<description><![CDATA[I was recently generating some documentation from the Entertainer source code and decided to share how I managed to do it. I&#8217;m assuming python 2.4 is installed on your system. First install doxygen and graphviz sudo apt-get install doxygen graphviz Download the latest version of doxypy from http://code.foosel.org/doxypy and extract to a suitable location. I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.joshuascotton.com/main/wp-content/uploads/2008/02/doxygen.png" alt="doxygen.png" /></p>
<p>I was recently generating some documentation from the Entertainer source code and decided to share how I managed to do it.</p>
<p>I&#8217;m assuming python 2.4 is installed on your system.</p>
<p>First install doxygen and graphviz</p>
<p><span id="more-64"></span></p>
<p><code>sudo apt-get install doxygen graphviz</code></p>
<p>Download the latest version of doxypy from http://code.foosel.org/doxypy and extract to a suitable location.</p>
<p>I used <a href="http://code.foosel.org/files/doxypy-0.3rc2.tar.gz" class="urlextern" title="http://code.foosel.org/files/doxypy-0.3rc2.tar.gz" rel="nofollow">doxypy-0.3rc2.tar.gz</a></p>
<p>Now we need to generate a configuration file, to do this run the following from your project root folder</p>
<p><code>doxygen -g config.dox</code></p>
<p>Edit the file and set the following tags:</p>
<p><code>PROJECT_NAME           = #Your Project Name would go here<br />
PROJECT_NUMBER         = #Your version/revision number goes here<br />
OUTPUT_DIRECTORY       = #Where you want the documentation going<br />
FILE_PATTERNS = *.py<br />
RECURSIVE = YES<br />
INPUT_FILTER           = "python /path/to/doxypy.py" #set this to where you extracted doxypy<br />
FILTER_SOURCE_FILES    = YES<br />
INPUT                  = #where the source files are</code></p>
<p>If you want graphs also edit the following:</p>
<p><code>HIDE_UNDOC_RELATIONS   = NO<br />
HAVE_DOT               = YES<br />
CALL_GRAPH             = YES<br />
CALLER_GRAPH           = YES</code></p>
<p>Run the following:</p>
<p><code>whereis dot</code><br />
and enter the output into the following config tag:<br />
<code></code></p>
<p><code>DOT_PATH               = /usr/bin/dot</code></p>
<p>Next ones are optional:</p>
<p><code>MULTILINE_CPP_IS_BRIEF = YES<br />
DETAILS_AT_TOP         = YES<br />
EXTRACT_ALL            = YES<br />
EXTRACT_STATIC         = YES<br />
SHOW_DIRECTORIES       = YES<br />
SOURCE_BROWSER         = YES<br />
ALPHABETICAL_INDEX     = YES<br />
COLS_IN_ALPHA_INDEX    = 8<br />
TOC_EXPAND             = YES<br />
DISABLE_INDEX          = YES<br />
GENERATE_TREEVIEW      = YES<br />
GENERATE_LATEX         =YES<br />
</code><br />
All set up now&#8230;</p>
<p>All we need to do now whenever you want to generate/regenerate the documentation is to run the following from the project root folder:</p>
<p><code>doxygen config.dox</code></p>
<p>Thanks to <a href="http://internetducttape.com">internetducttape.com</a> as I used <a href="http://internetducttape.com/2007/03/20/automatic_documentation_python_doxygen/">this blog entry</a> as a starting point.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Creating+Documentation+from+Python+Source+Files+with+Doxygen+and+doxypy+http%3A%2F%2Fis.gd%2FR9kk93" title="Post to Twitter"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro4.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.joshuascotton.com/main/archives/64&amp;title=Creating+Documentation+from+Python+Source+Files+with+Doxygen+and+doxypy" title="Post to Delicious"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.joshuascotton.com/main/archives/64&amp;title=Creating+Documentation+from+Python+Source+Files+with+Doxygen+and+doxypy" title="Post to Digg"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.joshuascotton.com/main/archives/64&amp;t=Creating+Documentation+from+Python+Source+Files+with+Doxygen+and+doxypy" title="Post to Facebook"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.joshuascotton.com/main/archives/64/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Wireframe Tutorial</title>
		<link>http://www.joshuascotton.com/main/archives/50</link>
		<comments>http://www.joshuascotton.com/main/archives/50#comments</comments>
		<pubDate>Tue, 08 Jan 2008 20:59:47 +0000</pubDate>
		<dc:creator>Joshua Scotton</dc:creator>
				<category><![CDATA[IT and Linux]]></category>
		<category><![CDATA[Blender]]></category>
		<category><![CDATA[BWDCs]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wireframe]]></category>

		<guid isPermaLink="false">http://www.joshuascotton.com/main/archives/50</guid>
		<description><![CDATA[Check out my new wireframe tutorial over at blenderchallenge.com]]></description>
			<content:encoded><![CDATA[<p>Check out my new wireframe tutorial over at <a href="http://www.blenderchallenge.com/?p=7">blenderchallenge.com</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Wireframe+Tutorial+http%3A%2F%2Fis.gd%2FwdvyIN" title="Post to Twitter"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro4.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.joshuascotton.com/main/archives/50&amp;title=Wireframe+Tutorial" title="Post to Delicious"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.joshuascotton.com/main/archives/50&amp;title=Wireframe+Tutorial" title="Post to Digg"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.joshuascotton.com/main/archives/50&amp;t=Wireframe+Tutorial" title="Post to Facebook"><img class="nothumb" src="http://www.joshuascotton.com/main/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.joshuascotton.com/main/archives/50/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

