Skip to content

Commit 55df223

Browse files
authored
Merge pull request #544 from yukinarit/add-japanese-translation
Add mdbook project for Japanese translation
2 parents b564f3f + a3cc4cd commit 55df223

16 files changed

+53
-2
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ docs:
3737
mkdir -p docs out/api out/guide/en
3838
$(POETRY) run pdoc -e serde=https://github.com/yukinarit/pyserde/tree/main/serde/ serde -o out/api
3939
mdbook build -d ../../out/guide/en ./docs/en
40+
mdbook build -d ../../out/guide/ja ./docs/ja
4041

4142
open-docs:
4243
$(POETRY) run pdoc -e serde=https://github.com/yukinarit/pyserde/tree/main/serde serde

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href = "https://piptrends.com/package/pyserde" alt = "pyserde Downloads Last Month"><img alt="pyserde Downloads Last Month by pip Trends" src="https://assets.piptrends.com/get-last-month-downloads-badge/pyserde.svg"></a>
1717
</p>
1818
<p align="center">
19-
<a href="https://yukinarit.github.io/pyserde/guide/en">Guide</a> | <a href="https://yukinarit.github.io/pyserde/api/serde.html">API Docs</a> | <a href="https://github.com/yukinarit/pyserde/tree/main/examples">Examples</a>
19+
<a href="https://yukinarit.github.io/pyserde/guide/en">Guide🇬🇧</a> | <a href="https://yukinarit.github.io/pyserde/guide/ja">ガイド🇯🇵</a> | <a href="https://yukinarit.github.io/pyserde/api/serde.html">API Docs</a> | <a href="https://github.com/yukinarit/pyserde/tree/main/examples">Examples</a>
2020
</p>
2121

2222
## Overview

docs/en/book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ title = "pyserde documentation"
77

88
[output.html]
99
git-repository-url = "https://github.com/yukinarit/pyserde"
10-
edit-url-template = "https://github.com/yukinarit/pyserde/edit/main/{path}"
10+
edit-url-template = "https://github.com/yukinarit/pyserde/edit/main/en/{path}"

docs/ja/SUMMARY.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Summary
2+
3+
- [Introduction](introduction.md)
4+
- [Getting Started](getting-started.md)
5+
- [Data Formats](data-formats.md)
6+
- [Types](types.md)
7+
- [Decorators](decorators.md)
8+
- [Class Attributes](class-attributes.md)
9+
- [Field Attributes](field-attributes.md)
10+
- [Union](union.md)
11+
- [Type Checking](type-check.md)
12+
- [Extension](extension.md)
13+
- [FAQ](faq.md)

docs/ja/book.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[book]
2+
authors = ["yukinarit"]
3+
language = "ja"
4+
multilingual = true
5+
src = "./"
6+
title = "pyserde documentation"
7+
8+
[output.html]
9+
git-repository-url = "https://github.com/yukinarit/pyserde"
10+
edit-url-template = "https://github.com/yukinarit/pyserde/edit/main/ja/{path}"

docs/ja/class-attributes.md

Whitespace-only changes.

docs/ja/data-formats.md

Whitespace-only changes.

docs/ja/decorators.md

Whitespace-only changes.

docs/ja/extension.md

Whitespace-only changes.

docs/ja/faq.md

Whitespace-only changes.

0 commit comments

Comments
 (0)