Skip to content

pyth-network/documentation

Folders and files

NameName
Last commit message
Last commit date
Apr 8, 2025
Aug 19, 2024
May 27, 2024
Apr 17, 2025
May 7, 2024
Apr 7, 2025
May 5, 2023
May 9, 2025
Jun 20, 2024
Sep 25, 2024
Oct 21, 2024
Jan 10, 2025
May 25, 2023
May 25, 2023
May 21, 2024
May 7, 2024
Oct 16, 2024
May 25, 2023
Jan 31, 2024
Mar 14, 2025
Aug 16, 2024
Jul 23, 2023
May 5, 2023
Oct 21, 2024
Mar 3, 2025
Sep 25, 2024
Jun 16, 2023
May 24, 2024
May 24, 2024
Sep 21, 2024

Repository files navigation

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.