]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Editing.md
reorg home
[xonotic/xonotic.wiki.git] / Editing.md
index 1e84ac946aa7a073dab0a337beba1e14579ad7cd..a000b9c8e82ebd764d6d6b391c4b1a4c989f4ede 100644 (file)
@@ -2,7 +2,18 @@ If you want write access, please ask for it at [#xonotic on FreeNode](https://we
 
 The official version is on [GitLab](https://gitlab.com/xonotic/xonotic/wikis/home) but we also sync the wiki to [GitHub](https://github.com/xonotic/xonotic/wiki). Please, follow this guide when editing to make sure everything works properly on both.
 
-Filenames
+
+Links to pages
+-------------
+
+Use standard markdown links: `[Text](link)` (e.g. `[Back to main page](Home)` to get [Back to main page](Home))
+
+ - 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.
+
+Links don't seem to be case sensitive but it's probably best to use proper capitalization just in case it breaks in some edge case somewhere. Also, spaces and dashes seem to be freely interchangeable on GH and GL but again, probably best to use dashes.
+
+
+New files
 ---------
 
 For pages, capitalize at least the first letter of the filename (GitHub doesn't capitalize titles automatically, GitLab will do what it wants anyway).
@@ -11,19 +22,8 @@ Use dashes in page names, not underscores - dashes get converted to spaces in pa
 
 Interestingly, spaces in filenames and links seem to work fine for both GitHub and GitLab, not sure if they break somewhere else, it might still be best to avoid them.
 
-Subdirectories
---------------
-
 It's ok (and preferred) to put images and other assets into subdirectories but we have to **put pages in root** becuase GitHub doesn't support subdirs 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).
 
-Links to pages
--------------
-
-Use standard markdown links: `[Text](link)` (e.g. `[Back to main page](Home)` to get [Back to main page](Home))
-
- - 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.
-
-Links don't seem to be case sensitive but it's probably best to use proper capitalization just in case it breaks in some edge case somewhere. Also, spaces and dashes seem to be freely interchangeable on GH and GL but again, probably best to use dashes.
 
 Automated checking
 -------------------