GitHub Pages website for D&D 5e group. https://lemurianadventureguild.github.io/wiki/
- Create a Github account
- Be here in the the Github UI for this repository! You should be able to do this all through a browser.
- Create a new branch for your changes. Use the dropdown in the top right to create a new branch with a descriptive name.
- If you are creating a new page, find the appropriate folder in
docs
for your new page, and click Add Page. The filename should end with.md
.
docs/player_characters
for your player charactersdocs/npcs
for any interesting NPCs (there are some subfolders within here you can use if they make sense)docs/house_rules
for rules for our Guilddocs/archives
for any other archival texts/details (stories, legends, records, etc)
- If you are editing an existing page, find that page by navigating the
docs
folder, and click the pencil icon.
- When you are done editing, commit your changes by pressing the Commit changes... button at the top.
- Return to the main page and create a Pull Request. Provide light details about what is changing and why.
- Let folks know in the
#archives
channel on the Lemurian Guild Discord server. - Your changes will be reviewed and added to the site shortly!
This website is built using Docusaurus 2, a modern static website generator.
We use Yarn 4.x to manage dependencies. Make sure you upgrade from Yarn 1.22.x if you have it installed.
yarn
And install husky for git hooks.
yarn dlx husky-init --yarn2 && yarn
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.
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
yarn prettier . --write
Deployment is done automatically through GitHub Actions CI.