The official Guide for Pycord, explaining Pycord's features and how to use them.
The Guide is meant to serve as a professional guide to all of Pycord's features. This also means that everything is critiqued to end up at the best quality. If a part of the guide doesn't make these expectations it will either be refactored, or redone.
For contributing rules, please visit this page.
The Guide is built using Docusaurus 2, a modern static website generator.
/src
contains styling (.scss
) and the index (.tsx
/jsx
).
/docs
contains the pages for the guide. The Guide Pages are written in the mdx
file format, a combination of Markdown syntax and JSX/React.
First, you need to clone the repository:
git clone https://github.com/Pycord-Development/guide
You need to install the requirements for the guide, which you may do by running the following command:
yarn
Then, you can start the server by running the following command:
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.
Then, you can build the website by running the following command:
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
Using SSH:
USE_SSH=true yarn deploy
Without SSH:
GIT_USER=<Your GitHub username> 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.