aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-08-04 14:56:47 -0400
committerWaylan Limberg <waylan@gmail.com>2011-08-04 14:56:47 -0400
commit85f355b08e07cc8edbc33dbfb571f4cc158796f4 (patch)
tree4acbb566215499119b805318f1351af5549eab49 /docs
parent4cabf3b94c17317b16d82e143e8221c88ff60d99 (diff)
downloadmarkdown-85f355b08e07cc8edbc33dbfb571f4cc158796f4.tar.gz
markdown-85f355b08e07cc8edbc33dbfb571f4cc158796f4.tar.bz2
markdown-85f355b08e07cc8edbc33dbfb571f4cc158796f4.zip
The build_docs command now uses extra and toc extensions and a template on the file system.
Diffstat (limited to 'docs')
-rw-r--r--docs/_template.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/_template.html b/docs/_template.html
new file mode 100644
index 0000000..d313098
--- /dev/null
+++ b/docs/_template.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>%(title)s</title>
+<style type="text/css">
+.nav { float:right; margin:1em;}
+</style>
+</head>
+<body>
+<div id="nav">
+<p><a href="/">Index</a></p>
+%(toc)s
+</div>
+<div id="content">
+%(body)s
+</div>
+<p id="foot">&copy; 2010 Python Markdown Project<p>
+</body>
+</html>