From 166f10a6bba899c6b2b546693c8568f291c59545 Mon Sep 17 00:00:00 2001 From: Tadao Iseki Date: Wed, 25 Mar 2020 16:47:08 +0900 Subject: [PATCH 1/2] docs: transrate contributing/submit-to-plugin-library --- docs/contributing/submit-to-plugin-library.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/contributing/submit-to-plugin-library.md b/docs/contributing/submit-to-plugin-library.md index d545ef7c6..fc8bad5b6 100644 --- a/docs/contributing/submit-to-plugin-library.md +++ b/docs/contributing/submit-to-plugin-library.md @@ -1,23 +1,23 @@ --- -title: Submit to Plugin Library +title: プラグインライブラリに送信する --- -## Publishing a plugin to the library +## ライブラリにプラグインを公開する -In order to add your plugin to the [Plugin Library](/plugins/), you need to: +[プラグインライブラリ](/plugins/)にプラグインを追加するためには、以下を行う必要があります。 -1. Publish a package to npm (learn how on the [npm docs](https://docs.npmjs.com/getting-started/publishing-npm-packages)). -2. Include the [required files](/docs/files-gatsby-looks-for-in-a-plugin/) in your plugin code. -3. **Include a `keywords` field** in your plugin's `package.json`, containing `gatsby` and `gatsby-plugin`. If your plugin is a theme, please also include `gatsby-theme`. -4. Document your plugin with a README, there is a [plugin template](/contributing/docs-templates/#plugin-readme-template) available to be used as reference. +1. パッケージを npm に公開してください([npm docs](https://docs.npmjs.com/getting-started/publishing-npm-packages) の方法をご覧ください)。 +2. プラグインのコードに[必要なファイル](/docs/files-gatsby-looks-for-in-a-plugin/)を含めてください。 +3. プラグインの `package.json` に `gatsby` と `gatsby-plugin` を含めた **`keyword` フィールドを含めてください**。プラグインがテーマの場合は、`gatsby-theme` も含めてください。 +4. プラグインを README で文書化してください。参考として使用できる[プラグインテンプレート](/contributing/docs-templates/#plugin-readme-template)があります。 -After doing so, Algolia will take up to 12 hours to add it to the library search index (the exact time necessary is still unknown), and wait for the daily rebuild of https://gatsbyjs.org to automatically include your plugin page to the website. Then, all you have to do is share your wonderful plugin with the community! +そうすると、Algolia はそれをライブラリ検索インデックスに追加するのに最大 12 時間(正確な時間はまだ不明)かかるので、https://gatsbyjs.org の毎日の再構築によってプラグインページが自動でウェブサイトに追加されるのを待ってください。その後、素晴らしいプラグインをコミュニティと共有しましょう! -## Notes +## ヒント -### Keywords +### キーワード -You can include other _relevant_ keywords to your `package.json` file to help interested users in finding it. As an example, a Markdown MathJax transformer would include: +他の _関連_ キーワードを `package.json` ファイルに含めて、関心のあるユーザが見つけやすくできます。例として、Markdown MathJax transformer には次のものが含まれます。 ```json:title=package.json "keywords": [ @@ -29,6 +29,6 @@ You can include other _relevant_ keywords to your `package.json` file to help in ] ``` -### Images +### 画像 -If you include images in your plugin repo's README, please make sure you are referencing the image using an absolute URL in order for the image to show on your plugin page. +プラグインリポジトリの README に画像を含める場合は、プラグインページに画像を表示するために、絶対 URL を使用して画像を参照していることを確認してください。 From 683fce1c30f995a0da9ae0d09138e1b43f117745 Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Thu, 26 Mar 2020 09:16:38 +0900 Subject: [PATCH 2/2] Fix lint error --- docs/contributing/submit-to-plugin-library.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/contributing/submit-to-plugin-library.md b/docs/contributing/submit-to-plugin-library.md index fc8bad5b6..ee53a5086 100644 --- a/docs/contributing/submit-to-plugin-library.md +++ b/docs/contributing/submit-to-plugin-library.md @@ -11,13 +11,13 @@ title: プラグインライブラリに送信する 3. プラグインの `package.json` に `gatsby` と `gatsby-plugin` を含めた **`keyword` フィールドを含めてください**。プラグインがテーマの場合は、`gatsby-theme` も含めてください。 4. プラグインを README で文書化してください。参考として使用できる[プラグインテンプレート](/contributing/docs-templates/#plugin-readme-template)があります。 -そうすると、Algolia はそれをライブラリ検索インデックスに追加するのに最大 12 時間(正確な時間はまだ不明)かかるので、https://gatsbyjs.org の毎日の再構築によってプラグインページが自動でウェブサイトに追加されるのを待ってください。その後、素晴らしいプラグインをコミュニティと共有しましょう! +そうすると、Algolia はそれをライブラリー検索インデックスに追加するのに最大 12 時間(正確な時間はまだ不明)かかるので、https://gatsbyjs.org の毎日の再構築によってプラグインページが自動でウェブサイトに追加されるのを待ってください。その後、素晴らしいプラグインをコミュニティーと共有しましょう! ## ヒント ### キーワード -他の _関連_ キーワードを `package.json` ファイルに含めて、関心のあるユーザが見つけやすくできます。例として、Markdown MathJax transformer には次のものが含まれます。 +他の _関連_ キーワードを `package.json` ファイルに含めて、関心のあるユーザーが見つけやすくできます。例として、Markdown MathJax transformer には次のものが含まれます。 ```json:title=package.json "keywords": [ @@ -31,4 +31,4 @@ title: プラグインライブラリに送信する ### 画像 -プラグインリポジトリの README に画像を含める場合は、プラグインページに画像を表示するために、絶対 URL を使用して画像を参照していることを確認してください。 +プラグインリポジトリーの README に画像を含める場合は、プラグインページに画像を表示するために、絶対 URL を使用して画像を参照していることを確認してください。