80ebae4e1e52

d: Update site.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 23 Dec 2019 15:39:30 -0500
parents dd80d93f061a
children 511800267161
branches/tags (none)
files d/_dmedia/goodwolf.css d/_dmedia/style.less d/_dmedia/tango.css d/customization/index.html d/faqs/index.html d/index.html d/installation/index.html d/usage/index.html

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/d/_dmedia/goodwolf.css	Mon Dec 23 15:39:30 2019 -0500
@@ -0,0 +1,62 @@
+/* @override http://localhost:8080/media/css/pygments-monokai-light.css */
+div.highlight .hll { background-color: #FFD7EF; display: block; }
+div.highlight .err { color: #fff; background-color: #f00 } /* Error */
+div.highlight .gi { font-weight: bold } /* Diff Insert */
+div.highlight .gd { font-weight: bold } /* Diff Delete */
+div.highlight .k { color: #111} /* Keyword */
+div.highlight .l { color: #111 } /* Literal */
+div.highlight .n { color: #111 } /* Name */
+div.highlight .o { color: #111 } /* Operator */
+div.highlight .p { color: #111 } /* Punctuation */
+div.highlight .c  { color: #714678; font-style: italic; font-weight: bold; } /* Comment */
+div.highlight .cm { color: #714678; font-style: italic; font-weight: bold; } /* Comment.Multiline */
+div.highlight .cp { color: #714678; font-style: italic; font-weight: bold; } /* Comment.Preproc */
+div.highlight .c1 { color: #714678; font-style: italic; font-weight: bold; } /* Comment.Single */
+div.highlight .cs { color: #714678; font-style: italic; font-weight: bold; } /* Comment.Special */
+div.highlight .ge { font-style: italic } /* Generic.Emph */
+div.highlight .gs { font-weight: bold } /* Generic.Strong */
+div.highlight .kc { color: #111 } /* Keyword.Constant */
+div.highlight .kd { color: #111 } /* Keyword.Declaration */
+div.highlight .kn { color: #111 } /* Keyword.Namespace */
+div.highlight .kp { color: #111 } /* Keyword.Pseudo */
+div.highlight .kr { color: #111 } /* Keyword.Reserved */
+div.highlight .kt { color: #111 } /* Keyword.Type */
+div.highlight .ld { color: #111 } /* Literal.Date */
+div.highlight .m { color: #111 } /* Literal.Number */
+div.highlight .s { color: #111; font-style: italic; } /* Literal.String */
+div.highlight .na { color: #111 } /* Name.Attribute */
+div.highlight .nb { color: #111 } /* Name.Builtin */
+div.highlight .nc { color: #111 } /* Name.Class */
+div.highlight .no { color: #111 } /* Name.Constant */
+div.highlight .nd { color: #111 } /* Name.Decorator */
+div.highlight .ni { color: #111 } /* Name.Entity */
+div.highlight .ne { color: #111 } /* Name.Exception */
+div.highlight .nf { color: #111} /* Name.Function */
+div.highlight .nl { color: #111 } /* Name.Label */
+div.highlight .nn { color: #111} /* Name.Namespace */
+div.highlight .nx { color: #111 } /* Name.Other */
+div.highlight .py { color: #111 } /* Name.Property */
+div.highlight .nt { color: #111 } /* Name.Tag */
+div.highlight .nv { color: #111 } /* Name.Variable */
+div.highlight .ow { color: #111 } /* Operator.Word */
+div.highlight .w { color: #111 } /* Text.Whitespace */
+div.highlight .mf { color: #111 } /* Literal.Number.Float */
+div.highlight .mh { color: #111 } /* Literal.Number.Hex */
+div.highlight .mi { color: #111 } /* Literal.Number.Integer */
+div.highlight .mo { color: #111 } /* Literal.Number.Oct */
+div.highlight .sb { color: #111 } /* Literal.String.Backtick */
+div.highlight .sc { color: #111 } /* Literal.String.Char */
+div.highlight .sd { color: #111 } /* Literal.String.Doc */
+div.highlight .s2 { color: #111 } /* Literal.String.Double */
+div.highlight .se { color: #111 } /* Literal.String.Escape */
+div.highlight .sh { color: #111 } /* Literal.String.Heredoc */
+div.highlight .si { color: #111 } /* Literal.String.Interpol */
+div.highlight .sx { color: #111 } /* Literal.String.Other */
+div.highlight .sr { color: #111 } /* Literal.String.Regex */
+div.highlight .s1 { color: #111 } /* Literal.String.Single */
+div.highlight .ss { color: #111 } /* Literal.String.Symbol */
+div.highlight .bp { color: #111 } /* Name.Builtin.Pseudo */
+div.highlight .vc { color: #111 } /* Name.Variable.Class */
+div.highlight .vg { color: #111 } /* Name.Variable.Global */
+div.highlight .vi { color: #111 } /* Name.Variable.Instance */
+div.highlight .il { color: #111 } /* Literal.Number.Integer.Long */
--- a/d/_dmedia/style.less	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/_dmedia/style.less	Mon Dec 23 15:39:30 2019 -0500
@@ -2,11 +2,11 @@
     overflow-y: scroll;
 }
 .wrap {
-    width: 600px;
+    width: 640px;
     margin: 40px auto 180px;
 }
 body {
-    font-size: 18px;
+    font-size: 16px;
     line-height: 1.4;
     font-family: Georgia, Palatino, "Palatino Linotype", serif;
     color: #111111;
@@ -27,11 +27,11 @@
     }
 }
 h1 {
-    font-size: 48px;
+    font-size: 40px;
     line-height: 1;
 }
 h2 {
-    font-size: 34px;
+    font-size: 28px;
     line-height: 1;
     margin-top: 40px;
     margin-bottom: 0;
@@ -44,7 +44,7 @@
     }
 }
 h3 {
-    font-size: 26px;
+    font-size: 22px;
     line-height: 1;
     margin-top: 40px;
     margin-bottom: 0;
@@ -57,7 +57,7 @@
     }
 }
 h4 {
-    font-size: 20px;
+    font-size: 18px;
     line-height: 1;
     margin-top: 30px;
     margin-bottom: 0;
@@ -83,7 +83,7 @@
     }
 }
 pre {
-    font-size: 15px;
+    font-size: 14px;
     line-height: 1.3;
     white-space: pre;
     overflow-x: auto;
@@ -93,7 +93,7 @@
     font-family: Menlo, Monaco, Consolas, monospace;
 }
 code {
-    font-size: 15px;
+    font-size: 14px;
     border: 1px solid #fdd;
     background: #fffafa;
     padding: 1px 4px;
--- a/d/_dmedia/tango.css	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/_dmedia/tango.css	Mon Dec 23 15:39:30 2019 -0500
@@ -1,6 +1,6 @@
 .codehilite .hll { background-color: #ffffcc }
 .codehilite .c { color: #8f5902; font-style: italic } /* Comment */
-.codehilite .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
+.codehilite .err { color: #000000; } /* Error */
 .codehilite .g { color: #000000 } /* Generic */
 .codehilite .k { color: #204a87; font-weight: bold } /* Keyword */
 .codehilite .l { color: #000000 } /* Literal */
@@ -61,7 +61,7 @@
 .codehilite .sx { color: #4e9a06 } /* Literal.String.Other */
 .codehilite .sr { color: #4e9a06 } /* Literal.String.Regex */
 .codehilite .s1 { color: #4e9a06 } /* Literal.String.Single */
-.codehilite .ss { color: #4e9a06 } /* Literal.String.Symbol */
+.codehilite .ss { color: #000000 } /* Literal.String.Symbol */
 .codehilite .bp { color: #3465a4 } /* Name.Builtin.Pseudo */
 .codehilite .vc { color: #000000 } /* Name.Variable.Class */
 .codehilite .vg { color: #000000 } /* Name.Variable.Global */
--- a/d/customization/index.html	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/customization/index.html	Mon Dec 23 15:39:30 2019 -0500
@@ -40,7 +40,7 @@
                 </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>
+<p><br/><a id="rochester-made" href="https://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>
\ No newline at end of file
--- a/d/faqs/index.html	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/faqs/index.html	Mon Dec 23 15:39:30 2019 -0500
@@ -80,7 +80,7 @@
 instead of requiring you to add the <code>.html</code>.</p>
 <h3 id="can-i-serve-the-documentation-at-a-url-other-than">Can I serve the documentation at a URL other than /?</h3>
 <p>Sure.  You'll need to use relative links in your content pages though:</p>
-<div class="codehilite"><pre><span class="n">See</span> <span class="n">the</span> <span class="p">[</span><span class="n">installation</span> <span class="n">guide</span><span class="p">][</span><span class="n">ig</span><span class="p">]</span> <span class="k">for</span> <span class="n">more</span> <span class="n">information</span><span class="p">.</span>
+<div class="codehilite"><pre><span/><span class="n">See</span> <span class="n">the</span> <span class="p">[</span><span class="n">installation</span> <span class="n">guide</span><span class="p">][</span><span class="n">ig</span><span class="p">]</span> <span class="k">for</span> <span class="n">more</span> <span class="n">information</span><span class="p">.</span>
 
 <span class="p">[</span><span class="n">ig</span><span class="p">]</span><span class="o">:</span> <span class="p">..</span><span class="o">/</span><span class="n">installation</span><span class="o">/</span>
 </pre></div>
@@ -90,7 +90,7 @@
 <p>The <code>&lt;base&gt;</code> tag is a clusterfuck.  Just add the dots.  Trust me.</p>
 <h3 id="can-i-reorder-the-pages">Can I reorder the pages?</h3>
 <p>Sure, make the filenames start with numbers and a dash, like this:</p>
-<div class="codehilite"><pre>01-installation.markdown
+<div class="codehilite"><pre><span/>01-installation.markdown
 02-usage.markdown
 </pre></div>
 
@@ -111,7 +111,7 @@
 you.</p>
 <h3 id="can-i-have-syntax-highlighting-for-code-snippets">Can I have syntax highlighting for code snippets?</h3>
 <p>Yep, just put <code>:::lang</code> at the beginning of your code blocks, like this:</p>
-<div class="codehilite"><pre>:::python
+<div class="codehilite"><pre><span/>:::python
 for i in range(10):
     print i
 </pre></div>
@@ -125,8 +125,8 @@
 you already have one: Python comes with a built-in server that's great for
 viewing local files.</p>
 <p>Build your docs, then in a separate terminal:</p>
-<div class="codehilite"><pre><span class="nb">cd </span>myproject/docs
-<span class="nb">cd </span>build
+<div class="codehilite"><pre><span/><span class="nb">cd</span> myproject/docs
+<span class="nb">cd</span> build
 python -m SimpleHTTPServer
 </pre></div>
 
@@ -146,7 +146,7 @@
                 </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>
+<p><br/><a id="rochester-made" href="https://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>
\ No newline at end of file
--- a/d/index.html	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/index.html	Mon Dec 23 15:39:30 2019 -0500
@@ -21,11 +21,11 @@
 <p>No fiddling around with configuration files, themes, version numbers,
 obtuse markup, or multiple output formats.</p>
 <p>Make some Markdown files.  Run <code>d</code>.  Move on.</p>
-<p><code>d</code> is open source on <a href="http://bitbucket.org/sjl/d">BitBucket</a> and <a href="http://github.com/sjl/d">GitHub</a>.  It's MIT/X11 licensed.</p><h2>Table of Contents</h2><ol class="toc"><li><a href="installation/">Installation</a></li><li><a href="usage/">Usage</a></li><li><a href="customization/">Customization</a></li><li><a href="faqs/">FAQs</a></li></ol>
+<p><code>d</code> is open source on <a href="https://hg.sr.ht/~sjl/d">Source Hut</a> and <a href="http://github.com/sjl/d">GitHub</a>.  It's MIT/X11 licensed.</p><h2>Table of Contents</h2><ol class="toc"><li><a href="installation/">Installation</a></li><li><a href="usage/">Usage</a></li><li><a href="customization/">Customization</a></li><li><a href="faqs/">FAQs</a></li></ol>
                 </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>
+<p><br/><a id='rochester-made' href='https://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>
--- a/d/installation/index.html	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/installation/index.html	Mon Dec 23 15:39:30 2019 -0500
@@ -13,12 +13,12 @@
             <header><h1><a href="..">d</a></h1></header>
                 <div class="markdown">
 <h1 id="installation"><a href="">Installation</a></h1><p>You just need Python and <code>pip</code>:</p>
-<div class="codehilite"><pre>pip install d
+<div class="codehilite"><pre><span/>pip install d
 </pre></div>
 
 
 <p>You can use <code>easy_install</code> if you really want:</p>
-<div class="codehilite"><pre>easy_install d
+<div class="codehilite"><pre><span/>easy_install d
 </pre></div>
 
 
@@ -26,7 +26,7 @@
 <h2 id="troubleshooting">Troubleshooting</h2>
 <p>Some users have reported problems compiling the lxml library on OS X.  If you
 get a message that looks like this when installing:</p>
-<div class="codehilite"><pre>src/lxml/lxml.etree.c:165674: fatal error: error writing to -: Broken pipe
+<div class="codehilite"><pre><span/>src/lxml/lxml.etree.c:165674: fatal error: error writing to -: Broken pipe
     compilation terminated.
     lipo: can't open input file: /var/tmp//ccZmfWit.out (No such file or directory)
     error: command 'gcc-4.2' failed with exit status 1
@@ -34,12 +34,12 @@
 
 
 <p>Try running this command and installing again:</p>
-<div class="codehilite"><pre>export ARCHFLAGS="-arch i386 -arch x86_64"
+<div class="codehilite"><pre><span/>export ARCHFLAGS="-arch i386 -arch x86_64"
 </pre></div>
                 </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>
+<p><br/><a id="rochester-made" href="https://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>
\ No newline at end of file
--- a/d/usage/index.html	Mon Dec 23 15:31:37 2019 -0500
+++ b/d/usage/index.html	Mon Dec 23 15:39:30 2019 -0500
@@ -33,13 +33,13 @@
 </ul></div>
 <h2 id="basic-flow">Basic Flow</h2>
 <p>Make a directory for your docs:</p>
-<div class="codehilite"><pre>mkdir docs
-<span class="nb">cd </span>docs
+<div class="codehilite"><pre><span/>mkdir docs
+<span class="nb">cd</span> docs
 </pre></div>
 
 
 <p>Write some docs (UTF-8):</p>
-<div class="codehilite"><pre>touch index.markdown
+<div class="codehilite"><pre><span/>touch index.markdown
 touch installation.markdown
 touch usage.markdown
 
@@ -48,12 +48,12 @@
 
 
 <p>Render your docs:</p>
-<div class="codehilite"><pre>d
+<div class="codehilite"><pre><span/>d
 </pre></div>
 
 
 <p>Copy the output somewhere:</p>
-<div class="codehilite"><pre>rsync -d build/ myserver:/var/www/myproject
+<div class="codehilite"><pre><span/>rsync -d build/ myserver:/var/www/myproject
 </pre></div>
 
 
@@ -94,7 +94,7 @@
 one.</p>
 <h2 id="example">Example</h2>
 <p>Here's a sample documentation file to get you started:</p>
-<div class="codehilite"><pre><span class="gh">Installation</span>
+<div class="codehilite"><pre><span/><span class="gh">Installation</span>
 <span class="gh">============</span>
 
 Here's how to install my project.
@@ -130,7 +130,7 @@
                 </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>
+<p><br/><a id="rochester-made" href="https://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>
\ No newline at end of file