Skip to content

Commit

Permalink
Merge pull request #2267 from mDuo13/rm_currentpage_md_vars
Browse files Browse the repository at this point in the history
Remove `currentpage.md` variables
  • Loading branch information
mDuo13 authored Nov 21, 2023
2 parents efe79c1 + 3abbe83 commit f8d0838
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 52 deletions.
1 change: 0 additions & 1 deletion content/@i18n/ja/references/client-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ blurb: これらのライブラリを使用して、お好みのプログラミ
| **Java** | `xrpl4j` | [Javaを使ってみよう](get-started-using-java.html) | [API リファレンス](https://javadoc.io/doc/org.xrpl/) | [リポジトリ](https://github.com/XRPLF/xrpl4j) |
| **Ruby** | `xrbp` | | [API リファレンス](https://www.rubydoc.info/gems/xrbp) | [リポジトリ](https://github.com/DevNullProd/xrbp) |

**ヒント:** ここに掲載されていないクライアントライブラリを追加するには、[このページの変更を提案]({{target.github_forkurl}}/edit/{{target.github_branch}}/content/{{currentpage.md}})してください!
3 changes: 0 additions & 3 deletions content/_snippets/data_types/address.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ XRP Ledgerのアカウントは、XRP Ledgerの[base58][]フォーマットの
>
> XRP Ledgerプロトコルは「クラシック」アドレスのみをネイティブにサポートしていますが、多くの[クライアントライブラリ](client-libraries.html)はXアドレスもサポートしています。
{% if currentpage.md != "addresses.ja.md" %}
詳しくは、[アカウント](accounts.html)[base58エンコード](base58-encodings.html)をご覧ください。
{% endif %}
4 changes: 0 additions & 4 deletions content/_snippets/data_types/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,3 @@ Accounts in the XRP Ledger are identified by an address in the XRP Ledger's [bas
> **Note:** There is also an **X**-address format that "packs" a [destination tag](source-and-destination-tags.html) into the address. These addresses start with an `X` (for Mainnet) or a `T` (for [test networks](parallel-networks.html)). Exchanges and wallets can use X-addresses to represent all the data a customer needs to know in one value. For more information, see the [X-address format site](https://xrpaddress.info/) and [codec](https://github.com/xrp-community/xrpl-tagged-address-codec).
>
> The XRP Ledger protocol only supports "classic" addresses natively, but many [client libraries](client-libraries.html) support X-addresses too.
{% if currentpage.md != "addresses.md" %}
For more information, see [Accounts](accounts.html) and [base58 Encodings](base58-encodings.html).
{% endif %}
23 changes: 3 additions & 20 deletions content/_snippets/post-rippled-install.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@

`rippled`が残りのネットワークと同期されたら、ストック`rippled`サーバーが完全に機能するようになります。このサーバーを、ローカル署名やXRP LedgerへのAPIアクセスに使用できます。`rippled`サーバーがネットワークと同期されているかどうかを判別するには、[`rippled`サーバーの状況](rippled-server-states.html)を使用します。[`rippled`のコマンドラインインターフェイス](get-started-using-http-websocket-apis.html#コマンドライン)を使用すれば、これを迅速にテストできます。

{% if currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md" or
currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-macos.md" %}
$ ./rippled server_info
{% else %}
$ /opt/ripple/bin/rippled server_info
{% endif %}
```sh
rippled server_info
```

rippled APIを使用した`rippled`サーバーとの通信について詳しくは、[rippled API reference](http-websocket-apis.html)を参照してください。

Expand All @@ -27,20 +24,6 @@ rippled APIを使用した`rippled`サーバーとの通信について詳しく

構成の変更を有効にするには、`rippled`を再起動する必要があります。

{% if currentpage.md == "tutorials/manage-the-rippled-server/installation/install-rippled-on-ubuntu.md" or
currentpage.md == "tutorials/manage-the-rippled-server/installation/install-rippled-on-centos-rhel-with-yum" %}
$ sudo systemctl restart rippled.service

{% elif currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md" or
currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-macos.md" %}


* Ctrl-Cを使用して`rippled`を停止し、その後再起動します。

$ ./rippled

{% endif %}

`[debug_logfile]`セクションまたは`[database_path]`セクションを変更すると、`rippled`を実行するユーザーに、新しく構成したパスの所有権を付与する必要が生じる場合があります。

### 更新
Expand Down
27 changes: 5 additions & 22 deletions content/_snippets/post-rippled-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ It can take several minutes to sync with the rest of the XRP Ledger network, dur

You can use the [`rippled` commandline interface](get-started-using-http-websocket-apis.html#commandline) to see if your server is synced with the network:

{% if currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md" or
currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-macos.md" %}
./rippled server_info
{% else %}
/opt/ripple/bin/rippled server_info
{% endif %}
```sh
rippled server_info
```

If the `server_state` in the response is `full` or `proposing`, then your server is fully synced to the network. Otherwise, you may need to wait longer. Fresh servers usually sync within 15 minutes; servers that already have [ledger history](ledger-history.html) stored can take longer.

Expand All @@ -21,25 +18,11 @@ Having trouble getting your server started? See [rippled Server Won't Start](ser

`rippled` should connect to the XRP Ledger with the default configuration. However, you can change your settings by editing the `rippled.cfg` file. For recommendations about configuration settings, see [Capacity Planning](capacity-planning.html).

{% include '_snippets/conf-file-location.md' %}<!--_ -->
{% include '_snippets/conf-file-location.md' %}

See [the `rippled` GitHub repository](https://github.com/XRPLF/rippled/blob/master/cfg/rippled-example.cfg) for a description of all configuration options.

You must restart `rippled` for any configuration changes to take effect:


{% if currentpage.md == "tutorials/manage-the-rippled-server/installation/install-rippled-on-ubuntu.md" or
currentpage.md == "tutorials/manage-the-rippled-server/installation/install-rippled-on-centos-rhel-with-yum" %}
sudo systemctl restart rippled.service

{% elif currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md" or
currentpage.md == "tutorials/manage-the-rippled-server/installation/build-run-rippled-macos.md" %}

* Use Ctrl-C to stop `rippled`, then start it again:

./rippled

{% endif %}
You must restart `rippled` for any configuration changes to take effect.

If you change the `[debug_logfile]` or `[database_path]` sections, you may need to grant ownership of the new configured path to the user you run `rippled` as.

Expand Down
2 changes: 0 additions & 2 deletions content/references/client-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ For other programming languages, you can access the XRP Ledger through the [HTTP
| **JavaScript** / **TypeScript** | `xrpl.js` | [Get Started](get-started-using-javascript.html) | [API Reference](https://js.xrpl.org/) | [Repo](https://github.com/XRPLF/xrpl.js) |
| **C++** | `rippled` Signing Library | [Get Started](https://github.com/XRPLF/rippled/tree/develop/Builds/linux#signing-library) | | (Part of [`rippled`](https://github.com/XRPLF/rippled/)) |
| **Java** | `xrpl4j` | [Get Started Using Java](get-started-using-java.html) | [API Reference](https://javadoc.io/doc/org.xrpl/) | [Repo](https://github.com/XRPLF/xrpl4j) |

**Tip:** To add a client library not listed here, please [suggest changes to this page]({{target.github_forkurl}}/edit/{{target.github_branch}}/content/{{currentpage.md}})!

0 comments on commit f8d0838

Please sign in to comment.