This repository contains the documentation for the Entropy project (found in /docs
) and all the build scripts to create the docs.entropy.xyz site. This repo also serves as the support hub for Entropy.
Project Board
Issues
MIT License
This repository uses the Docusaurus static-site-generator to build docs.entropy.xyz
. To run the site locally:
Clone this repository and move into the new directory:
git clone https://github.com/entropyxyz/entropy-docs
cd entropy-docs
Install the dependencies for Docusaurus (pick one package manager process; do not run all three):
# Using NPM
npm install
# Using PNPM
pnpm install
# Using Yarn
yarn
Run the build scripts and run a local server:
# Using NPM
npm run start
# Using PNPM
pnpm run start
# Using Yarn
yarn start
Go to localhost:3000 in your browser.
To stop the local server, press CTRL
+ c
in the terminal window.
The search bar does not work when running the website locally using this method. To interact with the search bar, you must Build the site.
Clone this repository and move into the new directory:
git clone https://github.com/entropyxyz/entropy-docs
cd entropy-docs
Install the dependencies for Docusaurus (pick one package manager process; do not run all three):
# Using NPM
npm install
# Using PNPM
pnpm install
# Using Yarn
yarn
Run the build scripts:
# Using NPM
npm run build
# Using PNPM
pnpm run build
# Using Yarn
yarn build
Deploying the site is done from the command-line:
GIT_USER=<GITHUB_USERNAME> USE_SSH=true yarn deploy
If the deploy doesn't work for whatever reason, try checking out to the gh-pages
branch, pullling in the latest changes, and running the deploy
command again:
git checkout gh-pages && git pull && checkout main && npm run start
Documentation within this repository can be found in the /docs
directory. That directory is split into the following subdirectories:
docs
|-- basics
|-- concepts
|-- guides
`-- reference
/concepts
.File or directory | Description |
---|---|
.docusaurus | Configuration directory specific to Docusaurus. Holds themes and plugins for this site. |
.git/ | Stores Git version control information (ignore). |
.github/ | Directory for GitHub-specific configurations (ignore). |
.gitignore | File specifying files to be ignored by Git (ignore). |
LICENSE | File containing the license under which this project is distributed. |
README.md | This file. |
blog/ | Directory containing markdown files for Entropy Docs blog posts. This is currently unused. |
docs/ | Core directory containing markdown files for Entropy technical documentation. |
docusaurus.config.js | Main configuration file for this Docusaurus project. |
package-lock.json | (Generated file) Lists exact versions of dependencies used in this project. |
package.json | File specifying project dependencies and scripts. |
sidebars.js | File defining the navigation structure for the docs site. Docusaurus depends on this file. |
src/ | Source code directory for this Docusaurus project, specifically React components. |
static/ | Directory for static assets used by docs.entropy.xyz site (images, fonts, etc.). |
tsconfig.json | Configuration file for TypeScript (ignore). |
yarn.lock | Similar to package-lock.json . Lists exact versions of dependencies used in this project. |
All support tickets are handled in the Discussion tab of the github.com/entropyxyz/community repository.
To submit a support ticket:
We do not use Discord for support tickets. If you receive a message about a support ticket from someone claiming to be from Entropy, this is likely a scam. All support tickets are handled publically through GitHub Issues in this repository.
We appreciate contributions of any size from everyone, from fixing typos to proposing substantial rewrites to aid clarity. This section briefly describes how you can contribute to our documentation in four easy steps.
docs/
directory and find areas where you can improve the content, fix typos, or add new information.main
branch.We appreciate your help in making our documentation even better. By following these guidelines, you can ensure a smooth and successful contribution process.