This repository contains all of BlockCypher's API documentation, presented with the help of GitHub Pages and Slate.
We welcome Pull Requests to help us improve our documentation. If you're making edits, it's a good idea to run your fork of our docs locally before submitting a Pull Request; to do so, follow these instructions straight from Slate.
You're going to need:
- Linux or OS X โ Windows may work, but is unsupported.
- Ruby, version 1.9.3 or newer
- Bundler โ If Ruby is already installed, but the
bundle
command doesn't work, just rungem install bundler
in a terminal.
- Fork this repository on Github.
- Clone your forked repository (not our original one) to your hard drive with
git clone https://github.com/YOURUSERNAME/docs.git
cd docs
- Install all dependencies:
bundle install
- Start the test server:
bundle exec middleman server
Or use the included Dockerfile! (must install Docker first)
docker build -t slate .
docker run -d -p 4567:4567 slate
You can now see the docs at http://localhost:4567.
Note: if you're using the Docker setup on OSX, the docs will be
availalable at the output of boot2docker ip
instead of localhost:4567
.
Just submit an issue. And, of course, feel free to submit Pull Requests with bug fixes or proposed changes.