]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Editing.md
editing guide
[xonotic/xonotic.wiki.git] / Editing.md
1 If you want write access, please ask for it at [#xonotic on FreeNode](https://webchat.freenode.net/), we'll gladly give it to you. There is no way to allow anonymous editing on GitLab.
2
3 The official version is on [GitLab](https://gitlab.com/xonotic/xonotic/wikis/home) but we also sync it to [GitHub](https://github.com/xonotic/xonotic/wiki). Please, follow this guide when editing to make sure the wiki works properly on both.
4
5 Filenames
6 ---------
7
8 Use dashes, not underscores - dashes get converted to spaces in titles
9
10 Subdirectories
11 --------------
12
13 Ok to use for images and other assets
14
15 Don't use for pages (the `.md` files) - GitHub doesn't support them properly (it flattens everything - this can cause collisions, plus there is no way to link from subdir to another subdir that works on both GitLab and GitHub)
16
17 Links to pages
18 -------------
19
20 Use standard markdown links: `[Text](link)` (e.g. `[Back to index](Home)` to get [Back to index](Home))
21  - Don't prefix `link` with either `../link` or `/link` - both break on GitHub. Using `./link` seems to work ok but is unnecessary since we have to put everything in root anyway.