Skip to content

SynBioHub/api-docs

 
 

Repository files navigation

SynBioHub Documentation

This API documentation is live at https://synbiohub.github.io/api-docs/

This project is a customized API documentation site based on Slate.

Run a local instance:

Building Slate:

Grab the slate image:

docker pull slatedocs/slate

To use Docker to just build your site, run:

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

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.

Publishing Your Docs to GitHub Pages:

git commit -a -m "Update index.md

git push

GitHub Actions automatically build and deploy your site to GitHub Pages

About

Beautiful static documentation for your API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.6%
  • SCSS 6.6%
  • Shell 2.8%
  • Ruby 1.9%
  • Other 1.1%