mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
This commit is contained in:
parent
f3a06b06b5
commit
c6290bae9d
17 changed files with 28 additions and 27 deletions
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue