6e5adbf46d65

Update URLs and style changes
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 23 Dec 2019 15:38:19 -0500
parents e6360da62654
children 962f72422276
branches/tags (none)
files README.markdown d/resources/goodwolf.css docs/index.markdown docs/publish.sh setup.py

Changes

--- a/README.markdown	Mon Dec 23 15:36:54 2019 -0500
+++ b/README.markdown	Mon Dec 23 15:38:19 2019 -0500
@@ -1,4 +1,4 @@
 d
 =
 
-[Read the docs](http://sjl.bitbucket.org/d/).
+[Read the docs](https://docs.stevelosh.com/d/).
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/d/resources/goodwolf.css	Mon Dec 23 15:38:19 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/docs/index.markdown	Mon Dec 23 15:36:54 2019 -0500
+++ b/docs/index.markdown	Mon Dec 23 15:38:19 2019 -0500
@@ -9,7 +9,7 @@
 
 Make some Markdown files.  Run `d`.  Move on.
 
-`d` is open source on [BitBucket][] and [GitHub][].  It's MIT/X11 licensed.
+`d` is open source on [Source Hut][] and [GitHub][].  It's MIT/X11 licensed.
 
-[BitBucket]: http://bitbucket.org/sjl/d
+[Source Hut]: https://hg.sr.ht/~sjl/d
 [GitHub]: http://github.com/sjl/d
--- a/docs/publish.sh	Mon Dec 23 15:36:54 2019 -0500
+++ b/docs/publish.sh	Mon Dec 23 15:38:19 2019 -0500
@@ -2,7 +2,7 @@
 
 rm -rf ./build
 ~/.virtualenvs/d/bin/python ../bin/d
-hg -R ~/src/sjl.bitbucket.org pull -u
-rsync --delete -a ./build/ ~/src/sjl.bitbucket.org/d
-hg -R ~/src/sjl.bitbucket.org commit -Am 'd: Update site.'
-hg -R ~/src/sjl.bitbucket.org push
+hg -R ~/src/docs.stevelosh.com pull -u
+rsync --delete -a ./build/ ~/src/docs.stevelosh.com/d
+hg -R ~/src/docs.stevelosh.com commit -Am 'd: Update site.'
+hg -R ~/src/docs.stevelosh.com push
--- a/setup.py	Mon Dec 23 15:36:54 2019 -0500
+++ b/setup.py	Mon Dec 23 15:38:19 2019 -0500
@@ -7,10 +7,10 @@
     author_email='steve@stevelosh.com',
     packages=['d'],
     scripts=['bin/d'],
-    url='http://sjl.bitbucket.org/d/',
+    url='https://docs.stevelosh.com/d/',
     license='MIT',
     description="Documentation generation that won't make you tear your hair out.",
-    long_description='Read the documentation at http://sjl.bitbucket.org/d/',
+    long_description='Read the documentation at https://docs.stevelosh.com/d/',
     install_requires=[
         'Markdown',
         'pyquery',