Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Fix for illformatted rest #4

Merged
merged 2 commits into from
Mar 18, 2013
Merged

Fix for illformatted rest #4

merged 2 commits into from
Mar 18, 2013

Conversation

fizyk
Copy link
Contributor

@fizyk 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 pushed a commit that referenced this pull request Mar 18, 2013
@mardiros mardiros merged commit 2a61a03 into mardiros:master Mar 18, 2013
@fizyk
Copy link
Contributor Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants