Repository navigation
reST format: changed docutils report level to severe - #2152
Conversation
This will change behavior to only display severe messages when parsing reST files using docutils. As robot is only interested in data that lives inside some directives, errors from the outside world should not bother the user. Signed-off-by: Vinicius Kwiecien Ruoso <[email protected]>
|
Admin, can CI be enabled? |
There was a problem hiding this comment.
Looking at docutils sources, it seems string SEVERE could be used instead of integer 4. It would be easier to understand and remove the need for the comment.
I guess this should be added also to publish_from_doctree call in _read_html method below. That should be tested separately, though.
|
Sorry, for missing this PR earlier. Ignoring other than severe errors sounds like a decent behavior for me. I don't think we need to make that configurable. Some further comments:
How urgent is this feature for you and how fast you think you could finish it? We are planning to release RF 2.9.2 very soon, preferably already on Thursday. Because it was my mistake to miss this PR, we can delay it a little but not further than than early next week. The planned next release after 2.9.2 is 3.0 in December. |
|
We decided to make the release Tomorrow Friday. We will do the tests and userguide changes needed to finish this. Thanks! |
|
Thanks for the review! I would not have time to finish this until early next week, so it is good to hear that it is merged and you are doing improvements! Looking forward to 2.9.2. |
This is relative to issue #2093. The argument is that errors outside robot code blocks should be ignored when running robot. Still need to find a way to test this.