summaryrefslogtreecommitdiff
path: root/doc_styleguide.md
diff options
context:
space:
mode:
authorKaren <karen@gitlab.com>2015-05-26 00:18:07 +0000
committerKaren <karen@gitlab.com>2015-05-26 00:18:07 +0000
commitf1ae6807eb1828ed3b3d2335b0b49bb507b761ea (patch)
tree1029c38182e16c28b99727d136298c21bee983c5 /doc_styleguide.md
parentdfa1d96a1fa372b292c83424f62ae10d2c053fbd (diff)
downloadgitlab-ce-f1ae6807eb1828ed3b3d2335b0b49bb507b761ea.tar.gz
created a documentation style guide
Diffstat (limited to 'doc_styleguide.md')
-rw-r--r--doc_styleguide.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc_styleguide.md b/doc_styleguide.md
new file mode 100644
index 00000000000..c1ad7a15206
--- /dev/null
+++ b/doc_styleguide.md
@@ -0,0 +1,29 @@
+# Documentation styleguide
+
+This styleguide recommends best practices to improve documentation and to keep it organized and easy to find.
+
+## Text (when using markdown)
+
+* Make sure that the documentation is added in the correct directory and that there's a link to it somewhere useful.
+
+* Add only one H1 or title, by adding '#' at the begining of it.
+
+* For subtitles, use '##', '###' and so on.
+
+* Do not duplicate information.
+
+* Be brief and clear.
+
+* To add images use
+´´´
+!['NAME OF LINK']('WHERE THE LINK IS LOCATED')
+´´´
+
+
+## When adding images to a document
+
+* Create a directory to store the images with the specific name of the document where the images belong. It could be in the same directory where the .md document that you're working on is located.
+
+* Images should have a specific, non-generic name that will differentiate them.
+
+* Keep all file names in lower case.