From 31b58792422bbd07286897fbfa347e29f9647d0d Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 9 Sep 2023 01:26:10 -0700 Subject: [PATCH] docs: Remove obsolete mentions of reStructuredText. Commit b53e67686011f7ed16c36dbb5d9a25f2aabaf052 (#19600) removed the last of our reST. Signed-off-by: Anders Kaseorg --- docs/documentation/overview.md | 4 ++-- tools/lint | 1 - tools/linter_lib/custom_check.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/documentation/overview.md b/docs/documentation/overview.md index d79af7d625..fb562959d8 100644 --- a/docs/documentation/overview.md +++ b/docs/documentation/overview.md @@ -31,7 +31,7 @@ These three systems are documented in detail. What you are reading right now is part of the collection of documentation targeted at developers and people running their own Zulip servers. These docs are written in -[CommonMark Markdown](https://commonmark.org/) with a small bit of rST. +[CommonMark Markdown](https://commonmark.org/). We've chosen Markdown because it is [easy to write](https://commonmark.org/help/). The source for Zulip's developer documentation is at `docs/` in the Zulip Git repository, and @@ -62,7 +62,7 @@ browser. The raw files are available at the root of your Zulip checkout). If you are adding a new page to the table of contents, you will want -to modify `docs/index.rst` and run `make clean` before `make html`, so +to modify `docs/index.md` and run `make clean` before `make html`, so that other docs besides your new one also get the new entry in the table of contents. diff --git a/tools/lint b/tools/lint index 2fc707ed91..dcd3e53fa9 100755 --- a/tools/lint +++ b/tools/lint @@ -50,7 +50,6 @@ def run() -> None: "pp", "py", "pyi", - "rst", "sh", "text", "txt", diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index 47a62d8470..6929cfa381 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -917,7 +917,7 @@ openapi_rules = RuleList( ) txt_rules = RuleList( - langs=["txt", "text", "yaml", "rst", "yml"], + langs=["txt", "text", "yaml", "yml"], rules=whitespace_rules, ) non_py_rules = [