Fixed #33842 -- Used :source: role for links to repo files on GitHub.

This commit is contained in:
Ramil Yanbulatov 2022-06-30 15:08:49 +03:00 committed by Carlton Gibson
parent f3a06b06b5
commit c6290bae9d
17 changed files with 28 additions and 27 deletions

View file

@ -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

View file

@ -303,6 +303,6 @@ All tickets
* Is the pull request a single squashed commit with a message that follows our
:ref:`commit message format <committing-guidelines>`?
* 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/

View file

@ -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 ``<app_name>_tests``. For example, tests for ``contrib.auth`` are located
in ``tests/auth_tests``.
in :source:`tests/auth_tests`.
.. _troubleshooting-unit-tests:

View file

@ -23,7 +23,7 @@ Getting the raw documentation
Though Django's documentation is intended to be read as HTML at
https://docs.djangoproject.com/, we edit it as a collection of text files for
maximum flexibility. These files live in the top-level ``docs/`` directory of a
maximum flexibility. These files live in the top-level :source:`docs/` directory of a
Django release.
If you'd like to start contributing to our docs, get the development version of