line-spanning epytext markup generates an error
Bug #234120 reported by
Jean-Paul Calderone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pydoctor |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If some epytext markup with curlies spans multiple lines, pydoctor causes an epytext error to be emitted. However, using epydoc directly does not result in the same error, and epytext documentation suggests that spanning multiple lines is okay.
Changed in pydoctor: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Ah. I think I know what's happening here: it's pydoctor's hackish way of extracting a summary line. For the table of contents, pydoctor takes the first non-blank line of ths docstring. In this case it's just "B{foo", which is unsurprisingly an error. It works fine for formatting the main docstring.
Not sure what to do about this.