From c6290bae9da94234091673fa57ea20411325a9e8 Mon Sep 17 00:00:00 2001 From: Ramil Yanbulatov Date: Thu, 30 Jun 2022 15:08:49 +0300 Subject: Fixed #33842 -- Used :source: role for links to repo files on GitHub. --- docs/internals/contributing/writing-code/javascript.txt | 4 ++-- docs/internals/contributing/writing-code/submitting-patches.txt | 2 +- docs/internals/contributing/writing-code/unit-tests.txt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/internals/contributing/writing-code') diff --git a/docs/internals/contributing/writing-code/javascript.txt b/docs/internals/contributing/writing-code/javascript.txt index 9b8bacdac1..657cc66ded 100644 --- a/docs/internals/contributing/writing-code/javascript.txt +++ b/docs/internals/contributing/writing-code/javascript.txt @@ -45,7 +45,7 @@ JavaScript tests ================ Django's JavaScript tests can be run in a browser or from the command line. -The tests are located in a top level ``js_tests`` directory. +The tests are located in a top level :source:`js_tests` directory. Writing tests ------------- @@ -89,7 +89,7 @@ The JavaScript tests may be run from a web browser or from the command line. Testing from a web browser ~~~~~~~~~~~~~~~~~~~~~~~~~~ -To run the tests from a web browser, open up ``js_tests/tests.html`` in your +To run the tests from a web browser, open up :source:`js_tests/tests.html` in your browser. To measure code coverage when running the tests, you need to view that file diff --git a/docs/internals/contributing/writing-code/submitting-patches.txt b/docs/internals/contributing/writing-code/submitting-patches.txt index c05b83d6ab..4f7811ccfa 100644 --- a/docs/internals/contributing/writing-code/submitting-patches.txt +++ b/docs/internals/contributing/writing-code/submitting-patches.txt @@ -303,6 +303,6 @@ All tickets * Is the pull request a single squashed commit with a message that follows our :ref:`commit message format `? * Are you the patch author and a new contributor? Please add yourself to the - ``AUTHORS`` file and submit a `Contributor License Agreement`_. + :source:`AUTHORS` file and submit a `Contributor License Agreement`_. .. _Contributor License Agreement: https://www.djangoproject.com/foundation/cla/ diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 6b1c735ba4..19f5c0ed09 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -379,9 +379,9 @@ and also excludes several directories not relevant to the results Contrib apps ============ -Tests for contrib apps can be found in the ``tests/`` directory, typically +Tests for contrib apps can be found in the :source:`tests/` directory, typically under ``_tests``. For example, tests for ``contrib.auth`` are located -in ``tests/auth_tests``. +in :source:`tests/auth_tests`. .. _troubleshooting-unit-tests: -- cgit v1.3