Base and fork from Slate
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
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.
- 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
- Building
bundle install
bundle exec middleman build
- Running
bundle install
bundle exec middleman
If you want to browse in your local machine go to http://localhost:4567
./deploy.sh