Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

on-ramp/api-doc

 
 

Repository files navigation

On-RAMP's API Documentation

Base and fork from Slate

Modify Documentation

In order to modify documentation everything is under source folder. In particular the main file to be modify is index.html.md which is in Markdown file.

Please check Slate Documentation to know about:

  • Markdown support
  • Includes files
  • Change images and logos

Prerequisites

This projects builds and runs with Ruby 2.3.1, but it is not mandatory for you to have Ruby installed because it can also be built and run with Docker.

Building and Running

Docker

  • First build docker images of this project

docker build -f deploy/docker/Dockerfile -t coinweb/onramp-api-doc:latest .

  • Build solution

docker run --rm -ti -p 4567:4567 -v $PWD/source:/usr/src/app/source -w /usr/src/app/source -v $PWD/build:/usr/src/app/build coinweb/onramp-api-doc:latest bundle exec middleman build

  • Run solution

docker run --rm -ti -p 4567:4567 -v $PWD/source:/usr/src/app/source -w /usr/src/app/source -v $PWD/build:/usr/src/app/build coinweb/onramp-api-doc:latest bundle exec middleman

Ruby

  • Building

bundle install bundle exec middleman build

  • Running

bundle install bundle exec middleman

Browsing

If you want to browse in your local machine go to http://localhost:4567

Publishing Github Pages

./deploy.sh

About

Beautiful static documentation for your API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SCSS 43.3%
  • Shell 18.6%
  • JavaScript 17.7%
  • Ruby 12.1%
  • HTML 6.2%
  • Dockerfile 1.3%
  • Mermaid 0.8%