diff --git a/templates/sphinx-conf.py b/templates/sphinx-conf.py index 3bc6befed063ecc62bdf96991d9e686c9472472e..daf4fd1821afcddcc3c019d5caec09a6587169f1 100644 --- a/templates/sphinx-conf.py +++ b/templates/sphinx-conf.py @@ -43,15 +43,15 @@ nitpick_ignore = [] # Allows the user to override warnings from a separate file if os.path.exists('nitpick-exceptions.txt'): for line in open('nitpick-exceptions.txt'): - if line.strip() == "" or line.startswith("#"): - continue - dtype, target = line.split(None, 1) - target = target.strip() - try: # python 2.x - target = unicode(target) - except NameError: - pass - nitpick_ignore.append((dtype, target)) + if line.strip() == "" or line.startswith("#"): + continue + dtype, target = line.split(None, 1) + target = target.strip() + try: # python 2.x + target = unicode(target) + except NameError: + pass + nitpick_ignore.append((dtype, target)) # Always includes todos todo_include_todos = True