# HG changeset patch # User Steve Losh # Date 1577133570 18000 # Node ID 80ebae4e1e5202728dd028ca8a50ba41f8ae6ef5 # Parent dd80d93f061ae8663c5638e6f5f67c18830696e6 d: Update site. diff -r dd80d93f061a -r 80ebae4e1e52 d/_dmedia/goodwolf.css --- /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 */ diff -r dd80d93f061a -r 80ebae4e1e52 d/_dmedia/style.less --- 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; diff -r dd80d93f061a -r 80ebae4e1e52 d/_dmedia/tango.css --- 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 */ diff -r dd80d93f061a -r 80ebae4e1e52 d/customization/index.html --- 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 @@ +


Rochester Made

\ No newline at end of file diff -r dd80d93f061a -r 80ebae4e1e52 d/faqs/index.html --- 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 .html.

Can I serve the documentation at a URL other than /?

Sure. You'll need to use relative links in your content pages though:

-
See the [installation guide][ig] for more information.
+
See the [installation guide][ig] for more information.
 
 [ig]: ../installation/
 
@@ -90,7 +90,7 @@

The <base> tag is a clusterfuck. Just add the dots. Trust me.

Can I reorder the pages?

Sure, make the filenames start with numbers and a dash, like this:

-
01-installation.markdown
+
01-installation.markdown
 02-usage.markdown
 
@@ -111,7 +111,7 @@ you.

Can I have syntax highlighting for code snippets?

Yep, just put :::lang at the beginning of your code blocks, like this:

-
:::python
+
:::python
 for i in range(10):
     print i
 
@@ -125,8 +125,8 @@ you already have one: Python comes with a built-in server that's great for viewing local files.

Build your docs, then in a separate terminal:

-
cd myproject/docs
-cd build
+
cd myproject/docs
+cd build
 python -m SimpleHTTPServer
 
@@ -146,7 +146,7 @@
+


Rochester Made

\ No newline at end of file diff -r dd80d93f061a -r 80ebae4e1e52 d/index.html --- 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 @@

No fiddling around with configuration files, themes, version numbers, obtuse markup, or multiple output formats.

Make some Markdown files. Run d. Move on.

-

d is open source on BitBucket and GitHub. It's MIT/X11 licensed.

Table of Contents

  1. Installation
  2. Usage
  3. Customization
  4. FAQs
+

d is open source on Source Hut and GitHub. It's MIT/X11 licensed.

Table of Contents

  1. Installation
  2. Usage
  3. Customization
  4. FAQs
+


Rochester Made

diff -r dd80d93f061a -r 80ebae4e1e52 d/installation/index.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 @@

d

Installation

You just need Python and pip:

-
pip install d
+
pip install d
 

You can use easy_install if you really want:

-
easy_install d
+
easy_install d
 
@@ -26,7 +26,7 @@

Troubleshooting

Some users have reported problems compiling the lxml library on OS X. If you get a message that looks like this when installing:

-
src/lxml/lxml.etree.c:165674: fatal error: error writing to -: Broken pipe
+
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 @@
 
 
 

Try running this command and installing again:

-
export ARCHFLAGS="-arch i386 -arch x86_64"
+
export ARCHFLAGS="-arch i386 -arch x86_64"
 
+


Rochester Made

\ No newline at end of file diff -r dd80d93f061a -r 80ebae4e1e52 d/usage/index.html --- 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 @@

Basic Flow

Make a directory for your docs:

-
mkdir docs
-cd docs
+
mkdir docs
+cd docs
 

Write some docs (UTF-8):

-
touch index.markdown
+
touch index.markdown
 touch installation.markdown
 touch usage.markdown
 
@@ -48,12 +48,12 @@
 
 
 

Render your docs:

-
d
+
d
 

Copy the output somewhere:

-
rsync -d build/ myserver:/var/www/myproject
+
rsync -d build/ myserver:/var/www/myproject
 
@@ -94,7 +94,7 @@ one.

Example

Here's a sample documentation file to get you started:

-
Installation
+
Installation
 ============
 
 Here's how to install my project.
@@ -130,7 +130,7 @@
                 
+


Rochester Made

\ No newline at end of file