Merge lp:~dholbach/help-app/1426011 into lp:~ubuntu-touch-coreapps-drivers/help-app/trunk

Proposed by Daniel Holbach
Status: Merged
Merged at revision: 60
Proposed branch: lp:~dholbach/help-app/1426011
Merge into: lp:~ubuntu-touch-coreapps-drivers/help-app/trunk
Diff against target: 108 lines (+69/-2)
1 file modified
HACKING (+69/-2)
To merge this branch: bzr merge lp:~dholbach/help-app/1426011
Reviewer Review Type Date Requested Status
David Planella Approve
Review via email: mp+251222@code.launchpad.net
To post a comment you must log in.
lp:~dholbach/help-app/1426011 updated
60. By Daniel Holbach

replace tabs with spaces in directory tree diagram

Revision history for this message
David Planella (dpm) wrote :

LGTM, good work with the documentation!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'HACKING'
2--- HACKING 2015-02-26 16:23:58 +0000
3+++ HACKING 2015-02-27 08:59:48 +0000
4@@ -1,6 +1,66 @@
5 Welcome to Help for Ubuntu devices!
6 ===================================
7
8+What are we doing here?
9+-----------------------
10+
11+In a conversation amongst Ubuntu phone enthusiasts, we decided we wanted to
12+create a good way in which we can aggregate information, tips and tricks and
13+suggestions for using Ubuntu devices (like the phone or a tablet) easily.
14+
15+The end result being new Ubuntu users who can
16+
17+ * find out more about how to use their phone
18+ * quickly be more productive
19+ * find new things
20+ * get started easily because the information is available in their language
21+
22+Thanks a lot for your interest in helping out!
23+
24+
25+How does this all work?
26+-----------------------
27+
28+Our work-flow is a bit special, so bear with us for a while. If you just want
29+to start adding content, skip this section. The sections below should
30+probably be enough for that.
31+
32+We had a couple of requirements when we started this project:
33+
34+ * easy to add/modify content (we decided to use Markdown)
35+ * easy to translate content (we decided to use Launchpad)
36+ * easy to create different builds (one for the phone, one for an online
37+ site, like *.ubuntu.com)
38+
39+On the way to implementing all of the above, we settled on a mixture of
40+pelican and po4a on the content side, the Ubuntu HTML5 UI toolkit and
41+the Ubuntu Web Guidelines on the display side.
42+
43+ * po4a is used to extract translatable messages from the Markdown
44+ content, so that we can get .pot and .po files which are understood by
45+ Launchpad. We also use po4a to generate translated Markdown files.
46+ * pelican takes care of generating HTML from the translated Markdown
47+ files. It can build into different output directories, using different
48+ themes, which is very handy in our case.
49+ * The Ubuntu HTML5 UI toolkit is used for the phone app.
50+ * The Ubuntu Web Guidelines for the build which we will put up on an
51+ Ubuntu site very soon.
52+
53+
54+Directory structure
55+-------------------
56+
57+
58+├── app ← Everything related to the devices app.
59+│   └── www ← The viewable content of the app.
60+└── edit-here
61+    ├── content
62+    │   └── pages ← Here is the place to edit the content.
63+    ├── po ← Translations.
64+    └── themes ← Themes files, both templates and css/js.
65+       ├── phone ← Phone/device app theme.
66+       └── web ← Online build (.ubuntu.com) theme.
67+
68
69 Prerequisites
70 -------------
71@@ -10,6 +70,9 @@
72 sudo apt install python-pelican po4a make bzr \
73 ubuntu-html5-ui-toolkit python3-polib
74
75+This will install the necessary files, so you can build the app or web build
76+locally and check if your changes actually make sense and look and work well.
77+
78
79 Editing
80 -------
81@@ -17,7 +80,7 @@
82 This app is structured in a very simple way. All the content is and all your
83 edits happen in
84
85- ./edit-here/content/
86+ ./edit-here/content/pages/
87
88 The markup for the text is Markdown, which is very easy to learn. Just have
89 a look at http://daringfireball.net/projects/markdown/ and some of the
90@@ -56,6 +119,10 @@
91
92 Find the resulting files in ./web in the top-level directory.
93
94+We plan to make use of
95+http://www.w3.org/International/questions/qa-apache-lang-neg for publishing
96+this on the web.
97+
98
99 Code, bugs, etc.
100 ----------------
101@@ -71,6 +138,6 @@
102 make update-pot
103
104 If you want to get help with the app or anything else, ask the fine folks
105-in #ubuntu-app-devel - for example dholbach, mhall119 or dpm.
106+in #ubuntu-app-devel - for example dholbach, balloons or dpm.
107
108 Thanks a lot for helping out!

Subscribers

People subscribed via source and target branches