summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-06 03:29:56 -0800
committerelijah <elijah@riseup.net>2013-02-06 03:29:56 -0800
commit63bdd0db011bbc7e793b7d5314a794a5b2e11d6f (patch)
tree7cb425680c580e49d1d5262e90475cf73b0dd73a /README.md
parent2c1f9ab6100947cb60af73aa3ef28f46d461e7ce (diff)
initial draft of platform documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/README.md b/README.md
index e69de29..ab4486b 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,41 @@
+LEAP DOCUMENTATION
+=================================
+
+Files in the directory "docs" show up automatically at https://leap.se/docs when this repository is pushed.
+
+Directory structure
+---------------------------------
+
+Every directory corresponds to a single web page. Within each directory, there are source files for different languages.
+
+For example:
+
+ docs/
+ client/
+ en.haml -- used for https://leap.se/en/docs/client
+ es.haml -- used for https://leap.se/es/docs/client
+
+If you don't care about translating a page, and it has no children, you can omit the directory:
+
+ docs/
+ client.haml -- user for https://leap.se/*/docs/client
+
+Menu
+---------------------------------
+
+A page does not show up in the navigation unless it appears in menu.txt.
+
+The order in menu.txt determines the order in the navigation.
+
+
+Localization
+---------------------------------
+
+The strings for titles and navigation menu are loaded from locales/*.yaml files. (alas, not yet in this repo, still in leap_website)
+
+Supported syntax
+---------------------------------
+
+* .haml -- parsed as HAML file.
+* .md -- parsed a Markdown.
+