Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix links in docs

Jakub Draganek23950ce0c644
diff --git a/docs/elasticsearch.rst b/docs/elasticsearch.rst
index 760ce10e55..201f26096e 100644
--- a/docs/elasticsearch.rst
+++ b/docs/elasticsearch.rst
@@ -29,7 +29,7 @@ Environment variables
Data indexing
-------------
-Saleor uses [Django Elasticsearch DSL](https://github.com/sabricot/django-elasticsearch-dsl) as a wrapper for [Elasticsearch DSL](https://github.com/elastic/elasticsearch-dsl-py) to enable automatic indexing and sync. Indexes are defined in [documents](saleor/search/documents.py) file. Please refer to documentation of above projects for further help.
+Saleor uses `Django Elasticsearch DSL <https://github.com/sabricot/django-elasticsearch-dsl>` as a wrapper for `Elasticsearch DSL <https://github.com/elastic/elasticsearch-dsl-py>` to enable automatic indexing and sync. Indexes are defined in `documents <https://github.com/saleor/saleor/search/documents.py>` file. Please refer to documentation of above projects for further help.
Initial search index can be created with following command:
@@ -43,13 +43,13 @@ By default all indexed objects (products, users, orders) are reindexed every tim
Search integration architecture
-------------------------------
-Search backends use [Elasticsearch DSL](https://github.com/elastic/elasticsearch-dsl-py) for query definition in (saleor/search/backends).
+Search backends use `Elasticsearch DSL <https://github.com/elastic/elasticsearch-dsl-py>` for query definition in saleor/search/backends.
-There are two backends defined for elasticsearch integration, [storefront](saleor/search/backends/elasticsearch.py) and [dashboard](saleor/search/backends/elasticsearch_dashboard.py). Storefront search uses only storefront index for product only search, dashboard backend does additional searches in users and orders indexes as well.
+There are two backends defined for elasticsearch integration, `storefront <https://github/com/saleor/saleor/search/backends/elasticsearch.py>` and `dashboard <https://github.com/saleor/saleor/search/backends/elasticsearch_dashboard.py>`. Storefront search uses only storefront index for product only search, dashboard backend does additional searches in users and orders indexes as well.
Testing
-------
-There are two levels of testing for search functionality. Syntax of Elasticsearch queries is ensured by unit tests for backend, [integration](tests/test_search.py) testing is done using [VCR.py](https://github.com/kevin1024/vcrpy) to mock external communication. If search logic is modified, make sure to record new communication and align test fixtures accordingly! Pytest will run VCR in never-recording mode on CI to make sure no attempts of communication are made, so make sure most recent
+There are two levels of testing for search functionality. Syntax of Elasticsearch queries is ensured by unit tests for backend, [integration](tests/test_search.py) testing is done using `VCR.py <https://github.com/kevin1024/vcrpy>` to mock external communication. If search logic is modified, make sure to record new communication and align test fixtures accordingly! Pytest will run VCR in never-recording mode on CI to make sure no attempts of communication are made, so make sure most recent
cassettes are always included in your repository.