Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.
/ documentation Public archive
forked from ringcentral/slate

Beautiful static documentation for your API

License

Notifications You must be signed in to change notification settings

AdaSupport/documentation

 
 

Repository files navigation

Files

The actual documentation files live in the /source/includes directory.

Running Slate

If you wish to run the development server for Slate to aid in working on the site, run:

docker run --rm --name slate -p 4567:4567 -v $(pwd)/source:/srv/slate/source slatedocs/slate serve

and you will be able to access your site at http://localhost:4567 until you stop the running container process.

Deployment Process

First, run this command to build the docs:

docker run --rm --name slate -v $(pwd)/build:/srv/slate/build -v $(pwd)/source:/srv/slate/source slatedocs/slate

Then, run this command to deploy them:

./deploy.sh --push-only

Without the --push-only option the deploy script tries to build the site first, which would require you to install a number of dependencies, which the docker command above made unnecessary.

References:

About

Beautiful static documentation for your API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 62.0%
  • SCSS 18.1%
  • Shell 7.3%
  • JavaScript 7.2%
  • Ruby 4.9%
  • Dockerfile 0.3%
  • Makefile 0.2%