fd8097ccb5c1

hg-prompt: Update documentation.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 19 Nov 2009 22:51:47 -0500
parents 3db7e53f85e3
children 89c05d9e3225
branches/tags (none)
files hg-prompt/.DS_Store hg-prompt/documentation/index.html hg-prompt/documentation/keywords/index.html hg-prompt/documentation/keywords/list.html hg-prompt/documentation/list.html hg-prompt/documentation/usage/index.html hg-prompt/documentation/usage/list.html hg-prompt/index.html hg-prompt/installation/index.html hg-prompt/installation/list.html hg-prompt/list.html hg-prompt/media/css/index.html hg-prompt/media/css/layout.css hg-prompt/media/css/list.html hg-prompt/media/css/typography.css hg-prompt/media/index.html hg-prompt/media/list.html hg-prompt/quickstart/index.html hg-prompt/quickstart/list.html

Changes

Binary file hg-prompt/.DS_Store has changed
--- a/hg-prompt/documentation/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/documentation/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -34,6 +32,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1 id="documentation">Documentation</h1>
 <h2 id="usagehg-promptdocumentationusage"><a href="/hg-prompt/documentation/usage/">Usage</a></h2>
@@ -42,13 +42,15 @@
 <p>Keywords available to use with the command.</p>
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/documentation/keywords/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/documentation/keywords/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,6 +36,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1 id="keywords">Keywords</h1>
 <p>There a number of keywords available.  If you have any suggestions for more please <a href="http://bitbucket.org/sjl/hg-prompt/issues">let me know</a>.</p>
@@ -47,7 +47,9 @@
 <li><a href="#keywords">Keywords</a><ul>
 <li><a href="#bookmark">bookmark</a></li>
 <li><a href="#branch">branch</a></li>
+<li><a href="#incoming">incoming</a></li>
 <li><a href="#node">node</a></li>
+<li><a href="#outgoing">outgoing</a></li>
 <li><a href="#patch">patch</a></li>
 <li><a href="#rev">rev</a></li>
 <li><a href="#root">root</a></li>
@@ -68,6 +70,22 @@
 <dl>
 <dd>Display the current branch.</dd>
 </dl>
+<h2 id="incoming">incoming</h2>
+<dl>
+<dd>
+<p>Display nothing, but if the default path contains incoming changesets the 
+extra text will be expanded.</p>
+<p>For example: <code>{incoming changes{incoming}}</code> will expand to
+<code>incoming changes</code> if there are changes, otherwise nothing.</p>
+<p>Checking for incoming changesets is an expensive operation, so <code>hg-prompt</code> 
+will cache the results in <code>.hg/prompt/cache/</code> and refresh them every 15 
+minutes.</p>
+<dl>
+<dt>|count</dt>
+<dd>Display the number of incoming changesets (if greater than 0).</dd>
+</dl>
+</dd>
+</dl>
 <h2 id="node">node</h2>
 <dl>
 <dd>
@@ -80,6 +98,22 @@
 </dl>
 </dd>
 </dl>
+<h2 id="outgoing">outgoing</h2>
+<dl>
+<dd>
+<p>Display nothing, but if the current repository contains outgoing 
+changesets (to default) the extra text will be expanded.</p>
+<p>For example: <code>{outgoing changes{outgoing}}</code> will expand to
+<code>outgoing changes</code> if there are changes, otherwise nothing.</p>
+<p>Checking for outgoing changesets is an expensive operation, so <code>hg-prompt</code> 
+will cache the results in <code>.hg/prompt/cache/</code> and refresh them every 15 
+minutes.</p>
+<dl>
+<dt>|count</dt>
+<dd>Display the number of outgoing changesets (if greater than 0).</dd>
+</dl>
+</dd>
+</dl>
 <h2 id="patch">patch</h2>
 <dl>
 <dd>
@@ -170,13 +204,15 @@
 </dl>
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/documentation/keywords/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/documentation/keywords/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -42,6 +40,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /documentation/keywords</code></h1>
 
@@ -52,13 +52,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/documentation/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/documentation/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,6 +36,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /documentation</code></h1>
 
@@ -70,13 +70,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/documentation/usage/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/documentation/usage/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,49 +36,53 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1 id="usage">Usage</h1>
 <p>The <code>hg prompt</code> command takes a single string as an argument and outputs it.  Here's a simple (and useless) example:</p>
-<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">hg</span> <span class="n">prompt</span> <span class="s">&quot;test&quot;</span>
-<span class="n">test</span>
+<div class="codehilite"><pre><span class="gp">$</span> hg prompt <span class="s2">&quot;test&quot;</span>
+<span class="go">test</span>
 </pre></div>
 
 
 <p>Keywords in curly braces can be used to output repository information:</p>
-<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">hg</span> <span class="n">prompt</span> <span class="s">&quot;currently on {branch}&quot;</span>
-<span class="n">currently</span> <span class="n">on</span> <span class="n">default</span>
+<div class="codehilite"><pre><span class="gp">$</span> hg prompt <span class="s2">&quot;currently on {branch}&quot;</span>
+<span class="go">currently on default</span>
 </pre></div>
 
 
 <p>Keywords also have an extended form:</p>
-<div class="codehilite"><pre><span class="p">{</span><span class="n">optional</span> <span class="n">text</span><span class="p">{</span><span class="n">branch</span><span class="p">}</span><span class="n">more</span> <span class="n">optional</span> <span class="n">text</span><span class="p">}</span>
+<div class="codehilite"><pre>{optional text{branch}more optional text}
 </pre></div>
 
 
 <p>This form will output the text and the expanded keyword <strong>only</strong> if the keyword successfully expands.  This can be useful for displaying extra text only if it's applicable:</p>
-<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">hg</span> <span class="n">prompt</span> <span class="s">&quot;currently on {branch} and at {bookmark}&quot;</span>
-<span class="n">currently</span> <span class="n">on</span> <span class="n">branch</span> <span class="n">default</span> <span class="ow">and</span> <span class="n">at</span>
+<div class="codehilite"><pre><span class="gp">$</span> hg prompt <span class="s2">&quot;currently on {branch} and at {bookmark}&quot;</span>
+<span class="go">currently on branch default and at</span>
 
-<span class="nv">$</span> <span class="nv">hg</span> <span class="n">prompt</span> <span class="s">&quot;currently on {branch} {and at {bookmark}}&quot;</span>
-<span class="n">currently</span> <span class="n">on</span> <span class="n">branch</span> <span class="n">default</span>
+<span class="gp">$</span> hg prompt <span class="s2">&quot;currently on {branch} {and at {bookmark}}&quot;</span>
+<span class="go">currently on branch default</span>
 
-<span class="nv">$</span> <span class="nv">hg</span> <span class="n">bookmark</span> <span class="k">my</span><span class="o">-</span><span class="n">book</span>
+<span class="gp">$</span> hg bookmark my-book
 
-<span class="nv">$</span> <span class="nv">hg</span> <span class="n">prompt</span> <span class="s">&quot;currently on {branch} {and at {bookmark}}&quot;</span>
-<span class="n">currently</span> <span class="n">on</span> <span class="n">branch</span> <span class="n">default</span> <span class="ow">and</span> <span class="n">at</span> <span class="k">my</span><span class="o">-</span><span class="n">book</span>
+<span class="gp">$</span> hg prompt <span class="s2">&quot;currently on {branch} {and at {bookmark}}&quot;</span>
+<span class="go">currently on branch default and at my-book</span>
 </pre></div>
 
 
 <p>Take a look at the <a href="/hg-prompt/documentation/keywords/">keywords</a> documentation to see all the keywords <code>hg-prompt</code> supports.</p>
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/documentation/usage/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/documentation/usage/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -42,6 +40,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /documentation/usage</code></h1>
 
@@ -52,13 +52,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -30,6 +28,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1 id="hg-prompt">hg-prompt</h1>
 <p><code>hg-prompt</code> is a Mercurial extension that adds an 'hg prompt' command to Mercurial for viewing repository information.  It's designed to be used in a shell prompt.</p>
@@ -40,13 +40,15 @@
 <p><img alt="My bash prompt while using hg-prompt." src="http://stevelosh.com/site-media/storage/projects/2009-06-19-hg-prompt/hg-prompt.png" title="My bash prompt while using hg-prompt." /></p>
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/installation/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/installation/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -34,11 +32,13 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1 id="installation">Installation</h1>
 <p>Installing <code>hg-prompt</code> requires <a href="http://python.org/">Python</a> 2.5+ and (obviously) Mercurial.</p>
 <p>First, clone the repository:</p>
-<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">hg</span> <span class="n">clone</span> <span class="n">http:</span><span class="sr">//</span><span class="n">bitbucket</span><span class="o">.</span><span class="n">org</span><span class="sr">/sjl/</span><span class="n">hg</span><span class="o">-</span><span class="n">prompt</span><span class="o">/</span>
+<div class="codehilite"><pre><span class="gp">$</span> hg clone http://bitbucket.org/sjl/hg-prompt/
 </pre></div>
 
 
@@ -49,21 +49,23 @@
 
 
 <p>Make sure everything is working:</p>
-<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">hg</span> <span class="n">prompt</span> <span class="s">&#39;test&#39;</span>
-<span class="n">test</span>
+<div class="codehilite"><pre><span class="gp">$</span> hg prompt <span class="s1">&#39;test&#39;</span>
+<span class="go">test</span>
 </pre></div>
 
 
 <p>Take a look at the <a href="/hg-prompt/quickstart/">Quick Start</a> guide to learn how to put some useful information into your shell prompt.</p>
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/installation/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/installation/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,6 +36,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /installation</code></h1>
 
@@ -48,13 +48,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -34,6 +32,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /</code></h1>
 
@@ -82,13 +82,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/media/css/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/media/css/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -42,6 +40,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /media/css</code></h1>
 
@@ -55,7 +55,7 @@
   <table id="files">
     
       <tr>
-        <td class="size">2K</td>
+        <td class="size">3K</td>
         <td class="name">
           <a href="/hg-prompt/media/css/layout.css">
             <code>layout.css</code>
@@ -94,13 +94,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/media/css/layout.css	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/media/css/layout.css	Thu Nov 19 22:51:47 2009 -0500
@@ -1,79 +1,104 @@
 body, html {
-	background-color: #f6f6f6;
+	background-color: #226F89;
 	margin: 0;
 	padding: 0;
 }
 
 div#breadcrumbs {
-	border-bottom: 4px dashed #f6f6f6;
-	margin: 0 -1.2em;
-	padding: 0.3em 1.4em 0.3em 1.4em;
+	border-bottom: 4px dashed #265565;
+	border-left: 1px solid #265565;
+	border-right: 1px solid #265565;
+	margin: 0 auto;
+	padding: 0.5em 1.5em;
+	background-color: #fff;
+	width: 55em;
 }
-
 div#breadcrumbs p {
 	margin-bottom: 0.2em;
 }
-
 div#content {
 	background-color: #fff;
 	height: 100%;
 	margin: 0 auto;
 	overflow: hidden;
-	padding: 0 1.2em 1.2em 1.2em;
-	width: 700px;
+	padding: 1em 1.5em 1.5em 1.5em;
+	width: 55em;
+	border-left: 1px solid #265565;
+	border-right: 1px solid #265565;
 }
 
 h1 {
 	margin: 0.3em 0;
 	padding: 0.1em 0;
 }
-
 h2, h3, h4, h5, h6 {
 	margin-top: 1em;
 	margin-bottom: 0.4em;
 }
-
 p, ul, blockquote {
 	line-height: 1.8em;
 	margin-top: 0;
 	margin-bottom: 1em;
 }
+a {
+	color: #133C4C;
+}
+a:hover {
+	color: #F14800;
+}
 
-p#footer {
-	border-top: 1px solid #999;
-	font-size: 0.7em;
-	margin-bottom: 0;
-	padding: 0.7em 0;
+div#footer {
+	background-color: #fff;
+	border: 1px solid #265565;
+	border-top: 4px dashed #265565;
+	width: 55em;
+	padding: 1em 1.5em;
+	margin: 0 auto;
+	margin-bottom: 3em;
 	text-align: center;
+	color: #666;
+}
+div#footer p {
+    margin: 0;
+    padding: 0;
 }
 
 ul {
 	padding-left: 1.5em;
 }
-
 ul li {
 	list-style-type: disc;
 	margin-left: 1.5em;
 	margin-top: 0.4em;
 }
 
+div.toc ul {
+    padding: 0;
+}
+div.toc ul li {
+    list-style-type: none;
+    margin: 0;
+}
+div.toc > ul > li {
+    list-style-type: none;
+    margin: 0;
+}
+div.toc > ul ul {
+    margin: 0 3em;
+}
+
 code {
 	background-color: #f6f6f6;
 	border: 1px solid #999;
-	border-left: none;
-	border-right: none;
-	padding-left: 2px;
-	padding-right: 2px;
+	padding: 2px;
 	white-space: nowrap;
 }
-
 pre code {
 	border: none;
 	padding: 0;
 	background: none;
 	white-space: pre-wrap;
 }
-
 a code {
 	background: none;
 	border: none;
@@ -81,7 +106,6 @@
 	padding: 0;
 	text-decoration: inherit;
 }
-
 a.code {
 	background-color: #3f3f3f;
 }
@@ -90,29 +114,32 @@
 	font-weight: bold;
 	margin-top: 1em;
 }
-
 dd {
 	line-height: 1.8em;
 	margin-left: 1.5em;
 }
-
 blockquote p {
 	margin: 0;
 }
 
+img {
+    background-color: #f6f6f6;
+    border: 1px solid #999;
+    padding: 1em;
+    display: block;
+    margin: 0 auto;
+}
+
 table {
 	margin: 1em;
 }
-
 table thead {
 	background-color: #f6f6f6;
 }
-
 table thead th {
 	border: 1px solid #999;
 	padding: 0.5em 1em;
 }
-
 table tbody tr td {
 	border: 1px solid #999;
 	padding: 0.5em 1em;
@@ -121,26 +148,21 @@
 pre, blockquote, table.codehilitetable {
 	background-color: #f6f6f6;
 	border: 1px solid #999;
-	border-left: none;
-	border-right: none;
 	display: block;
 	line-height: 1.5em;
-	margin-left: 1.2em;
-	margin-right: 1em;
+    margin-left: 1.5em;
+    margin-right: 1.5em;
 	padding: 0.5em;
 	padding-left: 1em;
 }
-
 pre, table.codehilitetable {
 	margin-bottom: 1em;
 }
-
 table.codehilitetable div.linenodiv {
 	border-right: 1px solid #ccc;
 	margin-right: 1em;
 	padding-right: 1em;
 }
-
 table.codehilitetable pre {
 	background: none;
 	border: none;
@@ -152,16 +174,13 @@
 	border-top: 1px solid #999;
 	border-bottom: 1px solid #999;
 }
-
 table tr td.name a {
 	display: block;
 	padding: 0.5em 1em;
 }
-
 table tr td.name a:hover {
 	background-color: #f6f6f6;
 }
-
 table tr td.size {
 	padding: 0.5em 1em;
 	width:  40px;
--- a/hg-prompt/media/css/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/media/css/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -42,6 +40,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /media/css</code></h1>
 
@@ -55,7 +55,7 @@
   <table id="files">
     
       <tr>
-        <td class="size">2K</td>
+        <td class="size">3K</td>
         <td class="name">
           <a href="/hg-prompt/media/css/layout.css">
             <code>layout.css</code>
@@ -94,13 +94,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/media/css/typography.css	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/media/css/typography.css	Thu Nov 19 22:51:47 2009 -0500
@@ -33,14 +33,9 @@
 }
 
 a {
-	color: #ba0000;
 	text-decoration: none;
 }
 
-a:hover {
-	color: #e34400;
-}
-
 table#files a:hover, table#subdirs a:hover, table#pages a:hover {
 	color: #a00000;
 }
--- a/hg-prompt/media/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/media/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,6 +36,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /media</code></h1>
 
@@ -62,13 +62,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/media/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/media/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,6 +36,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /media</code></h1>
 
@@ -62,13 +62,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/quickstart/index.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/quickstart/index.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -34,40 +32,42 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1 id="quick-start">Quick Start</h1>
 <p>This guide will get you up and running so you can put some useful information into your shell prompt.</p>
 <p>If you haven't already <a href="/hg-prompt/installation/">installed</a> it, do that now.</p>
 <h2 id="a-simple-but-useful-prompt">A Simple (But Useful) Prompt</h2>
 <p>Edit your <code>~/.bashrc</code> file to include something like this:</p>
-<div class="codehilite"><pre><span class="n">hg_ps1</span><span class="p">()</span> <span class="p">{</span>
-    <span class="n">hg</span> <span class="n">prompt</span> <span class="s">&quot;{ on {branch}}{ at {bookmark}}{status}&quot;</span> <span class="mi">2</span><span class="o">&gt;</span> <span class="sr">/dev/</span><span class="n">null</span>
-<span class="p">}</span>
+<div class="codehilite"><pre>hg_ps1<span class="o">()</span> <span class="o">{</span>
+    hg prompt <span class="s2">&quot;{ on {branch}}{ at {bookmark}}{status}&quot;</span> 2&gt; /dev/null
+<span class="o">}</span>
 
-<span class="n">export</span> <span class="n">PS1</span><span class="o">=</span><span class="s">&#39;\u at \h in \w$(hg_ps1)\n$ &#39;</span>
+<span class="nb">export </span><span class="nv">PS1</span><span class="o">=</span><span class="s1">&#39;\u at \h in \w$(hg_ps1)\n$ &#39;</span>
 </pre></div>
 
 
 <p><code>source ~/.bashrc</code> after to test it out.  Make sure you're in a Mercurial repository or you won't see anything.  This little prompt will give you something like this:</p>
-<div class="codehilite"><pre><span class="n">steve</span> <span class="n">at</span> <span class="n">myhost</span> <span class="n">in</span> <span class="o">~</span><span class="sr">/src/</span><span class="n">hg</span><span class="o">-</span><span class="n">prompt</span> <span class="n">on</span> <span class="n">default</span> <span class="n">at</span> <span class="n">feature</span><span class="o">-</span><span class="n">bookmark</span><span class="p">?</span>
-<span class="nv">$</span>
+<div class="codehilite"><pre><span class="go">steve at myhost in ~/src/hg-prompt on default at feature-bookmark?</span>
+<span class="gp">$</span>
 </pre></div>
 
 
 <h2 id="an-advanced-prompt">An Advanced Prompt</h2>
 <p>How about something a little more interesting?</p>
-<div class="codehilite"><pre><span class="n">hg_ps1</span><span class="p">()</span> <span class="p">{</span>
-    <span class="n">hg</span> <span class="n">prompt</span> <span class="s">&quot;{[+{incoming|count}]--&gt;}{root|basename}{/{branch}}{--&gt;[+{outgoing|count}]}{ at {bookmark}}{status}&quot;</span> <span class="mi">2</span><span class="o">&gt;</span> <span class="sr">/dev/</span><span class="n">null</span>
-<span class="p">}</span>
+<div class="codehilite"><pre>hg_ps1<span class="o">()</span> <span class="o">{</span>
+    hg prompt <span class="s2">&quot;{[+{incoming|count}]--&gt;}{root|basename}{/{branch}}{--&gt;[+{outgoing|count}]}{ at {bookmark}}{status}&quot;</span> 2&gt; /dev/null
+<span class="o">}</span>
 
-<span class="n">export</span> <span class="n">PS1</span><span class="o">=</span><span class="s">&#39;$(hg_ps1)\n\u at \h in \w\n$ &#39;</span>
+<span class="nb">export </span><span class="nv">PS1</span><span class="o">=</span><span class="s1">&#39;$(hg_ps1)\n\u at \h in \w\n$ &#39;</span>
 </pre></div>
 
 
 <p>And the result (this example assumes one incoming changeset and two outgoing):</p>
-<div class="codehilite"><pre><span class="p">[</span><span class="o">+</span><span class="mi">1</span><span class="p">]</span><span class="o">--&gt;</span><span class="n">hg</span><span class="o">-</span><span class="n">prompt</span><span class="o">/</span><span class="n">default</span><span class="o">--&gt;</span><span class="p">[</span><span class="o">+</span><span class="mi">2</span><span class="p">]</span> <span class="n">at</span> <span class="n">feature</span><span class="o">-</span><span class="n">bookmark</span>
-<span class="n">steve</span> <span class="n">at</span> <span class="n">myhost</span> <span class="n">in</span> <span class="o">~</span><span class="sr">/src/</span><span class="n">hg</span><span class="o">-</span><span class="n">prompt</span>
-<span class="nv">$</span>
+<div class="codehilite"><pre><span class="go">[+1]--&gt;hg-prompt/default--&gt;[+2] at feature-bookmark</span>
+<span class="go">steve at myhost in ~/src/hg-prompt</span>
+<span class="gp">$</span>
 </pre></div>
 
 
@@ -75,13 +75,15 @@
 <p>From here you can take a look at the <a href="/hg-prompt/documentation/">full documentation</a> to see all the interesting things <code>hg-prompt</code> can do.</p>
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file
--- a/hg-prompt/quickstart/list.html	Thu Nov 19 21:35:53 2009 -0500
+++ b/hg-prompt/quickstart/list.html	Thu Nov 19 22:51:47 2009 -0500
@@ -16,9 +16,7 @@
   </head>
   
   <body>
-    <div id="content">
-
-      
+    
         <div id="breadcrumbs">
           <p>
               
@@ -38,6 +36,8 @@
         </div> <!-- div#breadcrumbs -->
       
       
+    <div id="content">
+      
       
   <h1><code>ls /quickstart</code></h1>
 
@@ -48,13 +48,15 @@
   
 
     
-      <p id="footer">
-        
-          hg-prompt &mdash;
-        
-        Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
-      </p>
+    </div> <!-- div#content -->
+    <div id="footer">
+        <p>
+            
+            hg-prompt &mdash;
+            
+            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
+        </p>
+    </div>
     
-    </div> <!-- div#content -->
   </body>
 </html>
\ No newline at end of file