Skip to content

Commit

Permalink
Adds script comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymatthews committed Sep 27, 2023
1 parent 9124ca1 commit 1a41392
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reference/json-rpc/create-api-docs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

# ---------------------
# This script grabs the Lotus JSON-RPC API methods from github.com/filecoin-project/lotus and splits it into individual files. It also runs Prettier against each file, and reduces the header levels.
# To run this script, install Prettier with `npm install -g prettier` and execute the file with ./create-api-docs.sh
# ---------------------

# Download the Markdown file.
curl -o api.md https://raw.githubusercontent.com/filecoin-project/lotus/master/documentation/en/api-v1-unstable-methods.md

Expand Down

0 comments on commit 1a41392

Please sign in to comment.