Skip to content

pendle-finance/documentation

Repository files navigation

Installation

yarn install
git submodule update --init --recursive

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

AI Knowledge Bases

As many of us increasingly rely on AI tools to read and understand project documentation, we’ve added a new folder to the repository: docs/Developers/.

This folder contains list of questions and answers that helps AI better understand our system and provide more accurate answers when you query them. Our in-house AI is using these knowledge bases!

The knowledge bases are stored in the following files:

How to use the knowledge bases

  • Just clone this repo and ask your AI to index the whole repo, including the knowledge bases folder. A prompt like this should work:
You are a helpful assistant that can answer questions about the Pendle protocol. Your goal is to answer the question based on the context provided.

The data source are files in @docs folder, especially the ones in @docs/Developers/ folder are list of questions and answers that helps you better understand the Pendle protocol. There is a file @docs/Developers/api-spec.json that is the openAPI spec for Pendle public API, use it to recommend the best API endpoint to use for the question if needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 24