You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/06/12 15:54:58 UTC
git commit: [#6332] Clean up sphinx build warnings
Updated Branches:
refs/heads/tv/6332 4226de09e -> 6384b5d42
[#6332] Clean up sphinx build warnings
Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6384b5d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6384b5d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6384b5d4
Branch: refs/heads/tv/6332
Commit: 6384b5d421652777f61bc013af27bbd781bb5b48
Parents: 4226de0
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Wed Jun 12 09:54:28 2013 -0400
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Wed Jun 12 09:54:28 2013 -0400
----------------------------------------------------------------------
Allura/allura/lib/package_path_loader.py | 7 +++++--
Allura/docs/api/lib/package_path_loader.rst | 2 +-
Allura/docs/guides/message_bus.rst | 4 ++--
3 files changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6384b5d4/Allura/allura/lib/package_path_loader.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/package_path_loader.py b/Allura/allura/lib/package_path_loader.py
index e4be82e..9bee4c4 100644
--- a/Allura/allura/lib/package_path_loader.py
+++ b/Allura/allura/lib/package_path_loader.py
@@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+
"""
A Jinja template loader which allows for:
@@ -38,7 +39,7 @@ Overriding dotted notation
Allow a Tool implementer to override the theme baseline (or any
other Tool's) templates. This can be lighter-weight than subclassing
-:ref:`allura.plugin.ThemeProvider`, plus will allow for more fine-grained
+:class:`allura.plugin.ThemeProvider`, plus will allow for more fine-grained
changes.
This will also override ``extends`` and ``import`` Jinja tags.
@@ -110,15 +111,17 @@ The positioners are:
>
This overrider will be found BEFORE the specified entry point
+
<
This overrider will be found AFTER the specified entry point
+
=
This will replace one of the "signpost" entry points (if multiple apps
try to do this for the same signpost, the result is undefined)
**TODO:** Support multiple partial themes
-"""
+"""
import pkg_resources
import os
from collections import defaultdict
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6384b5d4/Allura/docs/api/lib/package_path_loader.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/api/lib/package_path_loader.rst b/Allura/docs/api/lib/package_path_loader.rst
index 0646699..62f560c 100644
--- a/Allura/docs/api/lib/package_path_loader.rst
+++ b/Allura/docs/api/lib/package_path_loader.rst
@@ -18,7 +18,7 @@
.. _package_path_loader_module:
:mod:`allura.lib.package_path_loader`
---------------------------------
+-------------------------------------
.. automodule:: allura.lib.package_path_loader
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6384b5d4/Allura/docs/guides/message_bus.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/guides/message_bus.rst b/Allura/docs/guides/message_bus.rst
index 299657f..f8285e1 100644
--- a/Allura/docs/guides/message_bus.rst
+++ b/Allura/docs/guides/message_bus.rst
@@ -79,8 +79,8 @@ In order to invoke all the event handlers for a particular topic, we use the
g.post_event('project_updated')
Under the covers, this is scheduling an `event` task that calls all the handlers
-for a particular named event. Note that you can pass arguments (*args, and
-**kwargs) to event handlers just like you do to tasks, with the exception that
+for a particular named event. Note that you can pass arguments (\*args, and
+\*\*kwargs) to event handlers just like you do to tasks, with the exception that
the topic name (above, this would be 'project_updated') is always the first
parameter passed to the event handler.