Skip to content
/ wiki Public

This repo contains the unofficial Drehmal: PRIMΩRDIAL wiki.

Notifications You must be signed in to change notification settings

drehmal/wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiki.drehmal.cyou

This is an unofficial wiki for Drehmal: PRIMΩRDIAL.

Check out the official website & the official Discord server!

About this wiki

This wiki is built with MkDocs. It uses the Material for MkDocs theme. If you want to contribute check out the files in /doc/.

Additionally it uses the following plugins:

Contributing

The easiest way is to simply edit the files in /docs/ and create a pull request. Alternatively you can setup a local development environment like this:

  1. Install Python 3.8 (or higher) and Git
  2. Clone this repository: git clone https://github.com/drehmal/wiki.git
  3. Navigate to the project directory
  4. Create a personal branch: git checkout -b my-branch - would be a good idea to name it after the feature you're working on :)
  5. Optionally: Create a virtual environment: python -m venv venv and activate it: venv\Scripts\activate
  6. Install the dependencies: pip install -r requirements.txt
  7. Run the development server: mkdocs serve - this will start a local webserver on http:// (if you want to have a faster build time you can use mkdocs serve --dirtyreload instead)
  8. Make your changes
  9. Commit your changes: git add . and git commit -m "your commit message"
  10. Push your changes: git push origin my-branch
  11. Create a pull request :)

I recommend using VS Code as it can help you with all git related actions (except PRs), but you can use any editor you like.

Linking to other pages

Thanks to the mkdocs-roamlinks-plugin linking is quite easy:

  • [[page]] - links to a page with the filename "page"
  • [[page#heading]] - links to a page with the filename "page" and the heading "heading"
  • [[page#heading|text]] - links to a page with the filename "page" and the heading "heading" and displays "text" as the link text
  • [text](page) - links to a page with the filename "page" and displays "text" as the link text

There are also a couple of shortcuts to specific pages (see mkdocs.yml). Some of these exists, since index.md-files can't be linked directly it seems.

Adding images

Images should be placed in the /docs/img/ directory. You can then reference them like this:

  • ![[imagename]] - displays the image "imagename"
  • ![[imagename|alt text]] - displays the image "imagename" with alt text "alt text"
  • ![[imagename]]{ align=right width="300" } - displays the image "imagename" and aligns it on the right size with 300px width
  • ![alt text](img/image.png) - displays the image with the alt text "alt text"