Skip to content

Commit

Permalink
Merge pull request ethereum#306 from etclabscore/docs/core-geth-features
Browse files Browse the repository at this point in the history
docs: core-geth features, generated API method docs
  • Loading branch information
meowsbits authored Feb 4, 2021
2 parents e24799e + 744cc6f commit 6dd9074
Show file tree
Hide file tree
Showing 25 changed files with 23,420 additions and 26 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ build/_vendor/pkg
/build/_workspace/
/build/cache/
/build/bin/
/build/static/
/geth*.zip

# travis
Expand Down Expand Up @@ -54,4 +55,4 @@ les/transactions.rlp
# Files generated by docs build
/MANIFEST
/manifest.json
/site
/site
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ clean: clean-evmc
mkdocs-serve: ## Serve generated documentation (during development)
@build/mkdocs-serve.sh

docs-generate: ## Generate JSON RPC API documentation from the OpenRPC service discovery document.
env COREGETH_GEN_OPENRPC_DOCS=on go test -count=1 -run BuildStatic ./ethclient

# The devtools target installs tools required for 'go generate'.
# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.

Expand Down
2 changes: 1 addition & 1 deletion docs/apis/jsonrpc-apis.md → docs/JSON-RPC-API/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ hide:
- toc # Hide table of contents
---

# JSON-RPC APIs
# Using JSON-RPC APIs

## Programmatically interfacing `geth` nodes

Expand Down
Loading

0 comments on commit 6dd9074

Please sign in to comment.