From f480bad8711be1c9a635c6579240ad4111d70a17 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Fri, 19 May 2017 11:21:07 +0800 Subject: [PATCH] auto generate index.cn.html --- .pre-commit-config.yaml | 4 +- 01.fit_a_line/index.cn.html | 295 ++++++++++++ 01.fit_a_line/index.en.html | 300 ------------ 02.recognize_digits/index.cn.html | 420 +++++++++++++++++ 02.recognize_digits/index.en.html | 430 ----------------- 03.image_classification/index.cn.html | 627 +++++++++++++++++++++++++ 03.image_classification/index.en.html | 637 -------------------------- 04.word2vec/index.cn.html | 473 +++++++++++++++++++ 04.word2vec/index.en.html | 483 ------------------- 05.recommender_system/index.cn.html | 529 +++++++++++++++++++++ 05.recommender_system/index.en.html | 462 ------------------- 06.understand_sentiment/index.cn.html | 446 ++++++++++++++++++ 06.understand_sentiment/index.en.html | 410 ----------------- 07.label_semantic_roles/index.cn.html | 584 +++++++++++++++++++++++ 07.label_semantic_roles/index.en.html | 603 ------------------------ 08.machine_translation/index.cn.html | 579 +++++++++++++++++++++++ 08.machine_translation/index.en.html | 615 ------------------------- README.cn.md | 20 +- README.md | 21 +- index.cn.html | 135 ++++++ index.en.html | 169 ------- index.html | 278 +++++------ 22 files changed, 4232 insertions(+), 4288 deletions(-) create mode 100644 01.fit_a_line/index.cn.html delete mode 100644 01.fit_a_line/index.en.html create mode 100644 02.recognize_digits/index.cn.html delete mode 100644 02.recognize_digits/index.en.html create mode 100644 03.image_classification/index.cn.html delete mode 100644 03.image_classification/index.en.html create mode 100644 04.word2vec/index.cn.html delete mode 100644 04.word2vec/index.en.html create mode 100644 05.recommender_system/index.cn.html delete mode 100644 05.recommender_system/index.en.html create mode 100644 06.understand_sentiment/index.cn.html delete mode 100644 06.understand_sentiment/index.en.html create mode 100644 07.label_semantic_roles/index.cn.html delete mode 100644 07.label_semantic_roles/index.en.html create mode 100644 08.machine_translation/index.cn.html delete mode 100644 08.machine_translation/index.en.html create mode 100644 index.cn.html delete mode 100644 index.en.html diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8359afe..e06e02f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,8 +35,8 @@ hooks: - id: convert-markdown-into-html name: convert-markdown-into-html - description: Convert README.md into index.html and README.en.md into index.en.html + description: Convert README.md into index.html and README.cn.md into index.cn.html entry: python .pre-commit-hooks/convert_markdown_into_html.py language: system - files: .+README(\.en)?\.md$ + files: .+README(\.cn)?\.md$ diff --git a/01.fit_a_line/index.cn.html b/01.fit_a_line/index.cn.html new file mode 100644 index 0000000..cac6ce7 --- /dev/null +++ b/01.fit_a_line/index.cn.html @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/01.fit_a_line/index.en.html b/01.fit_a_line/index.en.html deleted file mode 100644 index fdb8c89..0000000 --- a/01.fit_a_line/index.en.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/02.recognize_digits/index.cn.html b/02.recognize_digits/index.cn.html new file mode 100644 index 0000000..60d7c85 --- /dev/null +++ b/02.recognize_digits/index.cn.html @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/02.recognize_digits/index.en.html b/02.recognize_digits/index.en.html deleted file mode 100644 index 7482f53..0000000 --- a/02.recognize_digits/index.en.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/03.image_classification/index.cn.html b/03.image_classification/index.cn.html new file mode 100644 index 0000000..8f059be --- /dev/null +++ b/03.image_classification/index.cn.html @@ -0,0 +1,627 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/03.image_classification/index.en.html b/03.image_classification/index.en.html deleted file mode 100644 index c34fb38..0000000 --- a/03.image_classification/index.en.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/04.word2vec/index.cn.html b/04.word2vec/index.cn.html new file mode 100644 index 0000000..b7228b3 --- /dev/null +++ b/04.word2vec/index.cn.html @@ -0,0 +1,473 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/04.word2vec/index.en.html b/04.word2vec/index.en.html deleted file mode 100644 index f02da81..0000000 --- a/04.word2vec/index.en.html +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/05.recommender_system/index.cn.html b/05.recommender_system/index.cn.html new file mode 100644 index 0000000..7722e63 --- /dev/null +++ b/05.recommender_system/index.cn.html @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/05.recommender_system/index.en.html b/05.recommender_system/index.en.html deleted file mode 100644 index 9562124..0000000 --- a/05.recommender_system/index.en.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/06.understand_sentiment/index.cn.html b/06.understand_sentiment/index.cn.html new file mode 100644 index 0000000..3705976 --- /dev/null +++ b/06.understand_sentiment/index.cn.html @@ -0,0 +1,446 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/06.understand_sentiment/index.en.html b/06.understand_sentiment/index.en.html deleted file mode 100644 index 8b46a9d..0000000 --- a/06.understand_sentiment/index.en.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/07.label_semantic_roles/index.cn.html b/07.label_semantic_roles/index.cn.html new file mode 100644 index 0000000..725f6a3 --- /dev/null +++ b/07.label_semantic_roles/index.cn.html @@ -0,0 +1,584 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/07.label_semantic_roles/index.en.html b/07.label_semantic_roles/index.en.html deleted file mode 100644 index 952a2ef..0000000 --- a/07.label_semantic_roles/index.en.html +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/08.machine_translation/index.cn.html b/08.machine_translation/index.cn.html new file mode 100644 index 0000000..4082319 --- /dev/null +++ b/08.machine_translation/index.cn.html @@ -0,0 +1,579 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/08.machine_translation/index.en.html b/08.machine_translation/index.en.html deleted file mode 100644 index d0c2ff3..0000000 --- a/08.machine_translation/index.en.html +++ /dev/null @@ -1,615 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/README.cn.md b/README.cn.md index 5a8695b..f984ca5 100644 --- a/README.cn.md +++ b/README.cn.md @@ -1,18 +1,18 @@ # 深度学习入门 [![Build Status](https://travis-ci.org/PaddlePaddle/book.svg?branch=develop)](https://travis-ci.org/PaddlePaddle/book) -[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://book.paddlepaddle.org/index.en.html) -[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](http://book.paddlepaddle.org) +[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://book.paddlepaddle.org/) +[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](http://book.paddlepaddle.org/index.cn.html) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE) -1. [新手入门](http://book.paddlepaddle.org/01.fit_a_line) -1. [识别数字](http://book.paddlepaddle.org/02.recognize_digits) -1. [图像分类](http://book.paddlepaddle.org/03.image_classification) -1. [词向量](http://book.paddlepaddle.org/04.word2vec) -1. [个性化推荐](http://book.paddlepaddle.org/05.recommender_system) -1. [情感分析](http://book.paddlepaddle.org/06.understand_sentiment) -1. [语义角色标注](http://book.paddlepaddle.org/07.label_semantic_roles) -1. [机器翻译](http://book.paddlepaddle.org/08.machine_translation) +1. [新手入门](http://book.paddlepaddle.org/01.fit_a_line/index.cn.html) +1. [识别数字](http://book.paddlepaddle.org/02.recognize_digits/index.cn.html) +1. [图像分类](http://book.paddlepaddle.org/03.image_classification/index.cn.html) +1. [词向量](http://book.paddlepaddle.org/04.word2vec/index.cn.html) +1. [个性化推荐](http://book.paddlepaddle.org/05.recommender_system/index.cn.html) +1. [情感分析](http://book.paddlepaddle.org/06.understand_sentiment/index.cn.html) +1. [语义角色标注](http://book.paddlepaddle.org/07.label_semantic_roles/index.cn.html) +1. [机器翻译](http://book.paddlepaddle.org/08.machine_translation/index.cn.html) ## 运行这本书 diff --git a/README.md b/README.md index f1c9ac2..78990a9 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # Deep Learning with PaddlePaddle -1. [Fit a Line](http://book.paddlepaddle.org/01.fit_a_line/index.en.html) -1. [Recognize Digits](http://book.paddlepaddle.org/02.recognize_digits/index.en.html) -1. [Image Classification](http://book.paddlepaddle.org/03.image_classification/index.en.html) -1. [Word to Vector](http://book.paddlepaddle.org/04.word2vec/index.en.html) -1. [Recommender System](http://book.paddlepaddle.org/05.recommender_system/index.en.html) -1. [Understand Sentiment](http://book.paddlepaddle.org/06.understand_sentiment/index.en.html) -1. [Label Semantic Roles](http://book.paddlepaddle.org/07.label_semantic_roles/index.en.html) -1. [Machine Translation](http://book.paddlepaddle.org/08.machine_translation/index.en.html) +[![Build Status](https://travis-ci.org/PaddlePaddle/book.svg?branch=develop)](https://travis-ci.org/PaddlePaddle/book) +[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://book.paddlepaddle.org/) +[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](http://book.paddlepaddle.org/index.cn.html) +[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE) + +1. [Fit a Line](http://book.paddlepaddle.org/01.fit_a_line/) +1. [Recognize Digits](http://book.paddlepaddle.org/02.recognize_digits/) +1. [Image Classification](http://book.paddlepaddle.org/03.image_classification/) +1. [Word to Vector](http://book.paddlepaddle.org/04.word2vec/) +1. [Recommender System](http://book.paddlepaddle.org/05.recommender_system/) +1. [Understand Sentiment](http://book.paddlepaddle.org/06.understand_sentiment/) +1. [Label Semantic Roles](http://book.paddlepaddle.org/07.label_semantic_roles/) +1. [Machine Translation](http://book.paddlepaddle.org/08.machine_translation/) ## Running the Book diff --git a/index.cn.html b/index.cn.html new file mode 100644 index 0000000..bfb5223 --- /dev/null +++ b/index.cn.html @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + diff --git a/index.en.html b/index.en.html deleted file mode 100644 index b9968aa..0000000 --- a/index.en.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - Deep Learning 101 - - - - - - - - - - - - \ No newline at end of file diff --git a/index.html b/index.html index 562a0e1..02c3521 100644 --- a/index.html +++ b/index.html @@ -1,173 +1,133 @@ - - + + - - 深度学习入门 - - - - - -.left-panel { - background: #E5E6EA; -} -.left-panel .card-block a.click_active { - background-color: #597cf1; - color: #fff; -} - -.left-panel .card-header { - background: #ecedee; -} + +
+
-.left-panel .card-header a { - font-size: 14px; -} + + + + + - \ No newline at end of file -- GitLab