Code Monkey home page Code Monkey logo

documentation's Introduction

Pyth Network Documentation

This repository contains interactive documentation for the Pyth Network blockchain oracle.

Documentation Format

Interactive components

The interactive components on each page use a shared-key value store to communicate with each other. This key-value store is

Local Development

First, run npm i to install the dependencies.

Then, run npm run dev to start the development server and visit localhost:3000.

Deployment

Use the Dockerfile in the root of the repository to build a docker image that can be run for production deployments. You can test out the docker build locally by running:

docker build -t documentation -f Dockerfile .
docker run -d -p 3000:3000 documentation

Then navigate to localhost:3000 in the browser.

Tests

Simply run npm run test.

The tests include a compiler check for all code snippets written in .mdx files. These tests will automatically extract the relevant snippets into separate files under the .code_tests folder (ignored by git) and then try to build each one. The files are named per the file path to the code snippet. These files remain after the tests complete, which allows you to examine them to help debug the error in case a test fails.

You can also run the code tests for a specific mdx file using:

npm run test -- -t get-price.mdx

License

This project is derived from the Nextra Docs Template. See notices/ for mandatory license disclosures.

documentation's People

Contributors

jayantk avatar ali-bahjati avatar m30m avatar cctdaniel avatar aditya520 avatar kemartiti avatar mariobern avatar reisen avatar yaserjazouane avatar hkaliraipyth avatar guibescos avatar bennoprice avatar dinonard avatar divy027 avatar keyvankhademi avatar ryangoree avatar drozdziak1 avatar pyth-ops avatar swimricky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.