Fix WS Tool links, examples, sidebar

- Update docs links for all methods.
- Add some missing methods.
- Add an icon for Clio-specific methods.
- Move the long list of ledger_entry examples below other types so those
  ones are not as buried.
- Remove unused old JS files.
- Make method list sidebar self-scrolling like docs TOC sidebar, so that
  links to methods lower in the list don't scroll the main UI up off the
  visible part of the page.
- Fix #2470.
- Fix a broken 'try it' link on the amm_info page that was causing an
  error page to display when clicked.
This commit is contained in:
mDuo13
2024-03-21 15:22:05 -07:00
parent 4beaceee43
commit dd3644ea36
15 changed files with 287 additions and 1765 deletions

View File

@@ -44,8 +44,7 @@ An example of the request format:
{% /tabs %}
<!-- To DO: Add an example command to the assets/js/apitool-methods-ws.js file. The WebSocket Tool requires access to a publicly available Clio server.
[Try it! >](websocket-api-tool.html#nft_history)-->
[Try it! >](/resources/dev-tools/websocket-api-tool#nft_history)
The request contains the following parameters:

View File

@@ -41,8 +41,7 @@ An example of the request format:
{% /tabs %}
<!-- To DO: Add an example command to the assets/js/apitool-methods-ws.js file. The WebSocket Tool requires access to a publicly available Clio server.
[Try it! >](websocket-api-tool.html#nft_info)-->
[Try it! >](/resources/dev-tools/websocket-api-tool#nft_info)
The request contains the following parameters:

View File

@@ -22,8 +22,7 @@ An example of the request format:
}
```
<!-- To DO: Add an example command to the assets/js/apitool-methods-ws.js file. The WebSocket Tool requires access to a publicly available Clio server.
[Try it! >](websocket-api-tool.html#nft_history)-->
[Try it! >](/resources/dev-tools/websocket-api-tool#nfts_by_issuer)
The request contains the following parameters:

View File

@@ -59,7 +59,7 @@ An example of the request format:
{% /tabs %}
[Try it! >](/resources/dev-tools/websocket-api-tool?server=wss%3A%2F%2Famm.devnet.rippletest.net%3A51233%2F#amm_info)
[Try it! >](/resources/dev-tools/websocket-api-tool?server=wss%3A%2F%2Fs.altnet.rippletest.net%3A51233%2F#amm_info)
The request includes the following parameters: