Skip to content

Commit d1f9b49

Browse files
committed
Update documentation structure
1 parent 1c5262e commit d1f9b49

29 files changed

+828
-388
lines changed

docs/_sources/en/callqpyapiinapp.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
How to run QPython script in your application ?
1+
How to call QPython script in your application?
22
=====================================================
33
You could call QPython to run some script or python code in your app
44

@@ -64,3 +64,8 @@ Sample of running QPython script in other application
6464
* `Another Application which have published in google play - QPython Plugin for Tasker <https://play.google.com/store/apps/details?id=com.qpython.tasker2>`_
6565

6666
.. image:: ../_static/taskerplugin-for-qpython.png
67+
68+
How to build an independt APK from QPython scripts?
69+
=====================================================
70+
http://qpy.io
71+

docs/_sources/en/howtostart.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Getting Start
1+
QPython Getting started
22
=============
3+
How to start quickly ? Just follow the following steps:
34

45
* `QPython: How To Start <http://wiki.qpython.org/doc/how-to-start>`_
56
* `QPython - Quick Start <http://wiki.qpython.org/doc/quick-start>`_
@@ -9,9 +10,8 @@ Getting Start
910
Programming Guide
1011
===================
1112

12-
* `Programming Guide <http://wiki.qpython.org/doc/program_guide/>`_
13-
* `QPython Hackers Howto <http://wiki.qpython.org/en/diveinto/>`_
14-
* `QEditor <http://wiki.qpython.org/en/QEdit/>`_
13+
If you are able to program, you want to know more about how to complex programming through qpython, just follow these steps:
14+
1515

1616
.. toctree::
1717
:maxdepth: 2
@@ -25,6 +25,7 @@ Programming Guide
2525
QPython Hackers' Guide
2626
=======================
2727

28+
* `QPython Hackers Howto <http://wiki.qpython.org/en/diveinto/>`_
2829

2930

3031
Contributors' Guide

docs/_sources/en/qeditor4web.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
Programming from phone/tablet
2-
===================================
1+
Are there more efficient way for developing?
2+
===================================================
33

4-
How to programming from browser
5-
===================================
4+
5+
How to program from my cellphone
6+
----------------------------------------
7+
* `What editor should I use? <http://wiki.qpython.org/en/QEdit/>`_
8+
9+
How to program from my pc
10+
--------------------------------------

docs/_sources/en/qpyprograms.txt

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
Kivy program
2-
------------
1+
What unique work can QPython do?
2+
========================
33

4-
Console program
5-
---------------
4+
QPython's feature
5+
-----------------
66

7-
Web program
8-
-----------
9-
* `QPython Web App <http://wiki.qpython.org/en/webapp/>`_
10-
* `Develop a WEB APP with QPython <http://wiki.qpython.org/en/webapp/sample>`_
7+
* `What program can QPython implement? <http://wiki.qpython.org/doc/program_guide/>`_
8+
9+
Why should I choose QPython
10+
-------------------------
1111

12+
**Kivy program**
1213

14+
**Console program**
15+
16+
**Web program**
17+
* `QPython Web App <http://wiki.qpython.org/en/webapp/>`_
18+
* `Develop a WEB APP with QPython <http://wiki.qpython.org/en/webapp/sample>`_

docs/_sources/en/sl4aapis.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Python builtin Libraries
2+
==========================
3+
4+
Python 3rd Libraries
5+
==========================
6+
7+
Android APIs
8+
==========================
9+
10+
111
SL4A APIs
212
=============
313

docs/_sources/index.txt

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -5,81 +5,83 @@
55

66
.. image:: _static/bestpython.png
77

8-
It's the official QPython Developer / User guide
9-
108

119
Welcome to read the QPython guide!
1210
=============================================
1311

14-
Thanks these guys who are contributing
15-
------------------------
12+
QPython is a script engine that runs Python on android devices. It lets your android device run Python scripts and projects. It contains the Python interpreter, console, editor, and the SL4A Library for Android. It’s Python on Android!
1613

1714

18-
New version information
19-
------------------------
20-
QPython's newest version is 1.3.0 (2017-3-20) , QPython3's newest version is 1.0.2 (2017/3/29), New versions include many amazing features, please upgrade to the newest version as soon.
15+
QPython has several millions users in the world already, it's a great project for programming users, welcome to join us for contributing to this project NOW.
16+
2117

22-
QPython Getting started
18+
What's NEW
2319
------------------------
24-
.. toctree::
25-
:maxdepth: 2
20+
QPython project include the QPython(Python 2) and QPython3(Python 3) applications.
2621

27-
en/howtostart
22+
QPython's newest version is 1.3.0 (Released on 2017/3/20) , QPython3's newest version is 1.0.2 (Released on 2017/3/29), New versions include many amazing features, please upgrade to the newest version as soon from google play, amazon appstore etc.
2823

29-
More Resources
30-
------------------
31-
* `FAQ <http://wiki.qpython.org/en/faq>`_
32-
* `Like us on facebook <https://www.facebook.com/QPython>`_
33-
* `Follow us on twitter <https://twitter.com/qpython>`_
34-
* `Ask qustions on twitter <https://twitter.com/qpython>`_
35-
* `Ask qustions on Stackoverflow <http://stackoverflow.com/questions/tagged/qpython>`_
36-
* `Email us <mailto:support@qpython.org>`_
37-
* `Report issue <https://github.com/qpython-android/qpython/issues>`_
38-
* `Fork us on github <https://github.com/qpython-android>`_
3924

40-
Join the QPython Users Group
41-
----------------------------
42-
Please join the Global QPython Users Groups:
25+
Thanks these guys who are contributing
26+
----------------------------------------
27+
They are pushing on the QPython project moving forward.
28+
29+
.. image:: https://avatars0.githubusercontent.com/u/3059527?v=3&s=60
30+
:target: https://github.com/riverfor
31+
:alt: River is the project's organizer and the current online QPython's author.
32+
33+
.. image:: https://avatars0.githubusercontent.com/u/10812534?v=3&s=60
34+
:target: https://github.com/pollyfat
35+
:alt: Mae is a beautiful and talented girl developer who is good at python & android programming.
36+
37+
.. image:: https://avatars0.githubusercontent.com/u/22494?v=3&s=60
38+
:target: https://github.com/ZoomQuiet
39+
:alt: Zoom.Quiet is a knowledgeable guy who is famous in many opensource communities.
40+
41+
.. image:: https://avatars3.githubusercontent.com/u/5159173?v=3&s=60
42+
:target: https://github.com/kylelk
43+
:alt: Kyle kersey is a US geek.
44+
45+
.. image:: https://avatars2.githubusercontent.com/u/25975283?v=3&s=60
46+
:target: https://github.com/liyuanrui
47+
:alt: liyuanrui is a Chinese geek
48+
49+
50+
Do you want to join the great QPython team ? You could `Ask qustions on twitter <https://twitter.com/qpython>`_ or `email us <mailto:support@qpython.org>`_.
51+
And you could `fork us on github <https://github.com/qpython-android/qpython>`_ and send pull request.
52+
53+
54+
QPython Communities
55+
------------------
56+
**There are many active QPython communities where you could meet the QPython users like you**
4357

4458
* `Join Facebook community <https://www.facebook.com/groups/qpython>`_
59+
* `Join Google group <https://groups.google.com/forum/#!forum/qpython>`_
4560
* `Join G+ community <https://plus.google.com/communities/111759148772865961493>`_
46-
* `Join Google maillist <https://groups.google.com/forum/#!forum/qpython>`_
61+
* `QPython on Stackoverflow <http://stackoverflow.com/questions/tagged/qpython>`_
4762

48-
How to contribute
49-
----------------------------
50-
Do you want to contribute to QPython ? Please `email us <mailto:support@qpython.org>`_
63+
**And you could talk to us through social network**
5164

65+
* `Like us on facebook <https://www.facebook.com/QPython>`_
66+
* `Follow us on twitter <https://twitter.com/qpython>`_
5267

53-
中文用户向导
54-
=============================================
68+
* `Report issue <https://github.com/qpython-android/qpython/issues>`_
69+
* `Email us <mailto:support@qpython.org>`_
5570

56-
欢迎 !
57-
------------------------------
58-
QPython/QPython3 的最新版本1.3.2(QPython), 1.0.2(QPython3) 已经发布,它包含了许多惊艳的特性,请从应用市场安装
5971

72+
**It's the official QPython Users & Contributors' Guide, please follow these steps for using and contributing.**
6073

61-
QPython 起步
62-
------------------------
74+
Now, let's GO
75+
---------------
6376
.. toctree::
6477
:maxdepth: 2
6578

66-
zh/howtostart
67-
68-
69-
更多链接
70-
------------------------------
71-
* `常见问题 <http://wiki.qpython.org/zh/faq/>`_
72-
* `在百度贴吧里讨论 <http://tieba.baidu.com/f?ie=utf-8&kw=qpython>`_
73-
* `在微博问我们问题 <http://weibo.com/qpython>`_
74-
* `给我们发邮件 <mailto:support@qpython.org>`_
75-
* `报告问题 <https://github.com/qpython-android/qpython/issues>`_
79+
en/howtostart
7680

77-
QPython 用户开发组
78-
------------------------------
79-
* 请加入 `QPython 用户开发者组 <https://groups.google.com/forum/?hl=en#!forum/qpython>`_ 来和全世界的 QPython 用户一块来玩转QPython。
80-
* 加入QPython QQ组(Q群:540717901)来和中国活跃的QPython 用户一起玩转 QPython
81+
For Chinese users
82+
---------------
83+
.. toctree::
84+
:maxdepth: 2
8185

82-
如何贡献
83-
---------
84-
想成为 QPython 的贡献者么?请 `给我们发邮件 <mailto:support@qpython.org>`_
86+
zhindex
8587

docs/_sources/zhindex.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
中文用户向导
2+
=============================================
3+
4+
欢迎 !
5+
------------------------------
6+
QPython/QPython3 的最新版本1.3.2(QPython), 1.0.2(QPython3) 已经发布,它包含了许多惊艳的特性,请从应用市场安装
7+
8+
9+
QPython 起步
10+
------------------------
11+
.. toctree::
12+
:maxdepth: 2
13+
14+
zh/howtostart
15+
16+
17+
更多链接
18+
------------------------------
19+
* `常见问题 <http://wiki.qpython.org/zh/faq/>`_
20+
* `在百度贴吧里讨论 <http://tieba.baidu.com/f?ie=utf-8&kw=qpython>`_
21+
* `在微博问我们问题 <http://weibo.com/qpython>`_
22+
* `给我们发邮件 <mailto:support@qpython.org>`_
23+
* `报告问题 <https://github.com/qpython-android/qpython/issues>`_
24+
25+
QPython 用户开发组
26+
------------------------------
27+
* 请加入 `QPython 用户开发者组 <https://groups.google.com/forum/?hl=en#!forum/qpython>`_ 来和全世界的 QPython 用户一块来玩转QPython。
28+
* 加入QPython QQ组(Q群:540717901)来和中国活跃的QPython 用户一起玩转 QPython
29+
30+
如何贡献
31+
---------
32+
想成为 QPython 的贡献者么?请 `给我们发邮件 <mailto:support@qpython.org>`_
33+

docs/en/callqpyapiinapp.html

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>How to run QPython script in your application ? &mdash; QPython 0.9 documentation</title>
11+
<title>How to call QPython script in your application? &mdash; QPython 0.9 documentation</title>
1212

1313

1414

@@ -33,9 +33,9 @@
3333

3434

3535
<link rel="top" title="QPython 0.9 documentation" href="../index.html"/>
36-
<link rel="up" title="Getting Start" href="howtostart.html"/>
36+
<link rel="up" title="QPython Getting started" href="howtostart.html"/>
3737
<link rel="next" title="How to submit the documentation" href="contributorshowto.html"/>
38-
<link rel="prev" title="SL4A APIs" href="sl4aapis.html"/>
38+
<link rel="prev" title="Python builtin Libraries" href="sl4aapis.html"/>
3939

4040

4141
<script src="../static/js/modernizr.min.js"></script>
@@ -89,28 +89,26 @@
8989

9090

9191
<ul class="current">
92-
<li class="toctree-l1"><a class="reference internal" href="howtostart.html">Getting Start</a></li>
92+
<li class="toctree-l1"><a class="reference internal" href="howtostart.html">QPython Getting started</a></li>
9393
<li class="toctree-l1 current"><a class="reference internal" href="howtostart.html#programming-guide">Programming Guide</a><ul class="current">
94-
<li class="toctree-l2"><a class="reference internal" href="qpyprograms.html">Kivy program</a></li>
95-
<li class="toctree-l2"><a class="reference internal" href="qpyprograms.html#console-program">Console program</a></li>
96-
<li class="toctree-l2"><a class="reference internal" href="qpyprograms.html#web-program">Web program</a></li>
97-
<li class="toctree-l2"><a class="reference internal" href="qeditor4web.html">Programming from phone/tablet</a></li>
98-
<li class="toctree-l2"><a class="reference internal" href="qeditor4web.html#how-to-programming-from-browser">How to programming from browser</a></li>
99-
<li class="toctree-l2"><a class="reference internal" href="sl4aapis.html">SL4A APIs</a></li>
100-
<li class="toctree-l2 current"><a class="current reference internal" href="#">How to run QPython script in your application ?</a><ul>
94+
<li class="toctree-l2"><a class="reference internal" href="qpyprograms.html">What unique work can QPython do?</a></li>
95+
<li class="toctree-l2"><a class="reference internal" href="qeditor4web.html">Are there more efficient way for developing?</a></li>
96+
<li class="toctree-l2"><a class="reference internal" href="sl4aapis.html">Python builtin Libraries</a></li>
97+
<li class="toctree-l2"><a class="reference internal" href="sl4aapis.html#python-3rd-libraries">Python 3rd Libraries</a></li>
98+
<li class="toctree-l2"><a class="reference internal" href="sl4aapis.html#android-apis">Android APIs</a></li>
99+
<li class="toctree-l2"><a class="reference internal" href="sl4aapis.html#sl4a-apis">SL4A APIs</a></li>
100+
<li class="toctree-l2 current"><a class="current reference internal" href="#">How to call QPython script in your application?</a><ul>
101101
<li class="toctree-l3"><a class="reference internal" href="#sample-of-running-qpython-script-in-other-application">Sample of running QPython script in other application</a></li>
102102
</ul>
103103
</li>
104+
<li class="toctree-l2"><a class="reference internal" href="#how-to-build-an-independt-apk-from-qpython-scripts">How to build an independt APK from QPython scripts?</a></li>
104105
</ul>
105106
</li>
106107
<li class="toctree-l1"><a class="reference internal" href="howtostart.html#qpython-hackers-guide">QPython Hackers&#8217; Guide</a></li>
107108
<li class="toctree-l1"><a class="reference internal" href="howtostart.html#contributors-guide">Contributors&#8217; Guide</a></li>
108109
</ul>
109110
<ul>
110-
<li class="toctree-l1"><a class="reference internal" href="../zh/howtostart.html">快速开始</a></li>
111-
<li class="toctree-l1"><a class="reference internal" href="../zh/howtostart.html#id4">编程指南</a></li>
112-
<li class="toctree-l1"><a class="reference internal" href="../zh/howtostart.html#id5">QPython黑客指南</a></li>
113-
<li class="toctree-l1"><a class="reference internal" href="../zh/howtostart.html#id8">贡献者指南</a></li>
111+
<li class="toctree-l1"><a class="reference internal" href="../zhindex.html">中文用户向导</a></li>
114112
</ul>
115113

116114

@@ -155,9 +153,9 @@
155153

156154
<li><a href="../index.html">Docs</a> &raquo;</li>
157155

158-
<li><a href="howtostart.html">Getting Start</a> &raquo;</li>
156+
<li><a href="howtostart.html">QPython Getting started</a> &raquo;</li>
159157

160-
<li>How to run QPython script in your application ?</li>
158+
<li>How to call QPython script in your application?</li>
161159

162160

163161
<li class="wy-breadcrumbs-aside">
@@ -176,8 +174,8 @@
176174
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
177175
<div itemprop="articleBody">
178176

179-
<div class="section" id="how-to-run-qpython-script-in-your-application">
180-
<h1>How to run QPython script in your application ?<a class="headerlink" href="#how-to-run-qpython-script-in-your-application" title="Permalink to this headline"></a></h1>
177+
<div class="section" id="how-to-call-qpython-script-in-your-application">
178+
<h1>How to call QPython script in your application?<a class="headerlink" href="#how-to-call-qpython-script-in-your-application" title="Permalink to this headline"></a></h1>
181179
<p>You could call QPython to run some script or python code in your app</p>
182180
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">String</span> <span class="n">extPlgPlusName</span> <span class="o">=</span> <span class="s2">&quot;org.qpython.qpy&quot;</span><span class="p">;</span> <span class="o">//</span> <span class="n">QPython</span> <span class="n">package</span> <span class="n">name</span>
183181
<span class="n">Intent</span> <span class="n">intent</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Intent</span><span class="p">();</span>
@@ -239,6 +237,10 @@ <h2>Sample of running QPython script in other application<a class="headerlink" h
239237
</ul>
240238
<img alt="../images/taskerplugin-for-qpython.png" src="../images/taskerplugin-for-qpython.png" />
241239
</div>
240+
</div>
241+
<div class="section" id="how-to-build-an-independt-apk-from-qpython-scripts">
242+
<h1>How to build an independt APK from QPython scripts?<a class="headerlink" href="#how-to-build-an-independt-apk-from-qpython-scripts" title="Permalink to this headline"></a></h1>
243+
<p><a class="reference external" href="http://qpy.io">http://qpy.io</a></p>
242244
</div>
243245

244246

@@ -254,7 +256,7 @@ <h2>Sample of running QPython script in other application<a class="headerlink" h
254256
<a href="contributorshowto.html" class="btn btn-neutral float-right" title="How to submit the documentation" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
255257

256258

257-
<a href="sl4aapis.html" class="btn btn-neutral" title="SL4A APIs" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
259+
<a href="sl4aapis.html" class="btn btn-neutral" title="Python builtin Libraries" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
258260

259261
</div>
260262

0 commit comments

Comments
 (0)