docs/test2rst.py
changeset 2958 1cb715257130
parent 2951 2ddc63d13af8
child 2959 ef361938dfa1
--- 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('  ')