Skip to content

Commit

Permalink
Fixed RST long description rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Sep 9, 2015
1 parent 37e5b9e commit b78a505
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,13 @@ application. You can take advantage of this functionality easily in your
own content management applications.

Say you have an FTP editable object, "document", in a Zope folder named
"my_stuff". The URL to view the object would be:
http://zopeserver/my_stuff/document
"my_stuff". The URL to view the object would be::

The URL to kick off the external editor on this document would be:
http://zopeserver/my_stuff/externalEdit_/document
http://zopeserver/my_stuff/document

The URL to kick off the external editor on this document would be::

http://zopeserver/my_stuff/externalEdit_/document

Now, this may look a bit odd to you if you are used to tacking views on to
the end of the URL. Because `externalEdit_` is required to work on Python
Expand All @@ -343,8 +345,9 @@ As an alternative, you can also pass the path the object you want to edit
directly to the `externalEdit_` object when you call its index_html method.
It can be called either directly by URL or from a python script.
`externalEdit_` will return the proper response data for the object to edit.
You can invoke it via a URL:
http://zopeserver/externalEdit_?path=/my_stuff/document
You can invoke it via a URL::

http://zopeserver/externalEdit_?path=/my_stuff/document

or via Python:

Expand All @@ -359,8 +362,9 @@ after displaying a confirmation dialog box. Although you can make this
automatic by specifying 'always_borrow_locks = 1' in the External Editor
config file, it may be desireable to make this the default behavior when
using that server. To facilitate this, you can specify that locks
should be automatically borrowed in the URL (New in 0.7), i.e:
http://zopeserver/my_stuff/externalEdit_/document?borrow_lock=1
should be automatically borrowed in the URL (New in 0.7), i.e::

http://zopeserver/my_stuff/externalEdit_/document?borrow_lock=1

External Editor also defines a global method that you can call to insert
pencil icon links for appropriate objects. The method automatically checks
Expand Down

0 comments on commit b78a505

Please sign in to comment.