Skip to content

CookbookDev/injective-docs

 
 

Repository files navigation

Injective API documentation

Injective API documentation page for all endpoints included in the Python and Go SDKs

Before creating a PR

Before creating a PR you can test the documentation locally by running ./slate.sh serve. If you want to make sure all the example scripts are updated when running the local server with the documentation, please make sure you execute the script to update all code example snippets. The code examples are included in the documentation using markdown-autodocs.

To refresh all example snippets you can run make refresh-examples

For the refresh process to run successfully please make sure to install markdown-autodocs in the local environment:

npm i -g markdown-autodocs

The deploy process associated to the push events to the main branch will automatically run the process to update code example snippets before deploying the documentation site (check the deploy workflow configuration in .github/workflows/deploy.yml)

Important Do not modify manually any code snippet between markdown-autodocs markers. Those examples will be modified automatically by the tool. The markers look like this:

The API documentation is generated using Slate

About

Injective Protocol Documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 42.0%
  • Shell 16.7%
  • JavaScript 16.6%
  • HTML 12.6%
  • Ruby 11.2%
  • Dockerfile 0.7%
  • Makefile 0.2%