From 9847634e1f146b38ba7d408f5510538142708e76 Mon Sep 17 00:00:00 2001 From: Dennis Riehle Date: Tue, 12 Oct 2021 22:27:04 +0200 Subject: [PATCH] simplify redirects of legacy docs Signed-off-by: Dennis Riehle --- docs/book/aggregate.md | 6 ------ docs/book/filter.md | 6 ------ .../composite-naming-strategy.md | 7 ------- .../identity-naming-strategy.md | 7 ------- .../naming-strategy/map-naming-strategy.md | 7 ------- .../underscore-naming-strategy.md | 7 ------- docs/book/quick-start.md | 6 ------ docs/book/strategy.md | 6 ------ mkdocs.yml | 21 +++++++++++-------- 9 files changed, 12 insertions(+), 61 deletions(-) delete mode 100644 docs/book/aggregate.md delete mode 100644 docs/book/filter.md delete mode 100644 docs/book/naming-strategy/composite-naming-strategy.md delete mode 100644 docs/book/naming-strategy/identity-naming-strategy.md delete mode 100644 docs/book/naming-strategy/map-naming-strategy.md delete mode 100644 docs/book/naming-strategy/underscore-naming-strategy.md delete mode 100644 docs/book/quick-start.md delete mode 100644 docs/book/strategy.md diff --git a/docs/book/aggregate.md b/docs/book/aggregate.md deleted file mode 100644 index d4ec494d..00000000 --- a/docs/book/aggregate.md +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/docs/book/filter.md b/docs/book/filter.md deleted file mode 100644 index 9a89046e..00000000 --- a/docs/book/filter.md +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/docs/book/naming-strategy/composite-naming-strategy.md b/docs/book/naming-strategy/composite-naming-strategy.md deleted file mode 100644 index 32156743..00000000 --- a/docs/book/naming-strategy/composite-naming-strategy.md +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/docs/book/naming-strategy/identity-naming-strategy.md b/docs/book/naming-strategy/identity-naming-strategy.md deleted file mode 100644 index cde2afd0..00000000 --- a/docs/book/naming-strategy/identity-naming-strategy.md +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/docs/book/naming-strategy/map-naming-strategy.md b/docs/book/naming-strategy/map-naming-strategy.md deleted file mode 100644 index 88de8659..00000000 --- a/docs/book/naming-strategy/map-naming-strategy.md +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/docs/book/naming-strategy/underscore-naming-strategy.md b/docs/book/naming-strategy/underscore-naming-strategy.md deleted file mode 100644 index ad1ed272..00000000 --- a/docs/book/naming-strategy/underscore-naming-strategy.md +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/docs/book/quick-start.md b/docs/book/quick-start.md deleted file mode 100644 index 3acb90f1..00000000 --- a/docs/book/quick-start.md +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/docs/book/strategy.md b/docs/book/strategy.md deleted file mode 100644 index bff9f496..00000000 --- a/docs/book/strategy.md +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/mkdocs.yml b/mkdocs.yml index 4e97ed2e..9fe744c8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -56,15 +56,18 @@ nav: - "Mapping": v2/naming-strategy/map-naming-strategy.md - "Underscore Mapping": v2/naming-strategy/underscore-naming-strategy.md - "Composite": v2/naming-strategy/composite-naming-strategy.md - - "_hidden-legacy-page-links": - - "_quick_start": quick-start.md - - "_filters": filter.md - - "_strategies": strategy.md - - "_aggregates": aggregate.md - - "_naming_strategies-identity": naming-strategy/identity-naming-strategy.md - - "_naming_strategies-mapping": naming-strategy/map-naming-strategy.md - - "_naming_strategies-underscore_mapping": naming-strategy/underscore-naming-strategy.md - - "_naming_strategies-composite": naming-strategy/composite-naming-strategy.md site_name: laminas-hydrator site_description: "Serialize objects to arrays, and vice versa" repo_url: 'https://github.com/laminas/laminas-hydrator' +plugins: + - search + - redirects: + redirect_maps: + aggregate.md: v2/aggregate.md + filter.md: v2/filter.md + naming-strategy/composite-naming-strategy.md: v2/naming-strategy/composite-naming-strategy.md + naming-strategy/identity-naming-strategy.md: v2/naming-strategy/identity-naming-strategy.md + naming-strategy/map-naming-strategy.md: v2/naming-strategy/map-naming-strategy.md + naming-strategy/underscore-naming-strategy.md: v2/naming-strategy/underscore-naming-strategy.md + quick-start.md: v2/quick-start.md + strategy.md: v2/strategy.md