PegasusWang 的读书杂记

Stay Hungry Stay Foolish.

看了就忘,还是简单记一点吧。多读几遍计算机领域最经典的好书,比泛泛地翻阅各种杂书效果好(质量胜过数量)。

本电子书制作和写作方式

使用 mkdocs 和 markdown 构建,vim 编写,使用 Python-Markdown-Math 完成数学公式。 markdown 语法参考:http://xianbai.me/learn-md/article/about/readme.html

安装依赖:

# 方式1:
pip install mkdocs    # 制作电子书, http://markdown-docs-zh.readthedocs.io/zh_CN/latest/
# https://stackoverflow.com/questions/27882261/mkdocs-and-mathjax/31874157
pip install https://github.com/mitya57/python-markdown-math/archive/master.zip

# 推荐方式2:
pip install -r requirements.txt

编写并查看:

mkdocs serve     # 修改自动刷新浏览器,浏览器打开 http://localhost:8000 访问
# 数学公式参考 https://www.zybuluo.com/codeep/note/163962
# 图片最好压缩再放到仓库(不过不建议放非文本文件)
mkdocs gh-deploy    # 部署到自己的 github pages, 如果是 readthedocs 会自动触发构建

访问:

https://pegasuswang.readthedocs.io/zh/latest/

https://pegasuswang.github.io/booknotes/