aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_template.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-03-01 11:14:41 -0500
committerWaylan Limberg <waylan@gmail.com>2012-03-01 11:14:41 -0500
commitdc49e92bad4f2534a6080849365186fe62343b8f (patch)
tree532107f56a53bc7129575898f290a5715c771057 /docs/_template.html
parent61ebd008e9ade549fcc3e934f4267472211c4b60 (diff)
downloadmarkdown-dc49e92bad4f2534a6080849365186fe62343b8f.tar.gz
markdown-dc49e92bad4f2534a6080849365186fe62343b8f.tar.bz2
markdown-dc49e92bad4f2534a6080849365186fe62343b8f.zip
Refactored Docs to use Sphinx styled template.
This is not a full Sphinx implementation. Just a limited implementation which converts our markdown source filed to work with the default css for Sphinx so it looks like Pythons docs.
Diffstat (limited to 'docs/_template.html')
-rw-r--r--docs/_template.html81
1 files changed, 72 insertions, 9 deletions
diff --git a/docs/_template.html b/docs/_template.html
index 58fde35..fa26d43 100644
--- a/docs/_template.html
+++ b/docs/_template.html
@@ -2,17 +2,80 @@
<html>
<head>
<meta charset=utf-8>
-<title>%(title)s</title>
-<link rel=stylesheet href=style.css>
+<title>%(page_title)s</title>
+<link rel="stylesheet" href="%(base)sdefault.css" type="text.css">
</head>
<body>
-<div id="nav">
-<p><a href="/">Index</a></p>
-%(toc)s
-</div>
-<div id="content">
+
+<div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="siteindex.html" title="General Index">index</a></li>
+ <li class="right">
+ <a href="%(next_url)s" title="%(next_title)s"
+ accesskey="N">next</a> |</li>
+ <li class="right">
+ <a href="%(prev_url)s" title="%(prev_title)s"
+ accesskey="P">previous</a> |</li>
+ <li><img src="%(base)spy.png" alt=""
+ style="vertical-align: middle; margin-top: -1px"/></li>
+ <li><a href="%(base)sindex.html">Python Markdown v%(version)s documentation</a> &raquo;</li>
+ %(crumb)s
+ </ul>
+</div> <!-- .related -->
+
+<div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body">
%(body)s
-</div>
-<p id="foot">&copy; 2010 Python Markdown Project<p>
+ </div> <!-- .body -->
+ </div> <!-- .bodywrapper -->
+ </div> <!-- .documentwrapper -->
+
+ <div class="sphinxsidebar">
+ <div class="sphinxsidebarwrapper">
+ <h3>Table Of Contents</h3>
+ %(toc)s
+
+ <h4>Previous topic</h4>
+ <p class="topless"><a href="%(prev_url)s"
+ title="previous chapter">%(prev_title)s</a></p>
+ <h4>Next topic</h4>
+ <p class="topless"><a href="%(next_url)s"
+ title="next chapter">%(next_title)s</a></p>
+ <h3>This Page</h3>
+ <ul class="this-page-menu">
+ <li><a href="https://github.com/waylan/Python-Markdown/issues"
+ >Report a Bug</a></li>
+ <li><a href="%(source)s"
+ rel="nofollow">Show Source</a></li>
+ </ul>
+ </div> <!-- .sphinxsidebarwrapper -->
+ </div> <!-- .sphinxsidebar -->
+
+ <div class="clearer"></div>
+</div> <!-- .document -->
+
+<div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="siteindex.html" title="General Index">index</a></li>
+ <li class="right">
+ <a href="%(next_url)s" title="%(next_title)s"
+ accesskey="N">next</a> |</li>
+ <li class="right">
+ <a href="%(prev_url)s" title="%(prev_title)s"
+ accesskey="P">previous</a> |</li>
+ <li><img src="%(base)spy.png" alt=""
+ style="vertical-align: middle; margin-top: -1px"/></li>
+ <li><a href="%(base)sindex.html">Python Markdown v%(version)s documentation</a> &raquo;</li>
+ %(crumb)s
+ </ul>
+</div> <!-- .related -->
+
+<div class="footer">&copy; 2010-2012 Python Markdown Project</div>
</body>
</html>