Skip to content

Commit ec97565

Browse files
committed
Mark the v1/v2 docs as unsupported
These pages are already unlinked from every TOC but are still built and reachable by direct URL, so search engines can land readers on v1 guidance for a v4 library. Add a warning banner pointing at the current docs, and retitle the v1/v2 quickstart so it no longer presents itself as the Examine documentation. Keeping the pages published avoids 404s on existing inbound links. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7747261c-2e05-4a5a-b842-2039534d3d86
1 parent f0fab73 commit ec97565

5 files changed

Lines changed: 21 additions & 1 deletion

File tree

docs/docs-v1-v2/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ uid: v2configuration
55
order: 1
66
---
77

8+
> [!WARNING]
9+
> This page documents Examine v1/v2, which is no longer supported. It is kept online so existing links keep working.
10+
> For the current version, start at the [Examine documentation](xref:index).
11+
812
Configuration
913
===
1014

docs/docs-v1-v2/indexing.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ uid: v2indexing
55
order: 0
66
---
77

8+
> [!WARNING]
9+
> This page documents Examine v1/v2, which is no longer supported. It is kept online so existing links keep working.
10+
> For the current version, start at the [Examine documentation](xref:index).
11+
812
Indexing
913
===
1014
_**Tip**: There are many examples of indexing in the [`LuceneIndexTests` source code](https://github.com/Shazwazza/Examine/blob/dev/src/Examine.Test/Index/LuceneIndexTests.cs) to use as examples/reference._

docs/docs-v1-v2/quickstart.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ uid: v2index
33
title: V1/V2 Quickstart
44
---
55

6-
Examine Documentation
6+
> [!WARNING]
7+
> This page documents Examine v1/v2, which is no longer supported. It is kept online so existing links keep working.
8+
> For the current version, start at the [Examine documentation](xref:index).
9+
10+
Examine V1/V2 Documentation
711
===
812

913
## What is Examine?

docs/docs-v1-v2/searching.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ permalink: /searching
44
uid: v2searching
55
order: 2
66
---
7+
8+
> [!WARNING]
9+
> This page documents Examine v1/v2, which is no longer supported. It is kept online so existing links keep working.
10+
> For the current version, start at the [Examine documentation](xref:index).
711
Searching
812
===
913

docs/docs-v1-v2/sorting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ uid: v2sorting
55
order: 3
66
---
77

8+
> [!WARNING]
9+
> This page documents Examine v1/v2, which is no longer supported. It is kept online so existing links keep working.
10+
> For the current version, start at the [Examine documentation](xref:index).
11+
812
Sorting
913
===
1014

0 commit comments

Comments
 (0)