From 001940f3f01217a85c17e0cf9ef5949adb6ebad4 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Tue, 9 Jan 2018 15:05:10 +0800 Subject: + init --- .gitignore | 12 +++ Dockerfile | 6 ++ Makefile | 20 +++++ _static/favicon.ico | Bin 0 -> 5430 bytes _static/flexboxgrid.min.css | 1 + _static/git-pull.css | 49 ++++++++++++ _static/img/bagua.png | Bin 0 -> 2748 bytes _static/img/books/amazon-logo.png | Bin 0 -> 17641 bytes _static/img/books/ibooks-logo.png | Bin 0 -> 52958 bytes _static/img/tony.svg | 1 + _static/leather/IMG_20131123_031223-medium.jpg | Bin 0 -> 64494 bytes _static/leather/IMG_20131123_031251-medium.jpg | Bin 0 -> 67905 bytes _static/leather/IMG_20131123_031318-medium.jpg | Bin 0 -> 91305 bytes _static/leather/IMG_20131123_031351-medium.jpg | Bin 0 -> 73678 bytes _static/leather/IMG_20131123_031647-medium.jpg | Bin 0 -> 54438 bytes _static/leather/IMG_20131123_031939-medium.jpg | Bin 0 -> 92348 bytes _templates/layout.html | 5 ++ _templates/more.html | 11 +++ conf.py | 105 +++++++++++++++++++++++++ index.rst | 20 +++++ 20 files changed, 230 insertions(+) create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 Makefile create mode 100755 _static/favicon.ico create mode 100755 _static/flexboxgrid.min.css create mode 100644 _static/git-pull.css create mode 100644 _static/img/bagua.png create mode 100644 _static/img/books/amazon-logo.png create mode 100644 _static/img/books/ibooks-logo.png create mode 100644 _static/img/tony.svg create mode 100644 _static/leather/IMG_20131123_031223-medium.jpg create mode 100644 _static/leather/IMG_20131123_031251-medium.jpg create mode 100644 _static/leather/IMG_20131123_031318-medium.jpg create mode 100644 _static/leather/IMG_20131123_031351-medium.jpg create mode 100644 _static/leather/IMG_20131123_031647-medium.jpg create mode 100644 _static/leather/IMG_20131123_031939-medium.jpg create mode 100644 _templates/layout.html create mode 100644 _templates/more.html create mode 100644 conf.py create mode 100644 index.rst diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bbe0afe --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# macOS +.DS_Store + +.env +*.pyc +*.tar.gz +*.egg-info + +_build + +# ignore virtualenvs +/*env*/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..49de25f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM python:3.6.0 + + + +FROM nginx + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6a109aa --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = sphinx-build +SPHINXPROJ = ring0xyz +SOURCEDIR = . +BUILDDIR = _build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file diff --git a/_static/favicon.ico b/_static/favicon.ico new file mode 100755 index 0000000..d5bb2bc Binary files /dev/null and b/_static/favicon.ico differ diff --git a/_static/flexboxgrid.min.css b/_static/flexboxgrid.min.css new file mode 100755 index 0000000..2f502c9 --- /dev/null +++ b/_static/flexboxgrid.min.css @@ -0,0 +1 @@ +.container,.container-fluid{margin-right:auto;margin-left:auto}.container-fluid{padding-right:2rem;padding-left:2rem}.row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-.5rem;margin-left:-.5rem}.row.reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.col.reverse{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.col-xs,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-offset-0,.col-xs-offset-1,.col-xs-offset-10,.col-xs-offset-11,.col-xs-offset-12,.col-xs-offset-2,.col-xs-offset-3,.col-xs-offset-4,.col-xs-offset-5,.col-xs-offset-6,.col-xs-offset-7,.col-xs-offset-8,.col-xs-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.col-xs{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xs-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-xs-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-xs-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xs-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-xs-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-xs-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xs-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-xs-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-xs-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xs-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-xs-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-xs-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.start-xs{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-xs{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-xs{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-xs{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-xs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-xs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-xs{-ms-flex-pack:distribute;justify-content:space-around}.between-xs{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-xs{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-xs{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}@media only screen and (min-width:48em){.container{width:49rem}.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-offset-0,.col-sm-offset-1,.col-sm-offset-10,.col-sm-offset-11,.col-sm-offset-12,.col-sm-offset-2,.col-sm-offset-3,.col-sm-offset-4,.col-sm-offset-5,.col-sm-offset-6,.col-sm-offset-7,.col-sm-offset-8,.col-sm-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.col-sm{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-sm-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-sm-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-sm-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-sm-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-sm-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-sm-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-sm-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-sm-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-sm-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-sm-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-sm-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-sm-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.start-sm{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-sm{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-sm{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-sm{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-sm{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-sm{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-sm{-ms-flex-pack:distribute;justify-content:space-around}.between-sm{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-sm{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-sm{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}}@media only screen and (min-width:64em){.container{width:65rem}.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-offset-0,.col-md-offset-1,.col-md-offset-10,.col-md-offset-11,.col-md-offset-12,.col-md-offset-2,.col-md-offset-3,.col-md-offset-4,.col-md-offset-5,.col-md-offset-6,.col-md-offset-7,.col-md-offset-8,.col-md-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.col-md{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-md-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-md-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-md-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-md-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-md-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-md-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-md-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-md-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-md-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-md-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-md-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-md-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.start-md{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-md{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-md{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-md{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-md{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-md{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-md{-ms-flex-pack:distribute;justify-content:space-around}.between-md{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-md{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-md{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}}@media only screen and (min-width:75em){.container{width:76rem}.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-offset-0,.col-lg-offset-1,.col-lg-offset-10,.col-lg-offset-11,.col-lg-offset-12,.col-lg-offset-2,.col-lg-offset-3,.col-lg-offset-4,.col-lg-offset-5,.col-lg-offset-6,.col-lg-offset-7,.col-lg-offset-8,.col-lg-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.col-lg{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-lg-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-lg-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-lg-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-lg-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-lg-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-lg-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-lg-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-lg-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-lg-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-lg-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-lg-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-lg-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.start-lg{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-lg{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-lg{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-lg{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-lg{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-lg{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-lg{-ms-flex-pack:distribute;justify-content:space-around}.between-lg{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-lg{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-lg{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}} \ No newline at end of file diff --git a/_static/git-pull.css b/_static/git-pull.css new file mode 100644 index 0000000..81e3aa2 --- /dev/null +++ b/_static/git-pull.css @@ -0,0 +1,49 @@ +h1.logo { font-size: 13px; } +img.logo { margin: 0 0 20px 0; } + +div.book-container > p { + text-align: center; +} + +div.book-container { + background: rgba(250, 251, 252, 0.75); + border-left: 5px solid rgba(85, 138, 187, 0.75); + margin-top: 10px; +} + +div.book-container:hover { + background: rgba(250, 251, 252, 1); + border-left: 5px solid rgba(85, 138, 187, 1); +} + +div.book-container .hsk-right p:first-of-type, +div.book-container .rightside-book p:first-of-type +{ + padding-top: 10px; +} + +/* flexbox.css overrides */ + +@media only screen and (min-width: 75em), +@media only screen and (min-width: 64em), +@media only screen and (min-width: 48em) { + .container { + width: auto !important + } +} + +.project div.figure p.caption { + margin-bottom: 0px; +} + +.book-container a.reference:hover, +.project a.reference:hover { + border-bottom: 0px; +} + +/* attempt to fix flexbox in screen responsiveness at mid-width */ +@media only screen and (min-width: 64em) { + .container { + width: auto !important; + } +} diff --git a/_static/img/bagua.png b/_static/img/bagua.png new file mode 100644 index 0000000..16e63d8 Binary files /dev/null and b/_static/img/bagua.png differ diff --git a/_static/img/books/amazon-logo.png b/_static/img/books/amazon-logo.png new file mode 100644 index 0000000..4f8bc02 Binary files /dev/null and b/_static/img/books/amazon-logo.png differ diff --git a/_static/img/books/ibooks-logo.png b/_static/img/books/ibooks-logo.png new file mode 100644 index 0000000..8d00c53 Binary files /dev/null and b/_static/img/books/ibooks-logo.png differ diff --git a/_static/img/tony.svg b/_static/img/tony.svg new file mode 100644 index 0000000..4da1c75 --- /dev/null +++ b/_static/img/tony.svg @@ -0,0 +1 @@ +tony \ No newline at end of file diff --git a/_static/leather/IMG_20131123_031223-medium.jpg b/_static/leather/IMG_20131123_031223-medium.jpg new file mode 100644 index 0000000..a16ef61 Binary files /dev/null and b/_static/leather/IMG_20131123_031223-medium.jpg differ diff --git a/_static/leather/IMG_20131123_031251-medium.jpg b/_static/leather/IMG_20131123_031251-medium.jpg new file mode 100644 index 0000000..65aa9d6 Binary files /dev/null and b/_static/leather/IMG_20131123_031251-medium.jpg differ diff --git a/_static/leather/IMG_20131123_031318-medium.jpg b/_static/leather/IMG_20131123_031318-medium.jpg new file mode 100644 index 0000000..3129b57 Binary files /dev/null and b/_static/leather/IMG_20131123_031318-medium.jpg differ diff --git a/_static/leather/IMG_20131123_031351-medium.jpg b/_static/leather/IMG_20131123_031351-medium.jpg new file mode 100644 index 0000000..268f41e Binary files /dev/null and b/_static/leather/IMG_20131123_031351-medium.jpg differ diff --git a/_static/leather/IMG_20131123_031647-medium.jpg b/_static/leather/IMG_20131123_031647-medium.jpg new file mode 100644 index 0000000..7c79987 Binary files /dev/null and b/_static/leather/IMG_20131123_031647-medium.jpg differ diff --git a/_static/leather/IMG_20131123_031939-medium.jpg b/_static/leather/IMG_20131123_031939-medium.jpg new file mode 100644 index 0000000..f4ac2ca Binary files /dev/null and b/_static/leather/IMG_20131123_031939-medium.jpg differ diff --git a/_templates/layout.html b/_templates/layout.html new file mode 100644 index 0000000..872da94 --- /dev/null +++ b/_templates/layout.html @@ -0,0 +1,5 @@ +{# Import the theme's layout. #} +{% extends "!layout.html" %} + +{# Include our new CSS file into existing ones. #} +{% set css_files = css_files + ['_static/flexboxgrid.min.css', '_static/git-pull.css']%} diff --git a/_templates/more.html b/_templates/more.html new file mode 100644 index 0000000..e6bb217 --- /dev/null +++ b/_templates/more.html @@ -0,0 +1,11 @@ +{% extends '!more.html' %} +{% block projects_header %}

Projects

{% endblock %} + +{% block more_content %} + +Follow @clarkzjw + + + +Tweets by clarkzjw +{% endblock %} diff --git a/conf.py b/conf.py new file mode 100644 index 0000000..c2556f6 --- /dev/null +++ b/conf.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- + +import alagitpull +alagitpull.projects = [ + { + 'name': 'unihan-etl', + 'url': 'https://unihan-etl.git-pull.com', + 'subprojects': [{ + 'name': 'db', + 'url': 'https://unihan-db.git-pull.com', + }] + }, { + 'name': 'tmuxp', + 'url': 'https://tmuxp.git-pull.com', + 'subprojects': [{ + 'name': 'libtmux', + 'url': 'https://libtmux.git-pull.com', + }] + }, + { + 'name': 'vcspull', + 'url': 'https://vcspull.git-pull.com', + 'subprojects': [{ + 'name': 'libvcs', + 'url': 'https://libvcs.git-pull.com', + }] + } +] + +extensions = [ + 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', + 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'alagitpull' +] + +html_title = 'Hello World' + +templates_path = ['_templates'] + +source_suffix = '.rst' + +master_doc = 'index' + +project = u'ring0.xyz 🍵' +copyright = u'2013 - 2018, clarkzjw' # NOQA + +version = '0.0' +release = '0.0' + +exclude_patterns = ['_build', '.venv'] + +pygments_style = 'sphinx' + +html_theme_path = [alagitpull.get_path()] +html_theme = 'alagitpull' +html_favicon = 'favicon.ico' +html_theme_options = { + 'logo': 'img/bagua.png', + 'projects': alagitpull.projects, +} +html_sidebars = { + '**': [ + 'about.html', + 'relations.html', + 'more.html', + ] +} + +html_static_path = ['_static'] + +htmlhelp_basename = 'confuciangentlemansclubdoc' + + +latex_elements = { +} + +latex_documents = [ + ('index', 'confuciangentlemansclub.tex', u'confucian gentleman\'s', + u'Tony Narlock', 'manual'), +] + +man_pages = [ + ('index', 'confuciangentlemansclub', u'confucian gentleman\'s club', + [u'Tony Narlock'], 1) +] + +texinfo_documents = [ + ('index', 'confuciangentlemansclub', u'confucian gentleman\'s club', + u'Tony Narlock', 'confuciangentlemansclub', 'Scribe.', + 'Miscellaneous'), +] + +intersphinx_mapping = { + 'https://docs.python.org/2/': None, + 'sphinx': ('https://sphinx.readthedocs.io/en/latest/', None), + 'django': ( + 'https://docs.djangoproject.com/en/1.11/', + 'https://docs.djangoproject.com/en/1.11/_objects/' + ), + 'flask': ('http://flask.pocoo.org/docs/', None), + 'flask-sqlalchemy': ('http://flask-sqlalchemy.pocoo.org/2.2/', None), + 'werkzeug': ('http://werkzeug.pocoo.org/docs/0.12/', None), + 'jinja': ('http://jinja.pocoo.org/docs/dev', None), + 'sqlalchemy': ('http://docs.sqlalchemy.org/en/latest/', None), + 'uwsgi': ('https://uwsgi-docs.readthedocs.io/en/latest/', None), +} diff --git a/index.rst b/index.rst new file mode 100644 index 0000000..556ccb8 --- /dev/null +++ b/index.rst @@ -0,0 +1,20 @@ +.. ring0.xyz documentation master file, created by + sphinx-quickstart on Tue Jan 9 11:54:09 2018. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to ring0.xyz's documentation! +===================================== + +.. toctree:: + :maxdepth: 2 + :caption: Contents: + + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` -- cgit v1.2.3