Open sbrugman opened 1 year ago
I am experiencing the same error, the same versions of portray, pdocs and mkdocs, but using python3.10 and the option as_html
.
@sbrugman in my case it was because of different formatting than what is defined in _text_mako. Namely, a Returns section with only the name of the retrieved variable, here mako expects a description field that is the None of the error. I also found the it does not support having a Raises section without the Returns section before it.
Is a fix for this planned? I don't have either of those issues mentioned above. I do have lines like this though. Don't know if that causes an issue as well?
- Updates user in database
- Logs updated user
- Returns updated User object
The following error occurs when running
portray in_browser
out-of-the-box:Any pointers on how to resolve this?
Dependencies: Python 3.9 portray==1.8.0 pdocs==1.2.0 mkdocs==1.3.1 mkdocs-gitbook==0.0.1 mkdocs-material==8.5.4 mkdocs-material-extensions==1.1.1 Mako==1.2.4 Markdown==3.3.7 MarkupSafe==2.1.1