Documentation of SarCraft history and lore.
This documentation is built using Quartz, a tool for turning Markdown files into a digital garden/wiki.
-
Clone the repository:
git clone https://github.com/WhoIsFishie/SarCraft-Documentation.git cd SarCraft-Documentation -
Install dependencies:
cd source npm install
-
Local preview:
npx quartz build --serve
This will start a local server at http://localhost:8080 where you can preview the site.
-
Using Obsidian (Recommended):
- Open Obsidian
- Import the
source/content/SarCraftfolder as a vault - Make your changes
- Use Git to commit and push your changes
-
Organization Structure:
/Seasons/- Documentation for each server season/Players/- Player profiles/Factions/- Information about server factions/Lore/- General server lore, events, and mechanics
-
Formatting Guidelines:
- Use appropriate frontmatter (at the top of each file):
--- tags: - player - faction-name aliases: - Nickname ---
- Include player images in the format
![[player_images/Username.png|300]] - Use wikilinks (
[[Page Name]]) to reference other pages - For events, include dates when possible
- Keep language neutral and accurate
- Add screenshots where helpful
- Use timestamps for dated events
- Use appropriate frontmatter (at the top of each file):
If you want to modify the site structure or functionality:
- Make sure not to modify files in the
source/content/SarCraftfolder (that's for content only) - Understand the Quartz configuration in
source/quartz.config.tsandsource/quartz.layout.ts - Test your changes locally before committing
Use the template at Templates/player_template.md as a starting point:
---
tags:
- player
- faction-name
aliases:
- Nickname
---
![[player_images/Username.png|300]]
## Player Title or Description
Brief introduction to the player's significance on the server...
### Quick Stats
| First Season | Last Active | Current Faction | Notable Role |
| ------------ | ----------- | --------------- | ------------ |
| [[Season X]] | [[Season Y]] | [[Faction Name]] | Role |
...rest of content...- Create a new file at
Seasons/Season X.md - Use existing seasons as templates
- Include:
- Season dates
- Major events
- Faction activities
- Server changes/updates
- Significant builds
- Player conflicts
- Place images in appropriate folders:
- Player images in
player_images/ - Season-specific images in
SX_images/(where X is the season number)
- Player images in
- Compress videos before uploading
- Use webp format for images when possible to reduce size
The site automatically deploys to GitHub Pages when changes are pushed to the main branch. The CI process will:
- Build the site using Quartz
- Deploy to GitHub Pages
- Make the updated site available at the configured domain
If you have questions or need assistance, please reach out to the repository maintainers or open an issue on GitHub.
Thank you for helping document SarCraft's rich history!
