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

Subscribers

People subscribed via source and target branches