Skip to content

Commit f98ca43

Browse files
committed
docs: update
1 parent 9b77b1f commit f98ca43

31 files changed

Lines changed: 45 additions & 39 deletions

docs/_docs/en/1.1-quick-start.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ In this document, you will learn how to **install the theme**, **setup your site
1212

1313
```mermaid
1414
graph LR;
15-
A0[Installing TeXt]
16-
B0[Common Method]
15+
A0(Installing TeXt)
16+
B0(Common Method)
1717
B1[Ruby Gem Method]
1818
C0[Fork this repo]
1919
C1[Clone from GitHub]
2020
C2[Download]
2121
D0[Setup Your Site]
22-
E0[Installing Development Environment]
22+
E0(Installing Development Environment)
2323
F0[Installing Directly]
2424
F1[Docker]
2525
A0-->B0;
@@ -140,4 +140,4 @@ For Docker, run `docker-compose -f ./docker/docker-compose.default.yml up` to st
140140

141141
If you host your site on GitHub Pages, just push the source to the master branch of your USERNAME.github.io repository, GitHub would build automatically. You can visit your site on **https://USERNAME.github.io** several minutes later.
142142

143-
If you host your site on your server, you need first run `JEKYLL_ENV=production bundle exec jekyll build` to generated your site, then update the files in *_site* folder to your server.
143+
If you host your site on your server, you need first run `JEKYLL_ENV=production bundle exec jekyll build` to generated your site, then update the files in *_site* folder to your server.

docs/_docs/en/1.2-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ key: docs-structure
4949
├── index.html
5050
├── jekyll-text-theme.gemspec
5151
└── package.json
52-
```
52+
```

docs/_docs/en/1.7-update-from-1-to-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,4 @@ header:
212212
zh-Hans: 关于
213213
zh-Hant: 關於
214214
url: /blog/about.html
215-
```
215+
```

docs/_docs/en/2.1-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,4 +362,4 @@ analytics:
362362
google:
363363
tracking_id: "your-google-analytics-tracking-code"
364364
anonymize_ip: true
365-
```
365+
```

docs/_docs/en/2.3-layouts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,4 @@ Base on Page Layout.
175175

176176
## 404 Layout
177177

178-
Base on Page Layout.
178+
Base on Page Layout.

docs/_docs/en/2.5-authors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Assign one of the authors in *authors.yml* to a post or page you wish to overrid
3131

3232
---
3333
author: Tian Qi
34-
---
34+
---

docs/_docs/en/2.7-i18n.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ By using `titles`, you can define multi-language name for page, layout and navig
1010

1111
<!-- more -->
1212

13-
The translation keys and multi-language names mentioned above support the following languages.
13+
The translation keys and multi-language names mentioned above support the following languages:
14+
<!-- @start locale config -->
1415

1516
| Language | `lang` |
1617
| --- | --- |
1718
| **English** | en, en-GB, en-US, en-CA, en-AU |
1819
| **Simplified Chinese** | zh-Hans, zh, zh-CN, zh-SG |
1920
| **Traditional Chinese** | zh-Hant, zh-TW, zh-HK |
2021
| **Korean** | ko, ko-KR |
22+
| **French** | fr, fr-BE, fr-CA, fr-CH, fr-FR, fr-LU |
2123

22-
You can see examples for different languages [HERE](https://tianqi.name/jekyll-TeXt-theme/samples.html#languages).
24+
<!-- @end locale config -->
25+
You can see examples for different languages [HERE](https://tianqi.name/jekyll-TeXt-theme/samples.html#languages).

docs/_docs/en/3.1-writing-posts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ To improve the user experience for both reading and writing posts, TeXt made som
3131

3232
Between these triple-dashed lines you can set variables. you can consider it as page configuration, these would overrides the global configuration in *_config.yml*.
3333

34-
Beside Jekyll’s predefined variables, TeXt define some new variables for each layouts, see [Layouts](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts) for details.
34+
Beside Jekyll’s predefined variables, TeXt define some new variables for each layouts, see [Layouts](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts) for details.

docs/_docs/en/3.2-markdown-enhancements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,4 @@ graph TB;
168168

169169
- [Doughnut Chart](http://www.chartjs.org/docs/latest/charts/doughnut.html)
170170

171-
- [Bubble Chart](http://www.chartjs.org/docs/latest/charts/bubble.html)
171+
- [Bubble Chart](http://www.chartjs.org/docs/latest/charts/bubble.html)

docs/_docs/en/3.3-additional-styles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,4 @@ Error Text.
166166
![Image](path-to-image){:.circle.border.shadow}
167167
</div>
168168
</div>
169-
</div>
169+
</div>

0 commit comments

Comments
 (0)