From 4373e3c422dd2dbf6feb7db732aca37e0055dacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wr=C3=B3blewski?= Date: Sun, 21 Jan 2024 22:32:53 +0100 Subject: [PATCH] fix: dead links in documentation --- docs/src/docs/components/filters.md | 2 +- docs/src/reference/types/filter.md | 6 +++--- docs/src/reference/types/filter/options/doctrine-orm.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/docs/components/filters.md b/docs/src/docs/components/filters.md index f1cdf9c2..dee343ce 100644 --- a/docs/src/docs/components/filters.md +++ b/docs/src/docs/components/filters.md @@ -36,7 +36,7 @@ For reference, see [available filter types](../../reference/types/filter.md). ## Creating filter types -This bundle and integrations, such as [Doctrine ORM integration bundle](../integrations/doctrine-orm/installation.md), come with plenty of the [filter types](../../reference/types/filter.md). +This bundle comes with plenty of the [built-in filter types](../../reference/types/filter.md). However, those may not cover complex cases. Luckily, creating custom filter types are easy. Filter types are classes that implement [`FilterTypeInterface`](https://github.com/Kreyu/data-table-bundle/blob/main/src/Filter/Type/FilterTypeInterface.php). However, it's better to extend from the [`AbstractFilterType`](https://github.com/Kreyu/data-table-bundle/blob/main/src/Filter/Type/AbstractFilterType.php): diff --git a/docs/src/reference/types/filter.md b/docs/src/reference/types/filter.md index 99d13f0d..5135efd6 100644 --- a/docs/src/reference/types/filter.md +++ b/docs/src/reference/types/filter.md @@ -2,9 +2,9 @@ The following filter types are natively available in the bundle: -- [Callback](types/callback.md) -- [Search](types/search.md) -- [Filter](types/filter.md) +- [Callback](filter/callback.md) +- [Search](filter/search.md) +- [Filter](filter/filter.md) ## Doctrine ORM diff --git a/docs/src/reference/types/filter/options/doctrine-orm.md b/docs/src/reference/types/filter/options/doctrine-orm.md index 8f000df9..a674648e 100644 --- a/docs/src/reference/types/filter/options/doctrine-orm.md +++ b/docs/src/reference/types/filter/options/doctrine-orm.md @@ -50,4 +50,4 @@ class ProductDataTableType extends AbstractDataTableType } ``` -For more information about expression transformers, [read here](../../../../../docs/integrations/doctrine-orm/expression-transformers.md). +For more information about expression transformers, [read here](../../../../docs/integrations/doctrine-orm/expression-transformers.md).