diff --git a/docs/index.rst b/docs/index.rst index 5d4f36babb..d1a75ffdd1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -45,7 +45,7 @@ Contents: .. toctree:: :maxdepth: 3 - overview/index + overview/index .. _zulip-in-production: diff --git a/docs/translating/index.rst b/docs/translating/index.rst index 77a36d4266..fdee09708c 100644 --- a/docs/translating/index.rst +++ b/docs/translating/index.rst @@ -11,4 +11,4 @@ Translating Zulip german polish russian - spanish + spanish diff --git a/tools/lint b/tools/lint index ba7872d9cd..9a5d34aa3a 100755 --- a/tools/lint +++ b/tools/lint @@ -90,7 +90,7 @@ def run(): print('If you really know what you are doing, use --force to run anyway.') sys.exit(1) - backend_file_types = ['py', 'sh', 'pp', 'json', 'md', 'txt', 'text', 'yaml'] + backend_file_types = ['py', 'sh', 'pp', 'json', 'md', 'txt', 'text', 'yaml', 'rst'] frontend_file_types = ['js', 'css', 'handlebars', 'html'] file_types = backend_file_types + frontend_file_types if args.backend: diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index 0f75870bf7..449c71ff9a 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -690,6 +690,11 @@ def build_custom_checkers(by_lang): if custom_check_file(fn, 'txt', txt_rules, color): failed = True + color = next(colors) + for fn in by_lang['rst']: + if custom_check_file(fn, 'rst', txt_rules, color): + failed = True + color = next(colors) for fn in by_lang['yaml']: if custom_check_file(fn, 'yaml', txt_rules, color):