rpaframework
rpaframework copied to clipboard
2. Additional `*** Tasks ***` appearing in the docs
A solution would be to append *** Tasks *** only in robotframework code blocks. (and the dev should write the examples in such a way they'll begin with the tasks (and not explicitly adding the tasks header ofc))
Another saner solution is to just remove this auto-addition of the *** Tasks *** header.
As @osrjv suggested, this is the place where the code should be altered.
Quick solution:
- If the
*** Tasks ***header is already present in the code-block, then don't add it, otherwise add it at the beginning as it is right now. - Don't add the
*** Tasks ***header to Python code-blocks. (only in Robot Framework ones) - ~Optional cover for
*** Test Cases ***, since with RF5 terminology got replaced~.
- More info on the expected docstring template in the Legend found here.
- Additional related issue clarification.
This seems to be fixed. Closing until further issues arise. :)