Skip to content

Commit

Permalink
Update dev guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Jan 28, 2023
1 parent 493492d commit 9df9e4a
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 52 deletions.
6 changes: 6 additions & 0 deletions doc/EN/dev_guide/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Erg development guide

This document is a guide to developing the Erg project.
It describes the internal structure of the erg compiler, how to make contributions, guidelines for development, and how to set up the development environment, etc.

You can read the HTML version at [here](https://erg-lang.org/dev-guide/JA).
22 changes: 22 additions & 0 deletions doc/EN/dev_guide/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Summary

<!--
This file is generated automatically. If you want to edit this, edit `doc/sync_to_summary.py`
This file is for generating The Erg Book. Do not add badges, etc.
-->

[about this guide](./about.md)

---

- [branch policy](branches.md)
- [build features](build_features.md)
- [directory structure](directories.md)
- [document guideline](doc_guideline.md)
- [embedding](embedding.md)
- [development environment](env.md)
- [internationalization](i18n_messages.md)
- [Rust code guideline](rust_code_guideline.md)
- [test](test.md)
- [troubleshooting](troubleshooting.md)
- [versioning](version.md)
4 changes: 4 additions & 0 deletions doc/EN/dev_guide/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# About this guide

This document is a guide to developing the Erg project.
It describes the internal structure of the erg compiler, how to make contributions, guidelines for development, and how to set up the development environment, etc.
6 changes: 3 additions & 3 deletions doc/EN/dev_guide/i18n_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ The `{name}` part is Rust's formatting feature that allows you to embed the cont

Now let's build with the `--features simplified_chinese` option.

<img src="../../../assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>
<img src="https://raw.githubusercontent.com/erg-lang/erg/main/assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>

You did it, did not you!
You did it!

## FAQs

Expand All @@ -55,4 +55,4 @@ A: We currently support the following languages:
* "simplified_chinese" (Simplified Chinese)
* "traditional_chinese" (Traditional Chinese)

If you would like to add languages ​​other than these, please make a request.
If you would like to add languages ​​other than these, please make a request.
21 changes: 0 additions & 21 deletions doc/EN/dev_guide/index.md

This file was deleted.

8 changes: 8 additions & 0 deletions doc/JA/dev_guide/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Erg開発ガイド

[![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3Ddoc/EN/dev_guide/README.md%26commit_hash%3D64fec7d91494cbb22f89147863db2a8ee81954db)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=doc/EN/dev_guide/README.md&commit_hash=64fec7d91494cbb22f89147863db2a8ee81954db)

本ドキュメントはErgプロジェクトの開発に関するガイドです。
ergコンパイラの内部構造や、コントリビューションの方法、開発に関する指針、開発環境のセットアップ方法などを説明しています。

[こちら](https://erg-lang.org/dev-guide/JA)からHTML版を読むことができます。
22 changes: 22 additions & 0 deletions doc/JA/dev_guide/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 概要

<!--
This file is generated automatically. If you want to edit this, edit `doc/sync_to_summary.py`
This file is for generating The Erg Book. Do not add badges, etc.
-->

[このガイドについて](./about.md)

---

- [ブランチ運用方針](branches.md)
- [build features](build_features.md)
- [ディレクトリ構造](directories.md)
- [ドキュメントのガイドライン](doc_guideline.md)
- [組み込み](embedding.md)
- [開発環境](env.md)
- [多言語化](i18n_messages.md)
- [Rustコードガイドライン](rust_code_guideline.md)
- [テスト](test.md)
- [トラブルシューティング](troubleshooting.md)
- [バージョニング](version.md)
4 changes: 4 additions & 0 deletions doc/JA/dev_guide/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# このガイドについて

本ドキュメントはErgプロジェクトの開発に関するガイドです。
ergコンパイラの内部構造や、コントリビューションの方法、開発に関する指針、開発環境のセットアップ方法などを説明しています。
2 changes: 1 addition & 1 deletion doc/JA/dev_guide/i18n_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ switch_lang!(

では、`--features simplified_chinese` オプションを付けてビルドしてみましょう。

<img src="../../../assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>
<img src="https://raw.githubusercontent.com/erg-lang/erg/main/assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>

やりましたね!

Expand Down
23 changes: 0 additions & 23 deletions doc/JA/dev_guide/index.md

This file was deleted.

4 changes: 2 additions & 2 deletions doc/zh_CN/dev_guide/i18n_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ switch_lang!(

现在,我们使用选项构建它

<img src="../../../assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>
<img src="https://raw.githubusercontent.com/erg-lang/erg/main/assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>

你做到了!

Expand All @@ -54,4 +54,4 @@ Q: 如果想添加自己的语言,该如何替换部分?答: 目前支持以
* "simplified_chinese" (简体中文)
* "traditional_chinese" (繁体中文)

如果你想添加其他语言,请提出请求。
如果你想添加其他语言,请提出请求。
4 changes: 2 additions & 2 deletions doc/zh_TW/dev_guide/i18n_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ switch_lang!(

現在,我們使用選項構建它

<img src="../../../assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>
<img src="https://raw.githubusercontent.com/erg-lang/erg/main/assets/screenshot_i18n_messages.png" alt='screenshot_i18n_messages'>

你做到了!

Expand All @@ -54,4 +54,4 @@ Q: 如果想添加自己的語言,該如何替換部分?答: 目前支持以
* "simplified_chinese" (簡體中文)
* "traditional_chinese" (繁體中文)

如果你想添加其他語言,請提出請求。
如果你想添加其他語言,請提出請求。

0 comments on commit 9df9e4a

Please sign in to comment.