Merge pull request #3117 from t-ube/ja-contribute-blog

[JA] translate Contribute Blog documents
This commit is contained in:
Rome Reginelli
2025-06-05 13:24:20 -07:00
committed by GitHub
3 changed files with 127 additions and 4 deletions

View File

@@ -0,0 +1,81 @@
---
category: 2025
date: 2025-mm-dd
seo:
title: SEO最適化済みのタイトル
description: ページ内容を正確に反映した、SEO最適化された説明文155文字以内を推奨
labels:
- 一般
markdown:
editPage:
hide: true
---
# SEO最適化済みのタイトル
ブログ記事の下書きに向けて、最初の一歩を踏み出しましたね! この記事の構成を整理するための出発点として、このテンプレートを活用してください。
<!-- BREAK -->
詳しいガイドラインや例については、[ブログ記事を投稿する](https://xrpl.org/resources/contribute-blog/)をご覧ください。
NOTE: 現在、ブログ記事は英語のみで提供されており、翻訳はまだ行われていません。
## セクション: 便利なリファレンス
すぐに執筆を始められるように、ブログ記事でよく使われる構文のガイドをご用意しました。執筆プロセスを効率化するのに最適です。
**タイトル**
ブログ記事のタイトルや見出しにはタイトルケース(英語の各単語の頭文字を大文字)を使用してください。
SEOに最適化されたタイトルを選びましょう。
タイトルは50文字以内に収め、メタ情報の `seo -> title` フィールドと一致させることを推奨します。
**リンク**
内部リンクを含めるには、相対パスを使用します。 例えば、ドキュメントへの貢献 トピックへのリンクを作成するには以下の構文を使用します。
```
[ドキュメントへの貢献](../resources/contribute-documentation/index.md).
```
外部リンクを含めるには、相対パスではなく絶対URLを使用してください。以下の例をご覧ください。
```
[ドキュメントへの貢献](https://xrpl.org/resources/contribute-documentation).
```
**リスト**
順不同リストを含めるには、以下の構文を使用してください。
- 項目 1
- 項目 2
順序付きリストを含めるには、以下の構文を使用してください。
1. リスト項目 1
2. リスト項目 2
### サブセクション: ブログ記事へ画像を埋め込む方法
画像を含めるには、以下の構文を使用してください。
```
![image_description](/blog/img/my_image.png)
```
画像ファイルは `/blog/img` ディレクトリに保存することを推奨します。
例えば、 `![XRPL Developer Portal](/blog/img/docs-iav3/xrpl-docs-home.png)` と記述すると、以下のように表示されます。
![XRPL Developer Portal](/blog/img/docs-iav3/xrpl-docs-home.png)
### サブセクション: ブログ記事へ動画を埋め込む方法
動画の埋め込み方法については、[ドキュメントへの貢献](https://xrpl.org/resources/contribute-documentation#videos) の該当セクションをご覧ください。

View File

@@ -0,0 +1,42 @@
---
html: contribute-blog.html
parent: resources.html
seo:
description: XRPLブログへの投稿手順
labels:
- ブロックチェーン
---
# ブログ記事を投稿する
XRP Ledger開発者ブログへの投稿をご検討いただきありがとうございます
このページでは、新しいブログ記事を作成するための概要手順を紹介しています。XRP Ledger開発者ポータルへの投稿に関する詳細な手順やガイドラインについては、[ドキュメントへの貢献](../contribute-documentation/index.md)をご覧ください。
{% admonition type="info" name="Note" %}現在、ブログ記事は英語のみで提供されており、まだ翻訳は行われていません。{% /admonition %}
## ブログ投稿用のディレクトリ構成
ソースファイルは、公開されている `xrpl-dev-portal` リポジトリの `blog` ディレクトリにあります。
ブログ記事で使用される画像ファイルは、`blog/img` ディレクトリにあります。
ブログ記事は年ごとに分類されており、2025年に公開されたすべてのブログ記事は `blog/2025` ディレクトリにあります。
## ブログ記事の新規作成手順
新しい記事を作成するには、以下の手順に従ってください。
1. 作業を始める前に、`xrpl-dev-portal` リポジトリの上流upstream`master` ブランチから最新の更新をプルしておいてください。
2. `blog-{記事の概要}` の形式で、新しいブログ記事用のブランチを作成してください。
3. `blog/{年}` フォルダ内に、新しいMarkdownファイルを作成してください。たとえば、以下のようになりますhttps://github.com/XRPLF/xrpl-dev-portal/tree/master/blog/2025
4. 下書きのブログ記事は、テンプレートファイル [`_blog_template.md`](https://github.com/XRPLF/xrpl-dev-portal/tree/master/%40l10n/ja/resources/contribute-blog/_blog-template.md) を参考にして作成してください。
5. 新しく作成したファイルを `blog/sidebars.yaml` に追加してください。
6. 下書きがレビュー可能な状態になったら、内容を保存し、コミットを実行してください。
7. master ブランチへのマージ用に、新しいプルリクエストを作成してください。

View File

@@ -29,14 +29,14 @@ To create a new post, follow these steps:
1. Before you begin, ensure that you pull the most recent updates from the upstream `master` branch of the `xrpl-dev-portal` repository.
2. Create a new branch for the blog post using the format `blog-<short-desc-of-update>`.
2. Create a new branch for the blog post using the format `blog-{short-desc-of-update}`.
3. Create a new markdown file in the `blog/_current_year_` folder, for example https://github.com/XRPLF/xrpl-dev-portal/tree/master/blog/2025
3. Create a new markdown file in the `blog/{YEAR}` folder, for example https://github.com/XRPLF/xrpl-dev-portal/tree/master/blog/2025
4. Refer to the template file [`_blog_template.md`](https://github.com/XRPLF/xrpl-dev-portal/tree/master/resources/contribute-blog/_blog-template.md) to compose your draft blog.
5. Update the `blog/sidebar.yaml` file to include the newly created file.
5. Update the `blog/sidebars.yaml` file to include the newly created file.
6. Once the draft is ready for review, save and commit your updates.
6. When the draft is ready for review, save and commit your updates.
7. Create a new PR to merge your changes to master.