[Checkins] SVN: zope.i18n/trunk/ Some ReST fixes
Gediminas Paulauskas
menesis at pov.lt
Fri Feb 10 17:22:16 UTC 2012
Log message for revision 124370:
Some ReST fixes
Changed:
U zope.i18n/trunk/README.txt
U zope.i18n/trunk/docs/api.rst
U zope.i18n/trunk/src/zope/i18n/interfaces/__init__.py
-=-
Modified: zope.i18n/trunk/README.txt
===================================================================
--- zope.i18n/trunk/README.txt 2012-02-10 17:00:52 UTC (rev 124369)
+++ zope.i18n/trunk/README.txt 2012-02-10 17:22:15 UTC (rev 124370)
@@ -10,5 +10,5 @@
* Locale discovery for Web-based requests.
-Please see ``doc/index.rst`` for the documentation.
+Please see ``docs/index.rst`` for the documentation.
Modified: zope.i18n/trunk/docs/api.rst
===================================================================
--- zope.i18n/trunk/docs/api.rst 2012-02-10 17:00:52 UTC (rev 124369)
+++ zope.i18n/trunk/docs/api.rst 2012-02-10 17:22:15 UTC (rev 124370)
@@ -13,14 +13,26 @@
.. automodule:: zope.i18n.compile
:members:
+zope.i18n.config
+----------------
+
.. automodule:: zope.i18n.config
:members:
+zope.i18n.format
+----------------
+
.. automodule:: zope.i18n.format
:members:
+zope.i18n.gettextmessagecatalog
+-------------------------------
+
.. automodule:: zope.i18n.gettextmessagecatalog
:members:
+zope.i18n.interfaces
+--------------------
+
.. automodule:: zope.i18n.interfaces
:members:
Modified: zope.i18n/trunk/src/zope/i18n/interfaces/__init__.py
===================================================================
--- zope.i18n/trunk/src/zope/i18n/interfaces/__init__.py 2012-02-10 17:00:52 UTC (rev 124369)
+++ zope.i18n/trunk/src/zope/i18n/interfaces/__init__.py 2012-02-10 17:22:15 UTC (rev 124370)
@@ -306,6 +306,8 @@
rules (I modified the rules from ICU a bit, since I think they did not
agree well with the real world XML formatting strings):
+ .. code-block:: none
+
posNegPattern := ({subpattern};{subpattern} | {subpattern})
subpattern := {padding}{prefix}{padding}{integer}{fraction}
{exponential}{padding}{suffix}{padding}
@@ -326,8 +328,9 @@
padding := * '\u0000'..'\uFFFD'
- Possible pattern symbols:
+ Possible pattern symbols::
+
0 A digit. Always show this digit even if the value is zero.
# A digit, suppressed if zero
. Placeholder for decimal separator
@@ -375,8 +378,9 @@
"""DateTime formatting and parsing interface. Here is a list of
possible characters and their meaning:
+ ====== ===================== ================= =====================
Symbol Meaning Presentation Example
-
+ ====== ===================== ================= =====================
G era designator (Text) AD
y year (Number) 1996
M month in year (Text and Number) July and 07
@@ -397,6 +401,7 @@
z time zone (Text) Pacific Standard Time
' escape for text
'' single quote '
+ ====== ===================== ================= =====================
Meaning of the amount of characters:
More information about the checkins
mailing list