Skip to content

Commit ca1e028

Browse files
committed
Fixed some old paths in readme, clarified
1 parent a6e75f1 commit ca1e028

1 file changed

Lines changed: 26 additions & 28 deletions

File tree

‎README.rst‎

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ point in the life of a beginning programmer.
1616
HTML Version
1717
============
1818

19-
You can view this workshop being hosted here:
19+
You can view this workshop being hosted here:
2020
http://opentechschool.github.io/python-beginners/
2121

2222
The following sections are for people who want to contribute.
2323

2424
Setup
2525
=====
2626

27-
This workshop is written in the reStructuredText_ format. The
27+
This workshop is written in the reStructuredText_ format. The
2828
``.rst`` files can be edited with a normal text editor.
2929

30-
It can be rendered to several output formats using Sphinx_. To do that, you
30+
It can be rendered to several output formats using Sphinx_. To do that, you
3131
need to have the following Python packages installed:
3232

3333
- docutils
@@ -41,30 +41,30 @@ You can install these with pip using ``pip install -r requirements.txt``
4141
Build
4242
=====
4343

44-
The fabric script ``fabfile.py`` contains tasks making the build process very
45-
easy. The following commands have to be executed in the ``docs`` directory.
44+
The fabric script ``fabfile.py`` contains tasks making the
45+
build process very easy.
4646

47-
If you just want to render the HTML version, it's sufficient to run
48-
49-
.. code:: bash
47+
If you just want to render the HTML version, it's sufficient to run::
5048

5149
fab build
5250

53-
This will create a directory ``_build``,
54-
containing the HTML version.
51+
This will create a directory ``_build``, containing the HTML version.
5552

56-
Other `builders <http://sphinx.pocoo.org/builders.html#builders>`_ can be
57-
passed as argument. For instance use ``singlehtml`` to render the whole
58-
tutorial into a single HTML file.
53+
You can view this in a browser by running ``fab serve`` and visiting the
54+
web address listed.
5955

60-
.. code:: bash
56+
Other `builders <http://sphinx.pocoo.org/builders.html#builders>`_ can be
57+
passed as argument. For instance use ``singlehtml`` to render the whole
58+
tutorial into a single HTML file::
6159

6260
fab build:singlehtml
6361

6462
Translation
65-
=============
63+
===========
64+
65+
After editing the tutorial, it is desirable to update translations for it.
6666

67-
1. Translation (pot) templates must be built or updated - ``fab gen_pots``
67+
1. Translation templates (.pot) must be created or updated - ``fab gen_pots``
6868
2. Templates must merged/built into po translation files - ``fab update_pos:de``
6969

7070
.. note:: Both 1 and 2 can be done with ``fab update_pos``
@@ -75,29 +75,27 @@ Translation
7575
.. note:: only po files should be committed to version control. pot and mo
7676
files are built automatically.
7777

78-
7978
Deploy
8079
======
8180

82-
The workshop is deployed as a `GitHub Page`_. A good way to do
83-
that is described `here <https://gist.github.com/791759>`_. To simplify this
84-
process, you can use the fabric target ``setup``.
85-
86-
.. code:: bash
81+
The workshop is deployed as a `GitHub Page`_. A good way to do
82+
that is described `here <https://gist.github.com/791759>`_. To simplify this
83+
process, you can use a nifty fabric target::
8784

8885
fab setup
8986

9087
This recreates the ``_build/html`` folder by building the project, while the
91-
folder is cloned to the ``gh-pages`` branch. You can simple cd into the folder
92-
thereafter and push new updates, or use ``fab build`` to rebuild it.
88+
folder is cloned to the ``gh-pages`` branch of this repo. You can simply
89+
``cd`` into this folder thereafter and push new updates,
90+
or use ``fab build`` to rebuild it.
9391

9492
License
9593
=======
9694

97-
This work is licensed under the Creative Commons Attribution-ShareAlike
98-
3.0 Unported License. To view a copy of this license, visit
99-
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to
100-
Creative Commons, 444 Castro Street, Suite 900, Mountain View,
95+
This work is licensed under the Creative Commons Attribution-ShareAlike
96+
3.0 Unported License. To view a copy of this license, visit
97+
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to
98+
Creative Commons, 444 Castro Street, Suite 900, Mountain View,
10199
California, 94041, USA.
102100

103101
.. _OpenTechSchool: http://opentechschool.org

0 commit comments

Comments
 (0)