Skip to content

Commit

Permalink
First shot!
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed May 20, 2020
0 parents commit 5e17fe6
Show file tree
Hide file tree
Showing 12 changed files with 295 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build/
25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

default: html

view:
xdg-open "$(BUILDDIR)/html/index.html"

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: default view 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)
45 changes: 45 additions & 0 deletions about/enemy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
=====
Enemy
=====

.. centered::

| 我的敌人在哪里
| 这是你的敌人
| 那是你的敌人
| 你的敌人毫无疑问就是这个
| 我们的敌人也就是你的敌人啊
| 这答案是如此的清爽
| 难道你还不明白吗
| 你还不是真正在生活着
| 你的话语
| 说明你熟视无睹
| 懈怠之人
| 懈怠之人 懈怠之人
| 懈怠之人 你一生都无法遇到你的敌人
| 你一生都不会真正的活着
|
| 我在寻找着寻找着我的敌人
| 或者说那才是真正的敌人
| 敌人已不像过去一样披盔戴甲
| 如今
| 他们是用计算尺高等数学
| 以及各种数据计算出来的
| 但是 这种敌人却总是无法让我振奋
| 一旦纠结在一起
| 得到的不过是一些诱饵
| 甚至是同伴
| 这是你所担心的
| 敌人并不用寻找
| 他们始终是在包围着我们
|
| 我在等待着
| 等待着我的敌人
| 不用去等待敌人
| 他们时时刻刻都在侵犯我们
|
| 邂逅终将到来直到那一天
| 我的指甲 牙 耳朵 手脚甚至连头发都无法反抗
| 当我能高呼我的敌人时
| 当我能高呼我的敌人时
| 肯定会有一个邂逅.
70 changes: 70 additions & 0 deletions about/events.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
.. digraph:: events

splines=ortho
node [shape=plaintext];

past
-> 2014.10
-> 2015.10
-> 2016.01
-> 2016.04
-> 2016.08
-> 2016.10
-> 2017.01
-> 2017.06
-> 2017.00
-> 2018.09
-> 2019.03
-> 2019.04
-> 2019.08
-> 2019.10
-> 2020.02
-> 2020.06
-> future [style=invis];

{rank=same past}

{rank=same 2014.10 start_os67[label="Start writing OS67"]}

{rank=same 2015.10 end_os67[label="OS67 0.01 released"]}
start_os67 -> end_os67;

{rank=same 2016.01 start_srain[label="Start writing Srain"]}

{rank=same 2016.04 start_gsoc2016[label="Get selected for GSoC"]}

{rank=same 2016.08 end_gsoc2016[label="Finish my summer of code"]}
start_gsoc2016 -> end_gsoc2016;

{rank=same 2016.10 intern_chaitin[label="Internship at Chaitin Tech, Inc."]}

{rank=same 2017.01 learn_watercolor_jgr[label="Learn classical watercolor from 纪盖荣"]}

{rank=same 2017.06 graduate_scau[label="Graduated from SCAU"]}

{rank=same 2017.06 join_chaitin [label="Join Chaitin Tech as FTE"]}
intern_chaitin -> join_chaitin;

{rank=same 2017.00 learn_swimming[label="Learn breaststroke"]}

{rank=same 2018.09 learn_badminton[label="Learn badminton!"]}
learn_swimming -> learn_badminton;

{rank=same 2019.03 injure_knee[label="My knee injured because of badminton :'("]}
learn_badminton -> injure_knee;

{rank=same 2019.04 sketch_beidaihe[label="Go to 北戴河 alone for sketching"]}
learn_watercolor_jgr -> sketch_beidaihe;

{rank=same 2019.08 learn_watercolor_taylor[label="Learn landscape watercolor from David Taylor"]}
sketch_beidaihe -> learn_watercolor_taylor;

{rank=same 2019.10 learn_guitar[label="Start learning guitar"]}

{rank=same 2020.02 announce_srain[label="Announcing Srain 1.0"]}
start_srain -> announce_srain;

{rank=same 2020.06 quit_chaitin[label="Quit from Chaitin Tech"]}
join_chaitin -> quit_chaitin;

{rank=same future}
33 changes: 33 additions & 0 deletions about/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
========
About Me
========

Intro
-----

- Shengyu Zhang A.K.A *SilverRainZ*, *谷月轩*
- Dull painter, you can see my previous works on `LOFTER`_
- Ex-Programmer, 10% stream processing, 10% distributed system, and 80% fool
- `Free Software`_ supporter
- Arch Linux user, active member of `Arch Linux CN Community`_
- Author of `Srain IRC Client`_
- :doc:`./enemy` of SilverRainZ

.. _Free Software: https://www.gnu.org/philosophy/free-sw.html
.. _Srain IRC Client: https://srain.im/
.. _Arch Linux CN Community: http://archlinuxcn.org
.. _LOFTER: http://silverrainz.lofter.com

Timeline
--------

Events worth recording:

.. include:: ./events.rst

Contact
-------

- E-mail: i at silverrainz dot me
- IRC: SilverRainZ @ freenode
- WeChat: You can reqeust it by email
Empty file added blog/.gitkeep
Empty file.
65 changes: 65 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))


# -- Project information -----------------------------------------------------

project = 'Bullet'
copyright = '2020, Shengyu Zhang'
author = 'Shengyu Zhang'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.graphviz'
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'zh'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'

html_theme_options = {
# Disable showing the sidebar. Defaults to 'false'
'nosidebar': True,
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
Empty file added gallery/.gitkeep
Empty file.
21 changes: 21 additions & 0 deletions index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.. Bullet documentation master file, created by
sphinx-quickstart on Wed May 20 21:28:31 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
银色子弹
========

.. toctree::
:caption: 目录:
:titlesonly:

about/index


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
35 changes: 35 additions & 0 deletions make.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
Empty file added note/.gitkeep
Empty file.
Empty file added record/.gitkeep
Empty file.

0 comments on commit 5e17fe6

Please sign in to comment.