diff --git a/docs/source/_static/images/django-mongodb-backend.png b/docs/source/_static/images/django-mongodb-backend.png new file mode 100644 index 0000000..d73f64c Binary files /dev/null and b/docs/source/_static/images/django-mongodb-backend.png differ diff --git a/docs/source/_static/images/django-mongodb-backend2.png b/docs/source/_static/images/django-mongodb-backend2.png new file mode 100644 index 0000000..9534aa1 Binary files /dev/null and b/docs/source/_static/images/django-mongodb-backend2.png differ diff --git a/docs/source/index.rst b/docs/source/index.rst index e4d3c22..04479fe 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -27,7 +27,7 @@ Table of Contents .. toctree:: installation - usage + usage/index third-party-library-support/index supported-libraries/index glossary diff --git a/docs/source/usage/django-mongodb-backend.rst b/docs/source/usage/django-mongodb-backend.rst new file mode 100644 index 0000000..abf7d04 --- /dev/null +++ b/docs/source/usage/django-mongodb-backend.rst @@ -0,0 +1,28 @@ +Run django-mongodb-backend tests +-------------------------------- + +The :ref:`Django fork ` test runner also runs +the django-mongodb-backend tests. + +List tests +~~~~~~~~~~ + +You can list them with the +``dm repo test django -l`` command. + +:: + + dm repo test django -l + +.. image:: ../_static/images/django-mongodb-backend.png + + +Run tests +~~~~~~~~~ + +Then you can run them by specifying the test module e.g. to run +the tests for the ``backend`` module:: + + dm repo test django backend_ + +.. image:: ../_static/images/django-mongodb-backend2.png diff --git a/docs/source/usage/index.rst b/docs/source/usage/index.rst new file mode 100644 index 0000000..eae9f8a --- /dev/null +++ b/docs/source/usage/index.rst @@ -0,0 +1,6 @@ +Usage +===== + +.. toctree:: + third-party + django-mongodb-backend diff --git a/docs/source/usage.rst b/docs/source/usage/third-party.rst similarity index 72% rename from docs/source/usage.rst rename to docs/source/usage/third-party.rst index 0e25c32..4337b08 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage/third-party.rst @@ -1,11 +1,8 @@ -Usage -===== - Run third-party library tests -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +----------------------------- django-filter -+++++++++++++ +~~~~~~~~~~~~~ :: @@ -13,10 +10,10 @@ django-filter When completed successfully the output should look something like this: -.. image:: _static/images/django-filter.png +.. image:: ../_static/images/django-filter.png django-rest-framework -+++++++++++++++++++++ +~~~~~~~~~~~~~~~~~~~~~ :: @@ -24,10 +21,10 @@ django-rest-framework When completed successfully the output should look something like this: -.. image:: _static/images/django-rest-framework.png +.. image:: ../_static/images/django-rest-framework.png django-debug-toolbar -++++++++++++++++++++ +~~~~~~~~~~~~~~~~~~~~ :: @@ -35,10 +32,10 @@ django-debug-toolbar When completed successfully the output should look something like this: -.. image:: _static/images/django-debug-toolbar.png +.. image:: ../_static/images/django-debug-toolbar.png django-allauth -++++++++++++++ +~~~~~~~~~~~~~~ .. warning:: @@ -53,10 +50,10 @@ django-allauth When completed successfully the output should look something like this: -.. image:: _static/images/django-allauth.png +.. image:: ../_static/images/django-allauth.png wagtail -+++++++ +~~~~~~~ :: @@ -64,4 +61,4 @@ wagtail When completed successfully the output should look something like this: -.. image:: _static/images/wagtail.png +.. image:: ../_static/images/wagtail.png