aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.lastmodify2
-rw-r--r--_posts/2018/01/new-blog.html196
-rw-r--r--_sources/_posts/2017/12/movies.rst.txt2
-rw-r--r--_sources/_posts/2018/01/new-blog.rst.txt93
-rw-r--r--objects.invbin280 -> 341 bytes
-rw-r--r--rss.xml91
-rw-r--r--searchindex.js2
7 files changed, 383 insertions, 3 deletions
diff --git a/.lastmodify b/.lastmodify
index 69962e4..9d4a00c 100644
--- a/.lastmodify
+++ b/.lastmodify
@@ -1 +1 @@
Mon Jan 15 13:26:27 UTC 2018 Mon Jan 15 15:00:18 UTC 2018
diff --git a/_posts/2018/01/new-blog.html b/_posts/2018/01/new-blog.html
new file mode 100644
index 0000000..d90a82d
--- /dev/null
+++ b/_posts/2018/01/new-blog.html
@@ -0,0 +1,196 @@
1
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6<html xmlns="http://www.w3.org/1999/xhtml">
7 <head>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title>又一个新的博客 &#8212; Hello World</title>
10 <link rel="stylesheet" href="../../../_static/alagitpull.css" type="text/css" />
11 <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
12 <link rel="stylesheet" href="../../../_static/flexboxgrid.min.css" type="text/css" />
13 <link rel="stylesheet" href="../../../_static/git-pull.css" type="text/css" />
14 <script type="text/javascript">
15 var DOCUMENTATION_OPTIONS = {
16 URL_ROOT: '../../../',
17 VERSION: '0.0',
18 COLLAPSE_INDEX: false,
19 FILE_SUFFIX: '.html',
20 HAS_SOURCE: true,
21 SOURCELINK_SUFFIX: '.txt'
22 };
23 </script>
24 <script type="text/javascript" src="../../../_static/jquery.js"></script>
25 <script type="text/javascript" src="../../../_static/underscore.js"></script>
26 <script type="text/javascript" src="../../../_static/doctools.js"></script>
27 <link rel="shortcut icon" href="../../../_static/favicon.ico"/>
28 <link rel="index" title="Index" href="../../../genindex.html" />
29 <link rel="search" title="Search" href="../../../search.html" />
30
31 <link rel="stylesheet" href="../../../_static/custom.css" type="text/css" />
32
33
34 <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
35
36 </head>
37 <body>
38
39
40
41 <div class="document">
42 <div class="documentwrapper">
43 <div class="bodywrapper">
44 <div class="body" role="main">
45
46 <div class="section" id="newblog">
47<span id="id1"></span><h1>又一个新的博客<a class="headerlink" href="#newblog" title="Permalink to this headline">¶</a></h1>
48<table class="docutils field-list" frame="void" rules="none">
49<col class="field-name" />
50<col class="field-body" />
51<tbody valign="top">
52<tr class="field-odd field"><th class="field-name">Publish Date:</th><td class="field-body">2018-01-15</td>
53</tr>
54</tbody>
55</table>
56<p>前段时间有朋友和我抱怨博客加载速度太慢了(。之前的博客架在Blogger上,为了让排版稍微美观一些,找了一个第三方的主题,加载了许多外部的
57资源,导致网页载入速度非常慢。虽然我自己对于网站在国内的加载速度毫不在意,但是既然还有读者(少的可怜)在看,以及在这极少的读者中有用
58户提出了这个问题,那就得解决。前段时间无意中看到一个博客( <a class="reference external" href="https://www.git-pull.com/index.html">git-pull</a> ),觉得主题简洁而又美观,于是开始
59着手改造自己的博客。</p>
60<p>这次用了「大名鼎鼎」的 <a class="reference external" href="http://www.sphinx-doc.org/en/stable/">Sphinx</a> ,一个软件开发过程中的文档生成工具来作为博客的静态网页生成引擎。
61上手Sphinx非常简单,sphinx-quickstart这个工具和一般的博客生成器一样,集成了很多功能,把Makefile都写好了,可以说是完全开箱即用了。
62Sphinx的默认主题是 <a class="reference external" href="https://alabaster.readthedocs.io/en/latest/">Alabaster</a> ,现在你看到的这个主题就是在Alabaster上修改而来的。</p>
63<p>Sphinx的文档书写采用的是*.rst格式的文本,即 <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> ,而不是Markdown。相比
64之前,rst比Markdown的语法更加丰富/复杂,同时也提供了更加丰富的功能和可扩展性(虽然我估计我只能用到其中的20%甚至更少啦)。不清楚rst和
65Emacs社区的 <a class="reference external" href="https://orgmode.org/">Org Mode</a> 相比哪一个的语法更加复杂呢。(</p>
66<p>建设博客离不开几件事情。首先当然就是部署运维啦。Sphinx通过Makefile可以生成静态html网页,托管静态html最方便的地方当然是GitHub Pages啦。
67最简单粗暴的方法是在本地的环境中写完rst文本,然后本地 make html 通过之后,将html推送到GitHub Pages中。但是这种方式的移植性不高,想写
68博客的话必须坐在自己的电脑前,同时依然存在一些手动的工作。所以当然选择Docker啦。但是这次用Docker的姿势和以往不同。平时我们用Docker的时候
69最终都是想要得到docker build的产物docker image,然后由image来进行部署。但是我们这次的目标是GitHub Pages,没法部署容器。所以我在
70Dockerfile中生成静态html网页,然后在构建的过程中将静态网页push到repo的gh-pages分支中。当然其实不用Docker也能做到这一点。写一个脚本,
71然后在CI平台上执行脚本也行,就不做优劣对比了。</p>
72<p>值得一提的是,Docker在17.05-ce版本之后引入了multi stage build的功能,可以在Dockerfile中FROM多个基础镜像,在下一个stage可以直接使用
73之前stage构建出的产物。以我的博客这个项目为例。假如我是想通过image来部署,那么我最终的产物是静态html文件,那么我可能需要一个nginx的基础
74镜像。nginx:alpine 这个基础镜像很小,不到10MB,在Dockerfile里面将html文件COPY进去之后,最终得到的image也只有10MB左右的大小。但是
75之前我们为了得到静态html文件,可能得选用一个python的基础镜像,然后再apt/apk安装一些必要的编译工具,最终只是为了几百kb的html文件,但是
76构建的镜像已经上百MB了。有了multi stage build之后,这个问题便非常好地被解决了。看了下面的Dockerfile之后,整体思路就非常清晰了。</p>
77<div class="highlight-bash"><div class="highlight"><pre><span></span>FROM python:3.6.0 as builder
78LABEL <span class="nv">maintainer</span><span class="o">=</span>clarkzjw&lt;[email protected]&gt;
79RUN pip install virtualenv
80COPY requirements.txt /app/requirements.txt
81COPY bootstrap.py /app/bootstrap.py
82RUN /app/bootstrap.py
83ADD . /app
84WORKDIR /app
85RUN /bin/bash -c <span class="s2">&quot;source /app/.venv/bin/activate &amp;&amp; make html &amp;&amp; make rss &amp;&amp; cp rss.xml _build/html&quot;</span>
86
87
88FROM alpine:latest
89RUN sed -i <span class="s1">&#39;s/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g&#39;</span> /etc/apk/repositories
90RUN apk add --update git openssh-client <span class="o">&amp;&amp;</span> rm -rf /var/cache/apk/*
91WORKDIR /html
92ENV <span class="nv">COMMIT_USER</span><span class="o">=</span><span class="s2">&quot;clarkzjw&quot;</span>
93ENV <span class="nv">COMMIT_EMAIL</span><span class="o">=</span><span class="s2">&quot;[email protected]&quot;</span>
94ARG <span class="nv">GIT_TOKEN</span><span class="o">=</span><span class="s2">&quot;&quot;</span>
95RUN git config --global user.email <span class="nv">$COMMIT_EMAIL</span> <span class="o">&amp;&amp;</span> git config --global user.name <span class="nv">$COMMIT_USER</span>
96RUN git clone https://clarkzjw:<span class="nv">$GIT_TOKEN</span>@github.com/clarkzjw/blog.jinwei.me.git /html <span class="o">&amp;&amp;</span> git checkout gh-pages
97COPY --from<span class="o">=</span>builder /app/_build/html /html
98RUN <span class="nb">echo</span> <span class="s2">&quot;`date`&quot;</span> &gt; /html/.lastmodify <span class="o">&amp;&amp;</span> git add -A <span class="o">&amp;&amp;</span> git commit -m <span class="s2">&quot;`date`&quot;</span> <span class="o">&amp;&amp;</span> git push origin gh-pages
99
100
101FROM nginx:alpine
102COPY --from<span class="o">=</span>builder /app/_build/html /usr/share/nginx/html
103</pre></div>
104</div>
105<p>另外一个问题是博客的RSS。由于Sphinx最初的设计是作为一个文档生成工具,目前市面上有的和Sphinx结合的RSS生成工具大致有:</p>
106<ul class="simple">
107<li>Sphinx-contrib模块中的 <a class="reference external" href="https://bitbucket.org/birkenfeld/sphinx-contrib/src/tip/feed/">feed</a></li>
108<li>在sphinxcontrib.feed基础上开发的 <a class="reference external" href="https://github.com/junkafarian/sphinxfeed">sphinxfeed</a></li>
109<li>以及更新一点的 <a class="reference external" href="https://pypi.python.org/pypi/sphinxcontrib-newsfeed">sphinxcontrib-newsfeed</a></li>
110</ul>
111<p>其中sphinxcontrib.feed和sphinxfeed的功能性更新都停止在2011年,不兼容Python 3,GitHub上有几个fork,但是也基本没有太多的改进。至于
112sphinxcontrib-newsfeed,并不能生成符合RSS规范的输出。。。所以只好自己简单粗暴造一个轮子了!(至少生成的xml能被RSS阅读器认识。。。</p>
113<p>至于评论嘛。虽然博客流量小,2017年下来一年也没有10条评论,但是作为一个博客,这个功能还是必须得有!考察了目前市面上的评论方案,Disqus现在
114差不多可以算是一家独大了。但是十分不喜欢Disqus。一个页面要加载的无关的数据太多了。然后看到了 <a class="reference external" href="https://github.com/posativ/isso">Isso</a> , 第一印象还不错,但是需要自己单独部
115署。为了一年10条评论不到的数量级单独部署似乎成本略高。之前还见到了 <a class="reference external" href="https://staticman.net">Staticman</a> , 但是这个方案和GitHub的issue绑定,一个博客实例对应
116GitHub的一个repo,然后每篇文章的评论对应这个repo中的issue。但是我不太能接受,毕竟不能强制每个评论的用户都有GitHub帐号。
117今天无意中看到了 <a class="reference external" href="https://just-comments.com/">just-comments</a> , 也是一个SaaS解决方案,但是非常地极简,决定先用着试试效果。(</p>
118<p>下一步,打算在博客中加入 <a class="reference external" href="https://css.hanzi.co/">漢字標準格式</a> 这套排版框架。毕竟现在的页面排版看起来怪怪的,以及并不美观。(</p>
119</div>
120
121
122 <div class="just-comments"
123 data-allowguests="true"
124 data-apikey="4bb18080-e236-4513-bd72-3a032f35d3bb">
125 </div>
126 <script async defer src="https://just-comments.com/w.js"></script>
127 <script async defer src="https://buttons.github.io/buttons.js"></script>
128 <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
129 </div>
130 </div>
131 </div>
132 <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
133 <div class="sphinxsidebarwrapper">
134<p class="logo">
135 <a href="../../../index.html">
136 <img class="logo" src="../../../_static/img/terminal-icon.png" alt="Logo"/>
137
138 </a>
139</p>
140
141
142
143
144
145
146
147
148<div class="relations">
149<h3>Related Topics</h3>
150<ul>
151 <li><a href="../../../index.html">Documentation overview</a><ul>
152 </ul></li>
153</ul>
154</div><h3>Projects</h3>
155
156<ul>
157 <li><a href="https://github.com/clarkzjw/Dehaze">Dehaze</a>
158 </li>
159 <li><a href="https://github.com/clarkzjw/GuidedFilter">GuidedFilter</a>
160 </li>
161 <li><a href="https://github.com/clarkzjw/LumberJack">LumberJack</a>
162 </li>
163 <li><a href="https://github.com/clarkzjw/one-two-three...infinity">one-two-three...infinity</a>
164 </li>
165 <li><a href="https://github.com/clarkzjw/nginx-proxy-google">nginx-proxy-google</a>
166 </li>
167 <li><a href="https://github.com/clarkzjw/brainfuck">brainfuck</a>
168 </li>
169</ul>
170
171<a class="github-button" href="https://github.com/clarkzjw" aria-label="Follow @clarkzjw on GitHub">Follow @clarkzjw</a>
172
173<a class="twitter-timeline" data-width="220" data-height="800" href="https://twitter.com/_clarkzjw">Tweets by
174 clarkzjw</a>
175
176 </div>
177 </div>
178 <div class="clearer"></div>
179 </div>
180 <div class="footer">
181 &copy;2013 - 2018, clarkzjw.
182
183 |
184 Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.6</a>
185 &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>
186
187 |
188 <a href="../../../_sources/_posts/2018/01/new-blog.rst.txt"
189 rel="nofollow">Page source</a>
190 </div>
191
192
193
194
195 </body>
196</html> \ No newline at end of file
diff --git a/_sources/_posts/2017/12/movies.rst.txt b/_sources/_posts/2017/12/movies.rst.txt
index 6be761d..1a16c37 100644
--- a/_sources/_posts/2017/12/movies.rst.txt
+++ b/_sources/_posts/2017/12/movies.rst.txt
@@ -4,7 +4,7 @@
4 4
5 5
62017观影记录 62017观影记录
7=================== 7===========
8 8
9:Publish Date: 2017-12-30 9:Publish Date: 2017-12-30
10 10
diff --git a/_sources/_posts/2018/01/new-blog.rst.txt b/_sources/_posts/2018/01/new-blog.rst.txt
new file mode 100644
index 0000000..e7857e5
--- /dev/null
+++ b/_sources/_posts/2018/01/new-blog.rst.txt
@@ -0,0 +1,93 @@
1:orphan:
2
3.. _2018newblog:
4
5又一个新的博客
6==============
7
8:Publish Date: 2018-01-15
9
10前段时间有朋友和我抱怨博客加载速度太慢了(。之前的博客架在Blogger上,为了让排版稍微美观一些,找了一个第三方的主题,加载了许多外部的
11资源,导致网页载入速度非常慢。虽然我自己对于网站在国内的加载速度毫不在意,但是既然还有读者(少的可怜)在看,以及在这极少的读者中有用
12户提出了这个问题,那就得解决。前段时间无意中看到一个博客( `git-pull`_ ),觉得主题简洁而又美观,于是开始
13着手改造自己的博客。
14
15.. _git-pull: https://www.git-pull.com/index.html
16
17这次用了「大名鼎鼎」的 `Sphinx`_ ,一个软件开发过程中的文档生成工具来作为博客的静态网页生成引擎。
18上手Sphinx非常简单,sphinx-quickstart这个工具和一般的博客生成器一样,集成了很多功能,把Makefile都写好了,可以说是完全开箱即用了。
19Sphinx的默认主题是 `Alabaster`_ ,现在你看到的这个主题就是在Alabaster上修改而来的。
20
21Sphinx的文档书写采用的是*.rst格式的文本,即 `reStructuredText`_ ,而不是Markdown。相比
22之前,rst比Markdown的语法更加丰富/复杂,同时也提供了更加丰富的功能和可扩展性(虽然我估计我只能用到其中的20%甚至更少啦)。不清楚rst和
23Emacs社区的 `Org Mode`_ 相比哪一个的语法更加复杂呢。(
24
25建设博客离不开几件事情。首先当然就是部署运维啦。Sphinx通过Makefile可以生成静态html网页,托管静态html最方便的地方当然是GitHub Pages啦。
26最简单粗暴的方法是在本地的环境中写完rst文本,然后本地 make html 通过之后,将html推送到GitHub Pages中。但是这种方式的移植性不高,想写
27博客的话必须坐在自己的电脑前,同时依然存在一些手动的工作。所以当然选择Docker啦。但是这次用Docker的姿势和以往不同。平时我们用Docker的时候
28最终都是想要得到docker build的产物docker image,然后由image来进行部署。但是我们这次的目标是GitHub Pages,没法部署容器。所以我在
29Dockerfile中生成静态html网页,然后在构建的过程中将静态网页push到repo的gh-pages分支中。当然其实不用Docker也能做到这一点。写一个脚本,
30然后在CI平台上执行脚本也行,就不做优劣对比了。
31
32值得一提的是,Docker在17.05-ce版本之后引入了multi stage build的功能,可以在Dockerfile中FROM多个基础镜像,在下一个stage可以直接使用
33之前stage构建出的产物。以我的博客这个项目为例。假如我是想通过image来部署,那么我最终的产物是静态html文件,那么我可能需要一个nginx的基础
34镜像。nginx:alpine 这个基础镜像很小,不到10MB,在Dockerfile里面将html文件COPY进去之后,最终得到的image也只有10MB左右的大小。但是
35之前我们为了得到静态html文件,可能得选用一个python的基础镜像,然后再apt/apk安装一些必要的编译工具,最终只是为了几百kb的html文件,但是
36构建的镜像已经上百MB了。有了multi stage build之后,这个问题便非常好地被解决了。看了下面的Dockerfile之后,整体思路就非常清晰了。
37
38.. code-block:: bash
39
40 FROM python:3.6.0 as builder
41 LABEL maintainer=clarkzjw<[email protected]>
42 RUN pip install virtualenv
43 COPY requirements.txt /app/requirements.txt
44 COPY bootstrap.py /app/bootstrap.py
45 RUN /app/bootstrap.py
46 ADD . /app
47 WORKDIR /app
48 RUN /bin/bash -c "source /app/.venv/bin/activate && make html && make rss && cp rss.xml _build/html"
49
50
51 FROM alpine:latest
52 RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
53 RUN apk add --update git openssh-client && rm -rf /var/cache/apk/*
54 WORKDIR /html
55 ENV COMMIT_USER="clarkzjw"
56 ENV COMMIT_EMAIL="[email protected]"
57 ARG GIT_TOKEN=""
58 RUN git config --global user.email $COMMIT_EMAIL && git config --global user.name $COMMIT_USER
59 RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages
60 COPY --from=builder /app/_build/html /html
61 RUN echo "`date`" > /html/.lastmodify && git add -A && git commit -m "`date`" && git push origin gh-pages
62
63
64 FROM nginx:alpine
65 COPY --from=builder /app/_build/html /usr/share/nginx/html
66
67
68另外一个问题是博客的RSS。由于Sphinx最初的设计是作为一个文档生成工具,目前市面上有的和Sphinx结合的RSS生成工具大致有:
69
70- Sphinx-contrib模块中的 `feed <https://bitbucket.org/birkenfeld/sphinx-contrib/src/tip/feed/>`__
71
72- 在sphinxcontrib.feed基础上开发的 `sphinxfeed <https://github.com/junkafarian/sphinxfeed>`__
73
74- 以及更新一点的 `sphinxcontrib-newsfeed <https://pypi.python.org/pypi/sphinxcontrib-newsfeed>`__
75
76其中sphinxcontrib.feed和sphinxfeed的功能性更新都停止在2011年,不兼容Python 3,GitHub上有几个fork,但是也基本没有太多的改进。至于
77sphinxcontrib-newsfeed,并不能生成符合RSS规范的输出。。。所以只好自己简单粗暴造一个轮子了!(至少生成的xml能被RSS阅读器认识。。。
78
79至于评论嘛。虽然博客流量小,2017年下来一年也没有10条评论,但是作为一个博客,这个功能还是必须得有!考察了目前市面上的评论方案,Disqus现在
80差不多可以算是一家独大了。但是十分不喜欢Disqus。一个页面要加载的无关的数据太多了。然后看到了 `Isso`_ , 第一印象还不错,但是需要自己单独部
81署。为了一年10条评论不到的数量级单独部署似乎成本略高。之前还见到了 `Staticman`_ , 但是这个方案和GitHub的issue绑定,一个博客实例对应
82GitHub的一个repo,然后每篇文章的评论对应这个repo中的issue。但是我不太能接受,毕竟不能强制每个评论的用户都有GitHub帐号。
83今天无意中看到了 `just-comments`_ , 也是一个SaaS解决方案,但是非常地极简,决定先用着试试效果。(
84
85下一步,打算在博客中加入 `漢字標準格式 <https://css.hanzi.co/>`_ 这套排版框架。毕竟现在的页面排版看起来怪怪的,以及并不美观。(
86
87.. _Org Mode: https://orgmode.org/
88.. _reStructuredText: http://docutils.sourceforge.net/rst.html
89.. _Alabaster: https://alabaster.readthedocs.io/en/latest/
90.. _Sphinx: http://www.sphinx-doc.org/en/stable/
91.. _Isso: https://github.com/posativ/isso
92.. _Staticman: https://staticman.net
93.. _just-comments: https://just-comments.com/ \ No newline at end of file
diff --git a/objects.inv b/objects.inv
index ba90f9b..bbdd70b 100644
--- a/objects.inv
+++ b/objects.inv
Binary files differ
diff --git a/rss.xml b/rss.xml
index 35aaa2c..806e7d0 100644
--- a/rss.xml
+++ b/rss.xml
@@ -94,5 +94,96 @@ House Of Cards, Season 1
94 <guid isPermaLink="true">https://blog.jinwei.me/_posts/2017/12/movies.html</guid> 94 <guid isPermaLink="true">https://blog.jinwei.me/_posts/2017/12/movies.html</guid>
95 </item> 95 </item>
96 96
97 <item>
98 <title>又一个新的博客 — Hello World</title>
99 <description>
100
101
102又一个新的博客¶
103
104
105
106
107Publish Date:2018-01-15
108
109
110
111前段时间有朋友和我抱怨博客加载速度太慢了(。之前的博客架在Blogger上,为了让排版稍微美观一些,找了一个第三方的主题,加载了许多外部的
112资源,导致网页载入速度非常慢。虽然我自己对于网站在国内的加载速度毫不在意,但是既然还有读者(少的可怜)在看,以及在这极少的读者中有用
113户提出了这个问题,那就得解决。前段时间无意中看到一个博客( git-pull ),觉得主题简洁而又美观,于是开始
114着手改造自己的博客。
115这次用了「大名鼎鼎」的 Sphinx ,一个软件开发过程中的文档生成工具来作为博客的静态网页生成引擎。
116上手Sphinx非常简单,sphinx-quickstart这个工具和一般的博客生成器一样,集成了很多功能,把Makefile都写好了,可以说是完全开箱即用了。
117Sphinx的默认主题是 Alabaster ,现在你看到的这个主题就是在Alabaster上修改而来的。
118Sphinx的文档书写采用的是*.rst格式的文本,即 reStructuredText ,而不是Markdown。相比
119之前,rst比Markdown的语法更加丰富/复杂,同时也提供了更加丰富的功能和可扩展性(虽然我估计我只能用到其中的20%甚至更少啦)。不清楚rst和
120Emacs社区的 Org Mode 相比哪一个的语法更加复杂呢。(
121建设博客离不开几件事情。首先当然就是部署运维啦。Sphinx通过Makefile可以生成静态html网页,托管静态html最方便的地方当然是GitHub Pages啦。
122最简单粗暴的方法是在本地的环境中写完rst文本,然后本地 make html 通过之后,将html推送到GitHub Pages中。但是这种方式的移植性不高,想写
123博客的话必须坐在自己的电脑前,同时依然存在一些手动的工作。所以当然选择Docker啦。但是这次用Docker的姿势和以往不同。平时我们用Docker的时候
124最终都是想要得到docker build的产物docker image,然后由image来进行部署。但是我们这次的目标是GitHub Pages,没法部署容器。所以我在
125Dockerfile中生成静态html网页,然后在构建的过程中将静态网页push到repo的gh-pages分支中。当然其实不用Docker也能做到这一点。写一个脚本,
126然后在CI平台上执行脚本也行,就不做优劣对比了。
127值得一提的是,Docker在17.05-ce版本之后引入了multi stage build的功能,可以在Dockerfile中FROM多个基础镜像,在下一个stage可以直接使用
128之前stage构建出的产物。以我的博客这个项目为例。假如我是想通过image来部署,那么我最终的产物是静态html文件,那么我可能需要一个nginx的基础
129镜像。nginx:alpine 这个基础镜像很小,不到10MB,在Dockerfile里面将html文件COPY进去之后,最终得到的image也只有10MB左右的大小。但是
130之前我们为了得到静态html文件,可能得选用一个python的基础镜像,然后再apt/apk安装一些必要的编译工具,最终只是为了几百kb的html文件,但是
131构建的镜像已经上百MB了。有了multi stage build之后,这个问题便非常好地被解决了。看了下面的Dockerfile之后,整体思路就非常清晰了。
132FROM python:3.6.0 as builder
133LABEL maintainer=clarkzjw&lt;[email protected]&gt;
134RUN pip install virtualenv
135COPY requirements.txt /app/requirements.txt
136COPY bootstrap.py /app/bootstrap.py
137RUN /app/bootstrap.py
138ADD . /app
139WORKDIR /app
140RUN /bin/bash -c &#34;source /app/.venv/bin/activate &amp;&amp; make html &amp;&amp; make rss &amp;&amp; cp rss.xml _build/html&#34;
141
142
143FROM alpine:latest
144RUN sed -i &#39;s/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g&#39; /etc/apk/repositories
145RUN apk add --update git openssh-client &amp;&amp; rm -rf /var/cache/apk/*
146WORKDIR /html
147ENV COMMIT_USER=&#34;clarkzjw&#34;
148ENV COMMIT_EMAIL=&#34;[email protected]&#34;
149ARG GIT_TOKEN=&#34;&#34;
150RUN git config --global user.email $COMMIT_EMAIL &amp;&amp; git config --global user.name $COMMIT_USER
151RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html &amp;&amp; git checkout gh-pages
152COPY --from=builder /app/_build/html /html
153RUN echo &#34;`date`&#34; &gt; /html/.lastmodify &amp;&amp; git add -A &amp;&amp; git commit -m &#34;`date`&#34; &amp;&amp; git push origin gh-pages
154
155
156FROM nginx:alpine
157COPY --from=builder /app/_build/html /usr/share/nginx/html
158
159
160另外一个问题是博客的RSS。由于Sphinx最初的设计是作为一个文档生成工具,目前市面上有的和Sphinx结合的RSS生成工具大致有:
161
162Sphinx-contrib模块中的 feed
163在sphinxcontrib.feed基础上开发的 sphinxfeed
164以及更新一点的 sphinxcontrib-newsfeed
165
166其中sphinxcontrib.feed和sphinxfeed的功能性更新都停止在2011年,不兼容Python 3,GitHub上有几个fork,但是也基本没有太多的改进。至于
167sphinxcontrib-newsfeed,并不能生成符合RSS规范的输出。。。所以只好自己简单粗暴造一个轮子了!(至少生成的xml能被RSS阅读器认识。。。
168至于评论嘛。虽然博客流量小,2017年下来一年也没有10条评论,但是作为一个博客,这个功能还是必须得有!考察了目前市面上的评论方案,Disqus现在
169差不多可以算是一家独大了。但是十分不喜欢Disqus。一个页面要加载的无关的数据太多了。然后看到了 Isso , 第一印象还不错,但是需要自己单独部
170署。为了一年10条评论不到的数量级单独部署似乎成本略高。之前还见到了 Staticman , 但是这个方案和GitHub的issue绑定,一个博客实例对应
171GitHub的一个repo,然后每篇文章的评论对应这个repo中的issue。但是我不太能接受,毕竟不能强制每个评论的用户都有GitHub帐号。
172今天无意中看到了 just-comments , 也是一个SaaS解决方案,但是非常地极简,决定先用着试试效果。(
173下一步,打算在博客中加入 漢字標準格式 这套排版框架。毕竟现在的页面排版看起来怪怪的,以及并不美观。(
174
175
176
177
178
179
180
181
182 </description>
183 <pubDate>2018-01-15</pubDate>
184 <link>https://blog.jinwei.me/_posts/2018/01/new-blog.html</link>
185 <guid isPermaLink="true">https://blog.jinwei.me/_posts/2018/01/new-blog.html</guid>
186 </item>
187
97 </channel> 188 </channel>
98</rss> 189</rss>
diff --git a/searchindex.js b/searchindex.js
index f5c724f..1487808 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
Search.setIndex({docnames:["_posts/2017/12/movies","index"],envversion:53,filenames:["_posts/2017/12/movies.rst","index.rst"],objects:{},objnames:{},objtypes:{},terms:{"0x1d017d3d":1,"2016\u4e00\u5468\u4f53\u9a8c":1,"2017\u5e74\u770b\u4e86\u597d\u591a\u7535\u5f71":0,"2017\u5e74\u9a6c\u4e0a\u5c31\u7ed3\u675f\u4e86":0,"6\u6708\u5c45\u7136\u4e00\u90e8\u90fd\u6ca1\u770b":0,"\u0e09\u0e25\u0e32\u0e14\u0e40\u0e01\u0e21\u0e2a":0,"\u0e42\u0e01\u0e07":0,"\u4e0d\u5b8c\u5168":0,"\u4e1c\u65b9\u5feb\u8f66\u8c0b\u6740\u6848":0,"\u4ece\u5317\u4eac\u5230\u83ab\u65af\u79d1":1,"\u4ee5\u4e2d\u56fd\u5927\u9646\u4e0a\u6620\u65f6\u7684\u7247\u540d\u4e3a\u51c6":0,"\u4fa0\u76d7\u4e00\u53f7":0,"\u5165\u624b":1,"\u5168\u7403\u98ce\u66b4":0,"\u51fa\u79df\u8f66\u53f8\u673a":0,"\u5220\u9664\u4e00\u4e2a\u4e92\u8054\u7f51\u5e10\u53f7\u6709\u591a\u96be":1,"\u5305\u62ec\u7535\u5f71":0,"\u5305\u62ec\u7ebf\u4e0a\u548c\u7ebf\u4e0b\u7535\u5f71\u9662\u7684":0,"\u5305\u62ecbt\u4e0b\u8f7d\u4ee5\u53canetflix":0,"\u5343\u661f\u4e4b\u57ce":0,"\u5546\u4e1a\u5927\u7247":0,"\u57fa\u4e8e\u4e3b\u8272\u68c0\u6d4b\u4e0e\u7070\u5ea6\u4f20\u64ad\u7684\u5f69\u8272\u56fe\u50cf\u7070\u5ea6\u5316\u65b9\u6cd5":1,"\u5927\u62a4\u6cd5":0,"\u5929\u624d\u67aa\u624b":0,"\u592a\u7a7a\u65c5\u5ba2":0,"\u5b89\u5229\u597d\u7528\u7684\u90ae\u4ef6\u670d\u52a1\u4e4bfastmail":1,"\u5b8c\u5168\u4e0d\u8003\u8651\u5267\u60c5\u7684\u8d28\u91cf\u548c\u89c2\u4f17\u7684\u89c2\u5f71\u611f\u53d7":0,"\u5bfb\u68a6\u73af\u6e38\u8bb0":0,"\u5c5e\u4e8e\u770b\u5b8c\u4e4b\u540e\u8d70\u51fa\u7535\u5f71\u9662\u5dee\u4e0d\u591a\u5c31\u80fd\u5fd8\u8bb0\u5267\u60c5\u7684\u90a3\u79cd":0,"\u5f88\u591a\u7535\u5f71\u7684\u8d28\u91cf\u5176\u5b9e\u5f88\u4e00\u822c":0,"\u6211\u7684\u5927\u5b66":1,"\u6218\u72fc2":0,"\u62c6\u5f39\u4e13\u5bb6":0,"\u6309\u65f6\u95f4\u987a\u5e8f":0,"\u6390\u6307\u4e00\u7b97":0,"\u653b\u58f3\u673a\u52a8\u961f":0,"\u661f\u7403\u5927\u6218\u5916\u4f20":0,"\u661f\u7a7a\u4e4b\u8c1c":0,"\u661f\u9645\u7279\u5de5":0,"\u662f\u56e0\u4e3a\u5de5\u4f5c\u592a\u9971\u548c\u4e86\u8fd8\u662f\u56e0\u4e3a\u6ca1\u6709\u597d\u770b\u7684\u7535\u5f71\u5462":0,"\u6697\u901a\u9053\u5148\u9a8c\u56fe\u50cf\u53bb\u96fe\u7684\u5927\u6c14\u5149\u6821\u9a8c\u548c\u5149\u6655\u6d88\u9664":1,"\u672c\u7db2\u9801\u57fa\u65bc\u570b\u5bb6\u6cd5\u5f8b\u800c\u5c01\u9396":1,"\u6781\u9650\u7279\u5de5":0,"\u6b8a\u6b7b\u4e00\u6218":0,"\u6ce8\u9500":1,"\u738b\u724c\u7279\u5de52":0,"\u73b0\u5728\u56de\u5fc6\u4e00\u4e0b":0,"\u751f\u5316\u5371\u673a6":0,"\u770b\u4e0d\u89c1\u7684\u5ba2\u4eba":0,"\u7b80\u5355\u5206\u6790\u4e86\u4e00\u4e0b":0,"\u7eaa\u5f55\u7247":0,"\u7ebf\u4e0a\u89c2\u5f71\u8bb0\u5f55":0,"\u7ebf\u4e0b\u7535\u5f71\u9662\u89c2\u5f71\u8bb0\u5f55":0,"\u7ebf\u4e0b\u89c2\u5f71\u7684\u7edf\u8ba1":0,"\u7ec8\u6781\u56de\u5f52":0,"\u7ec8\u7ae0":0,"\u81f3\u6697\u65f6\u523b":0,"\u81f3\u7231\u68b5\u9ad8":0,"\u82b3\u534e":0,"\u82f1\u4f26\u5bf9\u51b3":0,"\u89c2\u5f71\u8bb0\u5f55":1,"\u8bf8\u795e\u9ec4\u660f":0,"\u8fd9\u5217\u706b\u8f66":1,"\u8fd9\u79cd\u7535\u5f71\u5f88\u591a\u90fd\u662f\u6240\u8c13\u7684":0,"\u8ffd\u6355":0,"\u8ffd\u6c42\u7279\u6548\u548c\u753b\u9762":0,"\u901f\u5ea6\u4e0e\u6fc0\u60c58":0,"\u90e8\u5206\u7f8e\u5267":0,"\u91d1\u521a\u72fc3":0,"\u964d\u4e34":0,"\u96a7\u9053":0,"\u96f7\u795e3":0,"\u9738\u738b\u522b\u59ec":0,"\u9c81\u68d2\u56fe\u50cf\u53bb\u96fe\u7684\u5927\u6c14\u5149\u6821\u6b63\u4e0e\u900f\u5c04\u7387\u4f18\u5316\u7b97\u6cd5":1,"\u9ec4\u91d1\u5708":0,"\ud0dd\uc2dc\uc6b4\uc804\uc0ac":0,"\ud130\ub110":0,"cit\u00e9":0,"final":0,"plan\u00e8t":0,"return":0,"val\u00e9rian":0,"xt1085\u5237cm\u6307\u5357":1,Has:0,One:[0,1],The:[0,1],actual:0,algorithm:1,all:1,andrea:0,april:1,area:0,arriv:0,august:1,avail:1,base:1,bilingu:1,billion:1,birth:1,blade:0,boinc:1,brainfuck:1,cage:0,calcul:1,card:0,channel:1,chapter:0,circl:0,citi:0,clarkzjw:1,coco:0,com:1,comput:1,content:1,contratiempo:0,current:1,dai:0,dark:1,darkest:0,date:0,debian:1,decemb:1,deep:0,dehaz:1,des:0,detect:1,develop:1,devic:1,differ:1,docker:1,dunkirk:0,elementari:1,eleven:0,english:1,enthusiast:1,error:1,esperanto:1,etc:1,everst:0,evil:0,experi:1,express:0,fallen:0,familiar:1,fate:0,feel:1,fever:0,filter:1,foreign:0,free:1,freedom:1,from:1,furiou:0,geostorm:0,ghost:0,github:1,golang:1,golden:0,have:1,haze:1,high:1,hour:0,hous:0,http:1,imag:1,impact:0,implement:1,includ:1,infin:1,ingress:1,inspir:1,interpret:1,jinwei:1,juli:1,keybas:1,kingsman:0,knight:0,late:1,leachim6:1,licens:1,logan:0,london:0,love:0,macbook:1,mail:1,mandarin:1,march:1,matlab:1,mill:0,minor:0,moto:1,murder:0,nativ:1,ocean:0,octob:1,odyssei:0,one:1,orient:0,origin:[0,1],particl:0,passeng:0,pgp:1,physic:1,pixel:1,plausibl:1,prior:1,pro:1,profession:1,profici:1,program:1,publish:0,python:1,ragnarok:0,raspberri:1,recent:1,remov:1,report:0,resid:0,resist:1,right:1,rogu:0,runner:0,san:0,season:0,septemb:1,shall:1,shell:0,shooter:0,simpl:1,site:1,sky:1,smooth:1,softwar:1,space:0,speech:1,star:0,stori:0,stranger:0,sum:1,support:1,telegram:1,textur:1,thi:1,thing:0,think:1,thor:0,three:1,titan:0,twelv:0,two:1,under:1,user:1,video:1,vim:1,vincent:0,visibl:1,vision:1,volunt:1,war:0,work:1,world:0,worldcommunitygrid:1,xander:0,xxx:0,yubikei:1},titles:["2017\u89c2\u5f71\u8bb0\u5f55","Hello World"],titleterms:{"2017\u89c2\u5f71\u8bb0\u5f55":0,"public":1,about:1,around:1,code:1,contact:1,credit:1,hello:1,hire:1,languag:1,other:1,skill:1,updat:1,web:1,world:1}}) \ No newline at end of file Search.setIndex({docnames:["_posts/2017/12/movies","_posts/2018/01/new-blog","index"],envversion:53,filenames:["_posts/2017/12/movies.rst","_posts/2018/01/new-blog.rst","index.rst"],objects:{},objnames:{},objtypes:{},terms:{"0x1d017d3d":2,"2016\u4e00\u5468\u4f53\u9a8c":2,"2017\u5e74\u4e0b\u6765\u4e00\u5e74\u4e5f\u6ca1\u670910\u6761\u8bc4\u8bba":1,"2017\u5e74\u770b\u4e86\u597d\u591a\u7535\u5f71":0,"2017\u5e74\u9a6c\u4e0a\u5c31\u7ed3\u675f\u4e86":0,"6\u6708\u5c45\u7136\u4e00\u90e8\u90fd\u6ca1\u770b":0,"\u0e09\u0e25\u0e32\u0e14\u0e40\u0e01\u0e21\u0e2a":0,"\u0e42\u0e01\u0e07":0,"\u4e00\u4e2a\u535a\u5ba2\u5b9e\u4f8b\u5bf9\u5e94":1,"\u4e00\u4e2a\u8f6f\u4ef6\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u7684\u6587\u6863\u751f\u6210\u5de5\u5177\u6765\u4f5c\u4e3a\u535a\u5ba2\u7684\u9759\u6001\u7f51\u9875\u751f\u6210\u5f15\u64ce":1,"\u4e00\u4e2a\u9875\u9762\u8981\u52a0\u8f7d\u7684\u65e0\u5173\u7684\u6570\u636e\u592a\u591a\u4e86":1,"\u4e0a\u624bsphinx\u975e\u5e38\u7b80\u5355":1,"\u4e0b\u4e00\u6b65":1,"\u4e0d\u517c\u5bb9python":1,"\u4e0d\u523010mb":1,"\u4e0d\u5b8c\u5168":0,"\u4e0d\u6e05\u695arst\u548c":1,"\u4e1c\u65b9\u5feb\u8f66\u8c0b\u6740\u6848":0,"\u4e3a\u4e86\u4e00\u5e7410\u6761\u8bc4\u8bba\u4e0d\u5230\u7684\u6570\u91cf\u7ea7\u5355\u72ec\u90e8\u7f72\u4f3c\u4e4e\u6210\u672c\u7565\u9ad8":1,"\u4e3a\u4e86\u8ba9\u6392\u7248\u7a0d\u5fae\u7f8e\u89c2\u4e00\u4e9b":1,"\u4e4b\u524d":1,"\u4e4b\u524d\u6211\u4eec\u4e3a\u4e86\u5f97\u5230\u9759\u6001html\u6587\u4ef6":1,"\u4e4b\u524d\u7684\u535a\u5ba2\u67b6\u5728blogger\u4e0a":1,"\u4e4b\u524d\u8fd8\u89c1\u5230\u4e86":1,"\u4e4b\u524dstage\u6784\u5efa\u51fa\u7684\u4ea7\u7269":1,"\u4e5f\u662f\u4e00\u4e2asaas\u89e3\u51b3\u65b9\u6848":1,"\u4e8e\u662f\u5f00\u59cb":1,"\u4eca\u5929\u65e0\u610f\u4e2d\u770b\u5230\u4e86":1,"\u4ece\u5317\u4eac\u5230\u83ab\u65af\u79d1":2,"\u4ee5\u4e2d\u56fd\u5927\u9646\u4e0a\u6620\u65f6\u7684\u7247\u540d\u4e3a\u51c6":0,"\u4ee5\u53ca\u5728\u8fd9\u6781\u5c11\u7684\u8bfb\u8005\u4e2d\u6709\u7528":1,"\u4ee5\u53ca\u5e76\u4e0d\u7f8e\u89c2":1,"\u4ee5\u53ca\u66f4\u65b0\u4e00\u70b9\u7684":1,"\u4ee5\u6211\u7684\u535a\u5ba2\u8fd9\u4e2a\u9879\u76ee\u4e3a\u4f8b":1,"\u4f46\u662f":1,"\u4f46\u662f\u4e5f\u57fa\u672c\u6ca1\u6709\u592a\u591a\u7684\u6539\u8fdb":1,"\u4f46\u662f\u4f5c\u4e3a\u4e00\u4e2a\u535a\u5ba2":1,"\u4f46\u662f\u5341\u5206\u4e0d\u559c\u6b22disqu":1,"\u4f46\u662f\u6211\u4e0d\u592a\u80fd\u63a5\u53d7":1,"\u4f46\u662f\u6211\u4eec\u8fd9\u6b21\u7684\u76ee\u6807\u662fgithub":1,"\u4f46\u662f\u65e2\u7136\u8fd8\u6709\u8bfb\u8005":1,"\u4f46\u662f\u8fd9\u4e2a\u65b9\u6848\u548cgithub\u7684issue\u7ed1\u5b9a":1,"\u4f46\u662f\u8fd9\u6b21\u7528docker\u7684\u59ff\u52bf\u548c\u4ee5\u5f80\u4e0d\u540c":1,"\u4f46\u662f\u8fd9\u79cd\u65b9\u5f0f\u7684\u79fb\u690d\u6027\u4e0d\u9ad8":1,"\u4f46\u662f\u9700\u8981\u81ea\u5df1\u5355\u72ec\u90e8":1,"\u4f46\u662f\u975e\u5e38\u5730\u6781\u7b80":1,"\u4fa0\u76d7\u4e00\u53f7":0,"\u503c\u5f97\u4e00\u63d0\u7684\u662f":1,"\u5047\u5982\u6211\u662f\u60f3\u901a\u8fc7image\u6765\u90e8\u7f72":1,"\u5165\u624b":2,"\u5168\u7403\u98ce\u66b4":0,"\u5176\u4e2dsphinxcontrib":1,"\u5199\u4e00\u4e2a\u811a\u672c":1,"\u51b3\u5b9a\u5148\u7528\u7740\u8bd5\u8bd5\u6548\u679c":1,"\u51fa\u79df\u8f66\u53f8\u673a":0,"\u5220\u9664\u4e00\u4e2a\u4e92\u8054\u7f51\u5e10\u53f7\u6709\u591a\u96be":2,"\u524d\u6bb5\u65f6\u95f4\u65e0\u610f\u4e2d\u770b\u5230\u4e00\u4e2a\u535a\u5ba2":1,"\u524d\u6bb5\u65f6\u95f4\u6709\u670b\u53cb\u548c\u6211\u62b1\u6028\u535a\u5ba2\u52a0\u8f7d\u901f\u5ea6\u592a\u6162\u4e86":1,"\u52a0\u8f7d\u4e86\u8bb8\u591a\u5916\u90e8\u7684":1,"\u5305\u62ec\u7535\u5f71":0,"\u5305\u62ec\u7ebf\u4e0a\u548c\u7ebf\u4e0b\u7535\u5f71\u9662\u7684":0,"\u5305\u62ecbt\u4e0b\u8f7d\u4ee5\u53canetflix":0,"\u5343\u661f\u4e4b\u57ce":0,"\u535a\u5ba2\u7684\u8bdd\u5fc5\u987b\u5750\u5728\u81ea\u5df1\u7684\u7535\u8111\u524d":1,"\u5373":1,"\u53e6\u5916\u4e00\u4e2a\u95ee\u9898\u662f\u535a\u5ba2\u7684rss":1,"\u53ef\u4ee5\u5728dockerfile\u4e2dfrom\u591a\u4e2a\u57fa\u7840\u955c\u50cf":1,"\u53ef\u4ee5\u8bf4\u662f\u5b8c\u5168\u5f00\u7bb1\u5373\u7528\u4e86":1,"\u53ef\u80fd\u5f97\u9009\u7528\u4e00\u4e2apython\u7684\u57fa\u7840\u955c\u50cf":1,"\u540c\u65f6\u4e5f\u63d0\u4f9b\u4e86\u66f4\u52a0\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u53ef\u6269\u5c55\u6027":1,"\u540c\u65f6\u4f9d\u7136\u5b58\u5728\u4e00\u4e9b\u624b\u52a8\u7684\u5de5\u4f5c":1,"\u5546\u4e1a\u5927\u7247":0,"\u5728\u4e0b\u4e00\u4e2astage\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528":1,"\u5728\u770b":1,"\u5728dockerfile\u91cc\u9762\u5c06html\u6587\u4ef6copy\u8fdb\u53bb\u4e4b\u540e":1,"\u5728sphinxcontrib":1,"\u57fa\u4e8e\u4e3b\u8272\u68c0\u6d4b\u4e0e\u7070\u5ea6\u4f20\u64ad\u7684\u5f69\u8272\u56fe\u50cf\u7070\u5ea6\u5316\u65b9\u6cd5":2,"\u590d\u6742":1,"\u5927\u540d\u9f0e\u9f0e":1,"\u5927\u62a4\u6cd5":0,"\u5929\u624d\u67aa\u624b":0,"\u592a\u7a7a\u65c5\u5ba2":0,"\u5b89\u5229\u597d\u7528\u7684\u90ae\u4ef6\u670d\u52a1\u4e4bfastmail":2,"\u5b8c\u5168\u4e0d\u8003\u8651\u5267\u60c5\u7684\u8d28\u91cf\u548c\u89c2\u4f17\u7684\u89c2\u5f71\u611f\u53d7":0,"\u5bfb\u68a6\u73af\u6e38\u8bb0":0,"\u5bfc\u81f4\u7f51\u9875\u8f7d\u5165\u901f\u5ea6\u975e\u5e38\u6162":1,"\u5c06html\u63a8\u9001\u5230github":1,"\u5c11\u7684\u53ef\u601c":1,"\u5c31\u4e0d\u505a\u4f18\u52a3\u5bf9\u6bd4\u4e86":1,"\u5c5e\u4e8e\u770b\u5b8c\u4e4b\u540e\u8d70\u51fa\u7535\u5f71\u9662\u5dee\u4e0d\u591a\u5c31\u80fd\u5fd8\u8bb0\u5267\u60c5\u7684\u90a3\u79cd":0,"\u5dee\u4e0d\u591a\u53ef\u4ee5\u7b97\u662f\u4e00\u5bb6\u72ec\u5927\u4e86":1,"\u5e73\u65f6\u6211\u4eec\u7528docker\u7684\u65f6\u5019":1,"\u5e76\u4e0d\u80fd\u751f\u6210\u7b26\u5408rss\u89c4\u8303\u7684\u8f93\u51fa":1,"\u5efa\u8bbe\u535a\u5ba2\u79bb\u4e0d\u5f00\u51e0\u4ef6\u4e8b\u60c5":1,"\u5f53\u7136\u5176\u5b9e\u4e0d\u7528docker\u4e5f\u80fd\u505a\u5230\u8fd9\u4e00\u70b9":1,"\u5f88\u591a\u7535\u5f71\u7684\u8d28\u91cf\u5176\u5b9e\u5f88\u4e00\u822c":0,"\u60f3\u5199":1,"\u6211\u7684\u5927\u5b66":2,"\u6218\u72fc2":0,"\u6237\u63d0\u51fa\u4e86\u8fd9\u4e2a\u95ee\u9898":1,"\u6240\u4ee5\u53ea\u597d\u81ea\u5df1\u7b80\u5355\u7c97\u66b4\u9020\u4e00\u4e2a\u8f6e\u5b50\u4e86":1,"\u6240\u4ee5\u5f53\u7136\u9009\u62e9docker\u5566":1,"\u6240\u4ee5\u6211\u5728":1,"\u6253\u7b97\u5728\u535a\u5ba2\u4e2d\u52a0\u5165":1,"\u6258\u7ba1\u9759\u6001html\u6700\u65b9\u4fbf\u7684\u5730\u65b9\u5f53\u7136\u662fgithub":1,"\u627e\u4e86\u4e00\u4e2a\u7b2c\u4e09\u65b9\u7684\u4e3b\u9898":1,"\u628amakefile\u90fd\u5199\u597d\u4e86":1,"\u62c6\u5f39\u4e13\u5bb6":0,"\u6309\u65f6\u95f4\u987a\u5e8f":0,"\u6390\u6307\u4e00\u7b97":0,"\u653b\u58f3\u673a\u52a8\u961f":0,"\u6574\u4f53\u601d\u8def\u5c31\u975e\u5e38\u6e05\u6670\u4e86":1,"\u661f\u7403\u5927\u6218\u5916\u4f20":0,"\u661f\u7a7a\u4e4b\u8c1c":0,"\u661f\u9645\u7279\u5de5":0,"\u662f\u56e0\u4e3a\u5de5\u4f5c\u592a\u9971\u548c\u4e86\u8fd8\u662f\u56e0\u4e3a\u6ca1\u6709\u597d\u770b\u7684\u7535\u5f71\u5462":0,"\u6697\u901a\u9053\u5148\u9a8c\u56fe\u50cf\u53bb\u96fe\u7684\u5927\u6c14\u5149\u6821\u9a8c\u548c\u5149\u6655\u6d88\u9664":2,"\u6700\u7b80\u5355\u7c97\u66b4\u7684\u65b9\u6cd5\u662f\u5728\u672c\u5730\u7684\u73af\u5883\u4e2d\u5199\u5b8crst\u6587\u672c":1,"\u6700\u7ec8\u53ea\u662f\u4e3a\u4e86\u51e0\u767ekb\u7684html\u6587\u4ef6":1,"\u6700\u7ec8\u5f97\u5230\u7684image\u4e5f\u53ea\u670910mb\u5de6\u53f3\u7684\u5927\u5c0f":1,"\u6700\u7ec8\u90fd\u662f\u60f3\u8981\u5f97\u5230docker":1,"\u6709\u4e86multi":1,"\u672c\u7db2\u9801\u57fa\u65bc\u570b\u5bb6\u6cd5\u5f8b\u800c\u5c01\u9396":2,"\u6781\u9650\u7279\u5de5":0,"\u6784\u5efa\u7684\u955c\u50cf\u5df2\u7ecf\u4e0a\u767emb\u4e86":1,"\u6b8a\u6b7b\u4e00\u6218":0,"\u6bd5\u7adf\u4e0d\u80fd\u5f3a\u5236\u6bcf\u4e2a\u8bc4\u8bba\u7684\u7528\u6237\u90fd\u6709github\u5e10\u53f7":1,"\u6bd5\u7adf\u73b0\u5728\u7684\u9875\u9762\u6392\u7248\u770b\u8d77\u6765\u602a\u602a\u7684":1,"\u6ca1\u6cd5\u90e8\u7f72\u5bb9\u5668":1,"\u6ce8\u9500":2,"\u6f22\u5b57\u6a19\u6e96\u683c\u5f0f":1,"\u7136\u540e\u518dapt":1,"\u7136\u540e\u5728\u6784\u5efa\u7684\u8fc7\u7a0b\u4e2d\u5c06\u9759\u6001\u7f51\u9875push\u5230repo\u7684gh":1,"\u7136\u540e\u5728ci\u5e73\u53f0\u4e0a\u6267\u884c\u811a\u672c\u4e5f\u884c":1,"\u7136\u540e\u672c\u5730":1,"\u7136\u540e\u6bcf\u7bc7\u6587\u7ae0\u7684\u8bc4\u8bba\u5bf9\u5e94\u8fd9\u4e2arepo\u4e2d\u7684issu":1,"\u7136\u540e\u7531image\u6765\u8fdb\u884c\u90e8\u7f72":1,"\u7136\u540e\u770b\u5230\u4e86":1,"\u738b\u724c\u7279\u5de52":0,"\u73b0\u5728\u4f60\u770b\u5230\u7684\u8fd9\u4e2a\u4e3b\u9898\u5c31\u662f\u5728alabaster\u4e0a\u4fee\u6539\u800c\u6765\u7684":1,"\u73b0\u5728\u56de\u5fc6\u4e00\u4e0b":0,"\u751a\u81f3\u66f4\u5c11\u5566":1,"\u751f\u5316\u5371\u673a6":0,"\u7531\u4e8esphinx\u6700\u521d\u7684\u8bbe\u8ba1\u662f\u4f5c\u4e3a\u4e00\u4e2a\u6587\u6863\u751f\u6210\u5de5\u5177":1,"\u7684":1,"\u76ee\u524d\u5e02\u9762\u4e0a\u6709\u7684\u548csphinx\u7ed3\u5408\u7684rss\u751f\u6210\u5de5\u5177\u5927\u81f4\u6709":1,"\u76f8\u6bd4":1,"\u76f8\u6bd4\u54ea\u4e00\u4e2a\u7684\u8bed\u6cd5\u66f4\u52a0\u590d\u6742\u5462":1,"\u770b\u4e0d\u89c1\u7684\u5ba2\u4eba":0,"\u770b\u4e86\u4e0b\u9762\u7684dockerfile\u4e4b\u540e":1,"\u7740\u624b\u6539\u9020\u81ea\u5df1\u7684\u535a\u5ba2":1,"\u7b2c\u4e00\u5370\u8c61\u8fd8\u4e0d\u9519":1,"\u7b80\u5355\u5206\u6790\u4e86\u4e00\u4e0b":0,"\u7eaa\u5f55\u7247":0,"\u7ebf\u4e0a\u89c2\u5f71\u8bb0\u5f55":0,"\u7ebf\u4e0b\u7535\u5f71\u9662\u89c2\u5f71\u8bb0\u5f55":0,"\u7ebf\u4e0b\u89c2\u5f71\u7684\u7edf\u8ba1":0,"\u7ec8\u6781\u56de\u5f52":0,"\u7ec8\u7ae0":0,"\u7f72":1,"\u8003\u5bdf\u4e86\u76ee\u524d\u5e02\u9762\u4e0a\u7684\u8bc4\u8bba\u65b9\u6848":1,"\u800c\u4e0d\u662fmarkdown":1,"\u81f3\u4e8e":1,"\u81f3\u4e8e\u8bc4\u8bba\u561b":1,"\u81f3\u5c11\u751f\u6210\u7684xml\u80fd\u88abrss\u9605\u8bfb\u5668\u8ba4\u8bc6":1,"\u81f3\u6697\u65f6\u523b":0,"\u81f3\u7231\u68b5\u9ad8":0,"\u82b3\u534e":0,"\u82f1\u4f26\u5bf9\u51b3":0,"\u867d\u7136\u535a\u5ba2\u6d41\u91cf\u5c0f":1,"\u867d\u7136\u6211\u4f30\u8ba1\u6211\u53ea\u80fd\u7528\u5230\u5176\u4e2d\u768420":1,"\u867d\u7136\u6211\u81ea\u5df1\u5bf9\u4e8e\u7f51\u7ad9\u5728\u56fd\u5185\u7684\u52a0\u8f7d\u901f\u5ea6\u6beb\u4e0d\u5728\u610f":1,"\u89c2\u5f71\u8bb0\u5f55":2,"\u89c9\u5f97\u4e3b\u9898\u7b80\u6d01\u800c\u53c8\u7f8e\u89c2":1,"\u8bf8\u795e\u9ec4\u660f":0,"\u8d44\u6e90":1,"\u8fd9\u4e2a\u529f\u80fd\u8fd8\u662f\u5fc5\u987b\u5f97\u6709":1,"\u8fd9\u4e2a\u57fa\u7840\u955c\u50cf\u5f88\u5c0f":1,"\u8fd9\u4e2a\u95ee\u9898\u4fbf\u975e\u5e38\u597d\u5730\u88ab\u89e3\u51b3\u4e86":1,"\u8fd9\u5217\u706b\u8f66":2,"\u8fd9\u5957\u6392\u7248\u6846\u67b6":1,"\u8fd9\u6b21\u7528\u4e86":1,"\u8fd9\u79cd\u7535\u5f71\u5f88\u591a\u90fd\u662f\u6240\u8c13\u7684":0,"\u8ffd\u6355":0,"\u8ffd\u6c42\u7279\u6548\u548c\u753b\u9762":0,"\u901a\u8fc7\u4e4b\u540e":1,"\u901f\u5ea6\u4e0e\u6fc0\u60c58":0,"\u90a3\u4e48\u6211\u53ef\u80fd\u9700\u8981\u4e00\u4e2anginx\u7684\u57fa\u7840":1,"\u90a3\u4e48\u6211\u6700\u7ec8\u7684\u4ea7\u7269\u662f\u9759\u6001html\u6587\u4ef6":1,"\u90a3\u5c31\u5f97\u89e3\u51b3":1,"\u90e8\u5206\u7f8e\u5267":0,"\u91d1\u521a\u72fc3":0,"\u955c\u50cf":1,"\u964d\u4e34":0,"\u96a7\u9053":0,"\u96c6\u6210\u4e86\u5f88\u591a\u529f\u80fd":1,"\u96f7\u795e3":0,"\u9738\u738b\u522b\u59ec":0,"\u9996\u5148\u5f53\u7136\u5c31\u662f\u90e8\u7f72\u8fd0\u7ef4\u5566":1,"\u9c81\u68d2\u56fe\u50cf\u53bb\u96fe\u7684\u5927\u6c14\u5149\u6821\u6b63\u4e0e\u900f\u5c04\u7387\u4f18\u5316\u7b97\u6cd5":2,"\u9ec4\u91d1\u5708":0,"\ud0dd\uc2dc\uc6b4\uc804\uc0ac":0,"\ud130\ub110":0,"apk\u5b89\u88c5\u4e00\u4e9b\u5fc5\u8981\u7684\u7f16\u8bd1\u5de5\u5177":1,"build\u4e4b\u540e":1,"build\u7684\u4ea7\u7269dock":1,"build\u7684\u529f\u80fd":1,"ce\u7248\u672c\u4e4b\u540e\u5f15\u5165\u4e86multi":1,"cit\u00e9":0,"contrib\u6a21\u5757\u4e2d\u7684":1,"disqus\u73b0\u5728":1,"docker\u572817":1,"dockerfile\u4e2d\u751f\u6210\u9759\u6001html\u7f51\u9875":1,"emacs\u793e\u533a\u7684":1,"feed\u548csphinxfeed\u7684\u529f\u80fd\u6027\u66f4\u65b0\u90fd\u505c\u6b62\u57282011\u5e74":1,"feed\u57fa\u7840\u4e0a\u5f00\u53d1\u7684":1,"final":0,"github\u4e0a\u6709\u51e0\u4e2afork":1,"github\u7684\u4e00\u4e2arepo":1,"pages\u4e2d":1,"pages\u5206\u652f\u4e2d":1,"pages\u5566":1,"plan\u00e8t":0,"quickstart\u8fd9\u4e2a\u5de5\u5177\u548c\u4e00\u822c\u7684\u535a\u5ba2\u751f\u6210\u5668\u4e00\u6837":1,"return":0,"rst\u683c\u5f0f\u7684\u6587\u672c":1,"rst\u6bd4markdown\u7684\u8bed\u6cd5\u66f4\u52a0\u4e30\u5bcc":1,"sphinx\u7684\u6587\u6863\u4e66\u5199\u91c7\u7528\u7684\u662f":1,"sphinx\u7684\u9ed8\u8ba4\u4e3b\u9898\u662f":1,"sphinx\u901a\u8fc7makefile\u53ef\u4ee5\u751f\u6210\u9759\u6001html\u7f51\u9875":1,"val\u00e9rian":0,"var":1,"xt1085\u5237cm\u6307\u5357":2,Has:0,One:[0,2],The:[0,2],_build:1,activ:1,actual:0,add:1,alabast:1,algorithm:2,all:2,alpin:1,alpinelinux:1,andrea:0,apk:1,app:1,april:2,area:0,arg:1,arriv:0,august:2,avail:2,base:2,bash:1,bilingu:2,billion:2,bin:1,birth:2,blade:0,blog:1,boinc:2,bootstrap:1,brainfuck:2,builder:1,cach:1,cage:0,calcul:2,card:0,cdn:1,channel:2,chapter:0,checkout:1,circl:0,citi:0,clarkzjw:[1,2],client:1,clone:1,coco:0,com:[1,2],comment:1,commit:1,commit_email:1,commit_us:1,comput:2,config:1,content:2,contratiempo:0,copi:1,current:2,dai:0,dark:2,darkest:0,date:[0,1],debian:2,decemb:2,deep:0,dehaz:2,des:0,detect:2,develop:2,devic:2,differ:2,docker:2,dunkirk:0,echo:1,edu:1,elementari:2,eleven:0,email:1,english:2,enthusiast:2,env:1,error:2,esperanto:2,etc:[1,2],everst:0,evil:0,experi:2,express:0,fallen:0,familiar:2,fate:0,feed:1,feel:2,fever:0,filter:2,foreign:0,free:2,freedom:2,from:[1,2],furiou:0,geostorm:0,ghost:0,git:1,git_token:1,github:[1,2],global:1,golang:2,golden:0,have:2,haze:2,hello:1,high:2,hour:0,hous:0,html:1,http:[1,2],imag:[1,2],impact:0,implement:2,includ:2,infin:2,ingress:2,inspir:2,instal:1,interpret:2,isso:1,jinwei:[1,2],juli:2,just:1,keybas:2,kingsman:0,knight:0,label:1,lastmodifi:1,late:2,latest:1,leachim6:2,licens:2,logan:0,london:0,love:0,macbook:2,mail:2,maintain:1,make:1,mandarin:2,march:2,matlab:2,mill:0,minor:0,mirror:1,mode:1,moto:2,murder:0,name:1,nativ:2,newsfe:1,nginx:1,ocean:0,octob:2,odyssei:0,one:2,openssh:1,org:1,orient:0,origin:[0,1,2],page:1,particl:0,passeng:0,pgp:2,physic:2,pip:1,pixel:2,plausibl:2,prior:2,pro:2,profession:2,profici:2,program:2,publish:[0,1],pull:1,push:1,python:[1,2],ragnarok:0,raspberri:2,recent:2,remov:2,report:0,repositori:1,requir:1,resid:0,resist:2,restructuredtext:1,right:2,rogu:0,rss:1,run:1,runner:0,san:0,season:0,sed:1,septemb:2,shall:2,share:1,shell:0,shooter:0,simpl:2,site:2,sky:2,smooth:2,softwar:2,sourc:1,space:0,speech:2,sphinx:1,sphinxcontrib:1,sphinxfe:1,stage:1,star:0,staticman:1,stori:0,stranger:0,sum:2,support:2,telegram:2,textur:2,thi:2,thing:0,think:2,thor:0,three:2,titan:0,twelv:0,two:2,txt:1,under:2,updat:1,user:[1,2],usr:1,ustc:1,venv:1,video:2,vim:2,vincent:0,virtualenv:1,visibl:2,vision:2,volunt:2,war:0,work:2,workdir:1,world:0,worldcommunitygrid:2,xander:0,xml:1,xxx:0,yubikei:2},titles:["2017\u89c2\u5f71\u8bb0\u5f55","\u53c8\u4e00\u4e2a\u65b0\u7684\u535a\u5ba2","Hello World"],titleterms:{"2017\u89c2\u5f71\u8bb0\u5f55":0,"\u53c8\u4e00\u4e2a\u65b0\u7684\u535a\u5ba2":1,"public":2,about:2,around:2,code:2,contact:2,credit:2,hello:2,hire:2,languag:2,other:2,skill:2,updat:2,web:2,world:2}}) \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)