diff options
author | Gediminas Paulauskas <menesis@pov.lt> | 2012-02-10 17:22:15 +0000 |
---|---|---|
committer | Gediminas Paulauskas <menesis@pov.lt> | 2012-02-10 17:22:15 +0000 |
commit | b8fff2676a7575bf2d3248c562f778776e0603ce (patch) | |
tree | 8a1c28fa66e82463780f5c8c4053bfa86466d490 | |
parent | b2fe3ec0afa1d8e33198e65d81c34683c2150360 (diff) | |
download | zope-i18n-b8fff2676a7575bf2d3248c562f778776e0603ce.tar.gz |
Some ReST fixes
-rw-r--r-- | README.txt | 2 | ||||
-rw-r--r-- | docs/api.rst | 12 | ||||
-rw-r--r-- | src/zope/i18n/interfaces/__init__.py | 9 |
3 files changed, 20 insertions, 3 deletions
@@ -10,5 +10,5 @@ localization. * Locale discovery for Web-based requests. -Please see ``doc/index.rst`` for the documentation. +Please see ``docs/index.rst`` for the documentation. diff --git a/docs/api.rst b/docs/api.rst index c430235..70f42e0 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -13,14 +13,26 @@ zope.i18n.compile .. 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: diff --git a/src/zope/i18n/interfaces/__init__.py b/src/zope/i18n/interfaces/__init__.py index c6f5a93..99944c2 100644 --- a/src/zope/i18n/interfaces/__init__.py +++ b/src/zope/i18n/interfaces/__init__.py @@ -306,6 +306,8 @@ class INumberFormat(IFormat): 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,7 +328,8 @@ class INumberFormat(IFormat): 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 @@ -375,8 +378,9 @@ class IDateTimeFormat(IFormat): """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 @@ class IDateTimeFormat(IFormat): z time zone (Text) Pacific Standard Time ' escape for text '' single quote ' + ====== ===================== ================= ===================== Meaning of the amount of characters: |