Skip to content

Commit 674e7cb

Browse files
authored
Merge pull request #23 from aclark4life/main
Update docs
2 parents 1f8d744 + b7c5209 commit 674e7cb

File tree

6 files changed

+46
-15
lines changed

6 files changed

+46
-15
lines changed
Loading
Loading

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Table of Contents
2727

2828
.. toctree::
2929
installation
30-
usage
30+
usage/index
3131
third-party-library-support/index
3232
supported-libraries/index
3333
glossary
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Run django-mongodb-backend tests
2+
--------------------------------
3+
4+
The :ref:`Django fork <mongodb-django-fork>` test runner also runs
5+
the django-mongodb-backend tests.
6+
7+
List tests
8+
~~~~~~~~~~
9+
10+
You can list them with the
11+
``dm repo test django -l`` command.
12+
13+
::
14+
15+
dm repo test django -l
16+
17+
.. image:: ../_static/images/django-mongodb-backend.png
18+
19+
20+
Run tests
21+
~~~~~~~~~
22+
23+
Then you can run them by specifying the test module e.g. to run
24+
the tests for the ``backend`` module::
25+
26+
dm repo test django backend_
27+
28+
.. image:: ../_static/images/django-mongodb-backend2.png

docs/source/usage/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Usage
2+
=====
3+
4+
.. toctree::
5+
third-party
6+
django-mongodb-backend
Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
1-
Usage
2-
=====
3-
41
Run third-party library tests
5-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2+
-----------------------------
63

74
django-filter
8-
+++++++++++++
5+
~~~~~~~~~~~~~
96

107
::
118

129
dm repo test django-filter
1310

1411
When completed successfully the output should look something like this:
1512

16-
.. image:: _static/images/django-filter.png
13+
.. image:: ../_static/images/django-filter.png
1714

1815
django-rest-framework
19-
+++++++++++++++++++++
16+
~~~~~~~~~~~~~~~~~~~~~
2017

2118
::
2219

2320
dm repo test django-rest-framework
2421

2522
When completed successfully the output should look something like this:
2623

27-
.. image:: _static/images/django-rest-framework.png
24+
.. image:: ../_static/images/django-rest-framework.png
2825

2926
django-debug-toolbar
30-
++++++++++++++++++++
27+
~~~~~~~~~~~~~~~~~~~~
3128

3229
::
3330

3431
dm repo test django-debug-toolbar
3532

3633
When completed successfully the output should look something like this:
3734

38-
.. image:: _static/images/django-debug-toolbar.png
35+
.. image:: ../_static/images/django-debug-toolbar.png
3936

4037
django-allauth
41-
++++++++++++++
38+
~~~~~~~~~~~~~~
4239

4340
.. warning::
4441

@@ -53,15 +50,15 @@ django-allauth
5350

5451
When completed successfully the output should look something like this:
5552

56-
.. image:: _static/images/django-allauth.png
53+
.. image:: ../_static/images/django-allauth.png
5754

5855
wagtail
59-
+++++++
56+
~~~~~~~
6057

6158
::
6259

6360
dm repo test wagtail
6461

6562
When completed successfully the output should look something like this:
6663

67-
.. image:: _static/images/wagtail.png
64+
.. image:: ../_static/images/wagtail.png

0 commit comments

Comments
 (0)