From 1a7e4565d1e6a3cb26ccbc26cbd012c749dd71c4 Mon Sep 17 00:00:00 2001 From: Teiva Harsanyi Date: Wed, 6 Mar 2024 21:48:57 +0100 Subject: [PATCH] Langs --- docs/ja.md | 8 +- docs/zh.md | 4 + mkdocs.yml | 6 +- site/20-slice/index.html | 54 +- site/28-maps-memory-leaks/index.html | 54 +- site/404.html | 54 +- site/5-interface-pollution/index.html | 56 +- site/56-concurrency-faster/index.html | 54 +- site/89-benchmarks/index.html | 54 +- site/9-generics/index.html | 54 +- site/92-false-sharing/index.html | 54 +- .../98-profiling-execution-tracing/index.html | 54 +- site/book/index.html | 54 +- site/chapter-1/index.html | 54 +- site/external/index.html | 54 +- site/index.html | 56 +- site/ja/index.html | 1292 ++++++++++++++++- site/search/search_index.json | 2 +- site/sitemap.xml.gz | Bin 343 -> 343 bytes site/zh/index.html | 1200 ++++++++++++++- 20 files changed, 3104 insertions(+), 114 deletions(-) diff --git a/docs/ja.md b/docs/ja.md index 02d98c4..2701dfd 100644 --- a/docs/ja.md +++ b/docs/ja.md @@ -9,12 +9,16 @@ hide: このページは『100 Go Mistakes』の内容をまとめたものです。一方で、コミュニティに開かれたページでもあります。「ありがちな間違い」が新たに追加されるべきだとお考えでしたら [community mistake issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=) を作成してください。 +???+ Tip "Jobs" + + Is your company hiring? [Sponsor](https://github.com/sponsors/teivah/sponsorships?sponsor=teivah&tier_id=386213&preview=true) the Japanese version of this repository and let a significant audience of Go developers (~1k unique visitors per week) know about your opportunities in this section. + +![](img/inside-cover.png) + ???+ warning "注意" 現在、大幅に多くのコンテンツを追加して強化している新しいバージョンを閲覧しています。このバージョンはまだ開発中です。問題を見つけた場合はどうぞ気軽にPRを作成してください。 -![](img/inside-cover.png) - ## コードとプロジェクト構成 ### 意図的でない変数のシャドーイング (#1) diff --git a/docs/zh.md b/docs/zh.md index 0f3537d..15c7cb1 100644 --- a/docs/zh.md +++ b/docs/zh.md @@ -7,6 +7,10 @@ hide: # 100个Go常见错误及如何避免 +???+ Tip "Jobs" + + Is your company hiring? [Sponsor](https://github.com/sponsors/teivah/sponsorships?sponsor=teivah&tier_id=386213&preview=true) the Chinese version of this repository and let a significant audience of Go developers (~1k unique visitors per week) know about your opportunities in this section. + ![](img/inside-cover.png) ## 代码及工程组织 diff --git a/mkdocs.yml b/mkdocs.yml index dcdd015..e0a8fa1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -52,10 +52,10 @@ extra: - name: 🇬🇧 English link: / lang: en - - name: 🇨🇳 Chinese Simplified + - name: 🇨🇳 Chinese simplified link: /zh/ lang: zh - - name: 🇯🇵 Japanese (進行中) + - name: 🇯🇵 Japanese link: /ja/ lang: ja social: @@ -70,6 +70,8 @@ nav: - external.md - Go Mistakes: - index.md + - '简体中文': zh.md + - '日本語': ja.md - Full Sections: - 5-interface-pollution.md - 9-generics.md diff --git a/site/20-slice/index.html b/site/20-slice/index.html index 870e78d..cd38646 100644 --- a/site/20-slice/index.html +++ b/site/20-slice/index.html @@ -216,13 +216,13 @@
  • - 🇨🇳 Chinese Simplified + 🇨🇳 Chinese simplified
  • - 🇯🇵 Japanese (進行中) + 🇯🇵 Japanese
  • @@ -569,6 +569,48 @@ + + +
  • + + + + + 简体中文 + + + + +
  • + + + + + + + + + + +
  • + + + + + 日本語 + + + + +
  • + + + + + + + + @@ -589,10 +631,10 @@ - + -