d/customization/index.html @ 540256c254e3

d: Update site.
author Steve Losh <steve@stevelosh.com>
date Fri, 03 Feb 2012 18:06:49 -0500
parents ec2e3d84384e
children 3527ddd76dd8
<html><head><title>Customization / d</title><link rel="stylesheet" href="../_dmedia/bootstrap.css"/><link rel="stylesheet" href="../_dmedia/tango.css"/><link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/><script src="../_dmedia/less.js" type="text/javascript">
        </script></head><body class="content">
        <div class="wrap">
            <header><h1><a href="..">d</a></h1></header><div class="markdown">
<h1 id="customization"><a href="">Customization</a></h1><p><code>d</code> is mostly designed for quick and dirty use.  There are a few customization
options, but if you find yourself wanting more you probably need a different
tool.</p>
<div class="toc">
<ul><li><a href="#project-title">Project Title</a></li>
<li><a href="#page-titles">Page Titles</a></li>
<li><a href="#page-urls">Page URLs</a></li>
<li><a href="#footer">Footer</a></li>
</ul></div>
<h2 id="project-title">Project Title</h2>
<p><code>d</code> tries to intelligently guess your project's title.  You can override it by
creating a <code>title</code> file with the title inside.</p>
<h2 id="page-titles">Page Titles</h2>
<p><code>d</code> takes page titles from the first line of the file, which should be a level
1 Markdown heading.</p>
<h2 id="page-urls">Page URLs</h2>
<p>The URL for each page will be the filename of the page, without an extension.
For example, <code>usage.markdown</code> will have a URL of <code>/usage/</code>.</p>
<p>There is one exception: if a filename starts with a number and a dash, <code>d</code> will
ignore those for the URLs (but will sort on them, so you can use this to reorder
pages).</p>
<h2 id="footer">Footer</h2>
<p>The contents of the footer are rendered from <code>footer.markdown</code>, or left blank if
you don't have it.</p>
                </div>
            <footer><p>Created by <a href="http://stevelosh.com">Steve Losh</a>.  Inspired by <a href="http://stevelosh.com/projects/t/">t</a>.</p>
<script type="text/javascript">
    var _gauges = _gauges || [];
    (function() {
        var t   = document.createElement('script');
        t.type  = 'text/javascript';
        t.async = true;
        t.id    = 'gauges-tracker';
        t.setAttribute('data-site-id', '4f1df6cb844d521f7b000003');
        t.src = '//secure.gaug.es/track.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(t, s);
    })();
</script></footer></div>
    </body></html>