From 67331219aaf5689b5d1ffc402d16e208791282ec Mon Sep 17 00:00:00 2001 From: Ivan Date: Tue, 17 Mar 2026 11:18:24 +0800 Subject: [PATCH] Fix typos in README.md for clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Summary This PR fixes a typo and improves several minor grammar and clarity issues in the code examples documentation. ### Changes - Corrected typo in the Sphinx directive: - `literalincude` → `literalinclude` - Fixed subject-verb agreement: - "directories are updated" → "directories is updated" ### Notes These are documentation-only changes and do not affect functionality. --- code-example-tests/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code-example-tests/README.md b/code-example-tests/README.md index 5017fac6444..9ef2c19ba90 100644 --- a/code-example-tests/README.md +++ b/code-example-tests/README.md @@ -42,7 +42,7 @@ For docs purposes, writers should _only_ use code examples from the ## Automated testing -When any file in any of the `language/driver/examples` directories are updated in a PR, +When any file in any of the `language/driver/examples` directories is updated in a PR, the GitHub workflows contained in the `.github/workflows` directory automatically run the test suite. These workflows report the results of the test suite runs as passes or failures on the PR. @@ -131,7 +131,7 @@ For example, to access the snippet generated from tutorial_app.py, use this file path: ``` -.. literalincude:: /code-examples/tested/python/pymongo/aggregation/pipelines/filter_tutorial.snippet.sort.py +.. literalinclude:: /code-examples/tested/python/pymongo/aggregation/pipelines/filter_tutorial.snippet.sort.py :language: python :copyable: true :category: usage example