Skip to content

Commit

Permalink
Add Travis badge, garden ReST.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
tseaver committed Dec 29, 2014
1 parent f5b1d8d commit ed1698c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
``zope.viewlet`` README
=======================

.. image:: https://travis-ci.org/zopefoundation/zope.viewlet.png?branch=master
:target: https://travis-ci.org/zopefoundation/zope.viewlet

Viewlets provide a generic framework for building pluggable user interfaces.
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ def read(*rnames):
long_description=(
read('README.rst')
+ '\n\n' +
'Detailed Documentation\n' +
'**********************\n\n'
+ '\n\n' +
read('src', 'zope', 'viewlet', 'README.txt')
+ '\n\n' +
read('src', 'zope', 'viewlet', 'directives.txt')
Expand Down
1 change: 0 additions & 1 deletion src/zope/viewlet/README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
=============================
Viewlets and Viewlet Managers
=============================

Expand Down
13 changes: 7 additions & 6 deletions src/zope/viewlet/directives.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
================================
Viewlet-related ZCML Directives
===============================

The ``viewletManager`` Directive
================================
--------------------------------

The ``viewletManager`` directive allows you to quickly register a new viewlet
manager without worrying about the details of the ``adapter``
Expand Down Expand Up @@ -189,9 +191,8 @@ Finally, if a non-existent template is specified, an error is raised:
ConfigurationError: ('No such file', '...foo.pt')


=========================
The ``viewlet`` Directive
=========================
-------------------------

Now that we have a viewlet manager, we have to register some viewlets for
it. The ``viewlet`` directive is similar to the ``viewletManager`` directive,
Expand Down Expand Up @@ -334,7 +335,7 @@ specification of any number of keyword arguments:


Error Scenarios
---------------
~~~~~~~~~~~~~~~

Neither the class or template have been specified:

Expand Down Expand Up @@ -392,7 +393,7 @@ specified attribute:


Cleanup
-------
~~~~~~~

>>> import shutil
>>> shutil.rmtree(temp_dir)

0 comments on commit ed1698c

Please sign in to comment.