From 30584b5eba95e0778d72db3212f0f01bd0378c40 Mon Sep 17 00:00:00 2001 From: rmurphy23 Date: Mon, 27 Jul 2020 15:14:30 -0700 Subject: [PATCH] Adds snippet for missing commandline syntax and replaces commandline note with snippet in ledger_data.md --- content/_snippets/no-cli-syntax.md | 1 + .../public-rippled-methods/ledger-methods/ledger_data.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 content/_snippets/no-cli-syntax.md diff --git a/content/_snippets/no-cli-syntax.md b/content/_snippets/no-cli-syntax.md new file mode 100644 index 0000000000..ffc65eb98a --- /dev/null +++ b/content/_snippets/no-cli-syntax.md @@ -0,0 +1 @@ +**Note:** There is no commandline syntax for `ledger_data`. You can use the [json method][] to access this method from the commandline instead. \ No newline at end of file diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md index b304dc174c..118265241d 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md @@ -6,7 +6,7 @@ The `ledger_data` method retrieves contents of the specified ledger. You can ite ## Request Format An example of the request format: -**Note:** There is no commandline syntax for `ledger_data`. You can use the [json method][] to access this method from the commandline instead. +{% include '_snippets/no-cli-syntax.md' %}