This website is built using Docusaurus 2, a modern static website generator.
Install doxygen from their website or your package manager.
git clone https://github.com/yourWaifu/sleepy-discord.git
cp Doxyfile sleepy-discord/
cd sleepy-discord
doxygen
mkdir ../xml
mv xml/* ../xml
cd ..
mkdir docs/reference
npm install
yarn install
npx moxygen -o docs/api.md ./xml/
npx tsc --p reference-generator-tsconfig.json
yarn run buildIf you can't run the doxygen command but have Doxygen installed, you can use the GUI and open the doxyfile file in the sleepy-discord directory.
Also for linux user replace the \ with /. For Windows users, replace path separators, like /, with \, but leave the url alone and unedited.
yarn startThis command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
yarn buildThis command generates static content into the build directory and can be served using any static contents hosting service.
GIT_USER=<Your GitHub username> USE_SSH=true yarn deployIf you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.