antmicro / tuttest

A simple Python utility for extracting documentation snippets from tutorials.
Apache License 2.0
13 stars 2 forks source link

Ignore sphinx-jinja directives #23

Closed fkokosinski closed 3 years ago

fkokosinski commented 3 years ago

Currently tuttest crashes when it tries to read RSTs with jinja directive from: https://pypi.org/project/sphinx-jinja/.

This PR changes it so that tuttest registers jinja directive as a LineBlock and makes tuttest ignore this directive.