You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know any offhand tool for this specific scenario (next to http://www.sphinx-doc.org/en/stable/ext/doctest.html), though it can't be too hard to grab some Markdown parsing library which allows to convert an MD source into an AST or has SAX-style parsing features (i.e. goes beyond a single function turning MD into HTML :-)), then find every code block, split the command line out of it (there's somewhat of a pattern in the document, so splitting on first { and dropping the $ should do) and split out the command output, then actually run the command and compare to the documented output.
We need a way of checking that the routes specified in the docs are valid after changes in the code, as suggested in #41
The text was updated successfully, but these errors were encountered: