sjl.bitbucket.org / d / customization / index.html

<!DOCTYPE html>
<html><head><meta charset="utf-8"/><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>
<p><br/><a id="rochester-made" href="http://rochestermade.com" title="Rochester Made"><img src="http://rochestermade.com/media/images/rochester-made-dark-on-light.png" alt="Rochester Made" title="Rochester Made"/></a></p></footer></div>
    </body></html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.