Commits

sharky93 committed 9d1260a

Minor stylistic corrections to the docs

Comments (0)

Files changed (2)

docs/devel/development.rst

 the translation for any string can be received by passing it as a parameter to the ``_`` function,
 also defined in the same file.
 
-For example, if we add the following to ``i18n_dict`` in ``dictionary.js`` 
+For example, if we add the following to ``i18n_dict`` in ``dictionary.js`` ::
     
-    ``"somestring"  : "{{  _("somestring") }}",``
+    "Delete this"  : "{{  _("Delete this") }}",
 
-The translated version of "somestring" can be accessed in the JavaScript code by
+The translated version of "somestring" can be accessed in the JavaScript code by ::
 
-    ``var a = _("somestring");``
+    var a = _("Delete this");
 
 
 Testing

docs/user/moinwiki.rst

 |                                                   | side compression, PIL needs to be     |
 |                                                   | installed.                            |
 +---------------------------------------------------+---------------------------------------+
-| ``{{ http://moinmo.in/ || width=20 }}``           | Resizes the ``object`` which is embe- |
-|                                                   | dded using HTML tags. Also markup     |
+| ``{{ http://moinmo.in/ || width=20 }}``           | Resizes the ``object`` which is       |
+|                                                   | embedded using HTML tags. Also markup |
 |                                                   | involving '&' parameters like ``&w``  |
 |                                                   | doesn't make much sense.              |
 +---------------------------------------------------+---------------------------------------+
 
 **Extra Info**: 
 
-The markup of ``{{ example.jpg || &w=20 }}``, simply adds ``&w`` to the ``src`` URL of the image, the Python Imaging Library (PIL)
+Markup like ``{{ example.jpg || &w=20 }}``, simply adds ``&w`` to the ``src`` URL of the image, the Python Imaging Library (PIL)
 understands that it has to compress the image on the server side and render as shrinked to size ``20``. 
 
 For markup like ``{{ example.jpg || width=20, height=100 }}`` we currently allow only the ``width`` and ``height`` (anything 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.