Skip to content

Texxer/docs

 
 

Repository files navigation

BlockCypher's Docs

This repository contains all of BlockCypher's API documentation, presented with the help of Slate.

Running BlockCypher's Docs Locally

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.

Prerequisites

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 run gem install bundler in a terminal.

Getting Set Up

  1. Fork this repository on Github.
  2. Clone your forked repository (not our original one) to your hard drive with git clone https://github.com/YOURUSERNAME/docs.git
  3. cd docs
  4. Install all dependencies: bundle install
  5. Start the test server: bundle exec middleman server
# either run this to run locally
bundle install
bundle exec middleman server

# OR run this to run with vagrant
vagrant up

You can now see the docs at http://localhost:4567.

Building Static Docs

We build our docs locally then serve them from our own server. If you want to build them locally---instead of running them via middleman server, if you're curious about the html output---you can run this command:

bundle exec middleman build

This creates a ./build directory, which contains all the generated HTML, CSS, Javascript, and assets.

Found an error or bug?

Just submit an issue. And, of course, feel free to submit Pull Requests with bug fixes or proposed changes.

Special Thanks

About

BlockCypher's API documentation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.1%
  • HTML 11.8%
  • CSS 8.0%
  • Shell 1.3%
  • Ruby 0.8%