Skip to content

Commit

Permalink
Improve documentation style
Browse files Browse the repository at this point in the history
  • Loading branch information
NikAzanov committed Sep 11, 2023
1 parent f503041 commit daca909
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ django-import-export-extensions
:target: https://django-import-export-extensions.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://static.pepy.tech/personalized-badge/django-import-export-extensions?period=month&units=international_system&left_color=black&right_color=blue&left_text=Downloads/month
.. image:: https://static.pepy.tech/personalized-badge/django-import-export-extensions?period=month&units=international_system&left_color=gray&right_color=blue&left_text=Downloads/month
:target: https://pepy.tech/project/django-import-export-extensions
:alt: Downloading statistic

Expand All @@ -32,11 +32,11 @@ Description
`django-import-export <https://github.com/django-import-export/django-import-export/>`_
adding the following features:

* Import/export resources in the background via Celery
* Manage import/export jobs via Django Admin
* DRF integration that allows to work with import/export jobs via API
* Import/export :ref:`resources<Resources>` in the background via Celery
* Manage import/export :ref:`jobs<ImportJob/ExportJob models>` via Django Admin
* :ref:`DRF integration<ViewSets>` that allows to work with import/export jobs via API
* Support `drf-spectacular <https://github.com/tfranzel/drf-spectacular>`_ generated API schema
* Additional fields and widgets (FileWidget, IntermediateM2MWidget, M2MField)
* Additional:ref:`fields<Fields>` and :ref:`widgets<Widgets>` (FileWidget, IntermediateM2MWidget, M2MField)

Installation
-----
Expand All @@ -58,8 +58,8 @@ Add `import_export` and `import_export_extensions` to INSTALLED_APPS
"import_export_extensions",
)
Run `migrate` command to create ImportJob/ExportJob models and
`collectstatic` to let Django collect package static files to use in the admin.
Run ``migrate`` command to create ImportJob/ExportJob models and
``collectstatic`` to let Django collect package static files to use in the admin.

.. code-block:: shell
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Here is simple django model from test app that we gonna use in the examples abov
Resources
---------

The resource class is a core of import/export. This is similar to serializers in DRF, but
The resource class is a core of import/export. This is similar to forms in Django, but
provides methods for converting data from a file to objects and vice versa.

``django-import-export-extensions`` provides ``CeleryResource`` and ``CeleryModelResource`` classes. Here
Expand Down
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ django-import-export-extensions is a Django application and library based on

**Features:**

* Import/export resources in the background via Celery
* Manage import/export jobs via Django Admin
* DRF integration that allows to work with import/export jobs via API
* Import/export :ref:`resources<Resources>` in the background via Celery
* Manage import/export :ref:`jobs<ImportJob/ExportJob models>` via Django Admin
* :ref:`DRF integration<ViewSets>` that allows to work with import/export jobs via API
* Support `drf-spectacular <https://github.com/tfranzel/drf-spectacular>`_ generated API schema
* Additional fields and widgets (FileWidget, IntermediateM2MWidget, M2MField)
* Additional :ref:`fields<Fields>` and :ref:`widgets<Widgets>` (FileWidget, IntermediateM2MWidget, M2MField)

.. toctree::
:maxdepth: 2
Expand Down

0 comments on commit daca909

Please sign in to comment.