mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / call_graph.mdwn
index 4e9cd49597b96370623761fc0b675591701a5068..08e699d0d0cf168a7ab6a4396bb9568691e8e7ab 100644 (file)
@@ -1,3 +1,5 @@
+[[!template id=gitrepo repo=call_graph]]
+
 This script scans a Python file for function dependencies, and
 generates code for [Graphviz dot][graphviz].  See [[depgraph]] for
 scripts to generate dependency graphs *between* modules.
@@ -6,8 +8,10 @@ Originally by [Prashantha Ellina][original], the [script][call_graph]
 is good for giving you the "short view" for restructuring a single
 module.
 
+[[!template id=gitrepo repo=calibrate_cantilever]]
+
 As example, here is the callgraph of my cantilever calibration program
-[calibrate_cantilever.py][].
+`calibrate_cantilever.py`.
 
     $ python construct_call_graph.py -i calibrate_cantilever.py | dot -T png -o call_graph.png
 
@@ -17,8 +21,6 @@ As example, here is the callgraph of my cantilever calibration program
 
 [graphviz]: http://www.graphviz.org
 [original]: http://blog.prashanthellina.com/2007/11/14/generating-call-graphs-for-understanding-and-refactoring-python-code/
-[calibrate_cantilever.py]: http://www.physics.drexel.edu/~wking/code/git/git.php?p=calibrate_cantilever.git
-[call_graph]: http://www.physics.drexel.edu/~wking/code/git/git.php?p=call_graph.git
 
 [[!tag tags/programming]]
 [[!tag tags/python]]