Skip to content

Commit

Permalink
mobi added
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolai committed Feb 16, 2020
1 parent ce0b31a commit 7908d4b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 12 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ The third edition of the book was published online: https://onregularinvesting.c
> * [定投改变命运(第三版)epub](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/epub/OnRegularInvesting_cn.epub)
> * [On Regular Investing epub](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/epub/OnRegularInvesting_en.epub)
### MOBI
> * [定投改变命运(第三版)mobi](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/mobi/OnRegularInvesting_cn.mobi)
> * [On Regular Investing mobi](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/mobi/OnRegularInvesting_en.mobi)
-----

Expand Down
2 changes: 2 additions & 0 deletions docs/_navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
* [English PDF](https://onregularinvesting.com/pdf/on-regularinvesting-en.pdf)
* [中文 epub](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/epub/OnRegularInvesting_cn.epub)
* [English epub](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/epub/OnRegularInvesting_en.epub)
* [中文 mobi](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/mobi/OnRegularInvesting_cn.mobi)
* [English mobi](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/mobi/OnRegularInvesting_en.mobi)
* [Blog](/blog/)
* [Data](/data/)
2 changes: 2 additions & 0 deletions docs/blog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
> * [定投改变命运(第三版)epub](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/epub/OnRegularInvesting_cn.epub)
> * [On Regular Investing epub](https://github.com/xiaolai/regular-investing-in-box/raw/master/docs/epub/OnRegularInvesting_en.epub)
另,次日新增 mobi 下载,请查看顶部下拉菜单。

## 2020.01.26 BOX 历史价格自动更新

我在 github 仓库里,添加了一个 ```data``` 目录,里面的 BOX 历史价格文件会每日 23:59 更新一次价格。
Expand Down
Binary file modified docs/epub/OnRegularInvesting_cn.epub
Binary file not shown.
Binary file modified docs/epub/OnRegularInvesting_en.epub
Binary file not shown.
14 changes: 2 additions & 12 deletions docs/epub/epub-generate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 132,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"pandoc -o OnRegularInvesting_cn.epub cn.html --toc --toc-depth=3 --epub-cover-image=../images/cover_cn.png --epub-chapter-level=3 --epub-metadata=metadata_cn.xml --css=style.css\n",
"pandoc -o OnRegularInvesting_en.epub en.html --toc --toc-depth=3 --epub-cover-image=../images/cover_en.png --epub-chapter-level=3 --epub-metadata=metadata_en.xml --css=style.css\n",
"done\n"
]
}
],
"outputs": [],
"source": [
"import re\n",
"import os\n",
Expand Down
Binary file added docs/mobi/OnRegularInvesting_cn.mobi
Binary file not shown.
Binary file added docs/mobi/OnRegularInvesting_en.mobi
Binary file not shown.

0 comments on commit 7908d4b

Please sign in to comment.