Fix for illformatted rest #4

Merged
merged 2 commits into from Mar 18, 2013

Conversation

Projects
None yet
2 participants
Contributor

fizyk commented Mar 15, 2013

I had illformatted rest documentation. had this lines in my plugin's description:

..code-block::
    [app:main]
    ....
    env = project environment

I was able to upload, but unfortunately I wasn't able to display package's description.
Instead, I get this error (along with long backtrace):

013-03-15 23:33:03,823 INFO  [pyshop.views.base][Dummy-2] dispatch view Show
<string>:35: (WARNING/2) Title underline too short.

[app:main]
....
<string>:35: (SEVERE/4) Unexpected section title.

[app:main]

Here's my fix for this issue.

@mardiros mardiros added a commit that referenced this pull request Mar 18, 2013

@mardiros mardiros Merge pull request #4 from fizyk/fix-for-illformatted-rest
Fix for illformatted rest
2a61a03

@mardiros mardiros merged commit 2a61a03 into mardiros:master Mar 18, 2013

Contributor

fizyk commented Mar 19, 2013

hey, I thought a little bit about this, and since cheeseshop is doing the same, we shouldn't try to do anything more here, than display the raw rest in pre tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment