diff -r 586c9ace20b3 -r 1cb715257130 docs/test2rst.py --- a/docs/test2rst.py Fri Sep 08 12:10:21 2017 +0200 +++ b/docs/test2rst.py Thu Sep 21 10:45:06 2017 +0200 @@ -23,6 +23,9 @@ # Emtpy lines doesn't change output if not line: newlines.append(line) + + # Ignore line + if line.endswith('#rest-ignore'): continue codeline = line.startswith(' ')