rust-unofficial / patterns

A catalogue of Rust design patterns, anti-patterns and idioms
https://rust-unofficial.github.io/patterns/
Mozilla Public License 2.0
8.02k stars 366 forks source link

Add zh-CN translation to intro #293

Closed pickfire closed 2 years ago

pickfire commented 2 years ago

Fix #292

I added it to intro rather than readme because it's the first page seen in the website, having it in the first place will make it more discoverable.

simonsan commented 2 years ago

I would probably rather do it this way, still not sure though.

./SUMMARY.md

- [Introduction](./intro.md)
  - [Translations](./translations.md)

./translations.md

# Translations

- [简体中文翻译](https://fomalhauthmj.github.io/patterns/)

If you want to add a translation, please open an issue in the [main repository](https://github.com/rust-unofficial/patterns).
Fomalhauthmj commented 2 years ago

@pickfire, I think @simonsan's approach is better, can you push a new commit?

pickfire commented 2 years ago

@simonsan Thanks, I have updated it as what you said. I didn't know summary is the main entry file.