Skip to content

Exclude legacy articles from search#43

Merged
ikkentim merged 3 commits into
mainfrom
copilot/exclude-legacy-articles-from-search
May 16, 2026
Merged

Exclude legacy articles from search#43
ikkentim merged 3 commits into
mainfrom
copilot/exclude-legacy-articles-from-search

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

Legacy (v0.x) articles were surfacing in search results alongside new SampSharp docs, creating noise for users.

Changes

  • docfx.json: Added fileMetadata block setting _noindex: true for all docs/legacy/** files — keeps legacy content accessible via navigation but invisible to the built-in search index.
"fileMetadata": {
  "_noindex": {
    "docs/legacy/**": true
  }
}

Single config change covers all current and future files under the legacy path without needing per-file frontmatter edits.

Copilot AI linked an issue May 15, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Set metadata _noindex to true for legacy articles Exclude legacy articles from search May 15, 2026
Copilot AI requested a review from ikkentim May 15, 2026 18:01
@ikkentim
Copy link
Copy Markdown
Member

@copilot update sampsharp-src submodule to b1bb7968394a820a32221bc6dc43ab431029bd41

…9bd41

Co-authored-by: ikkentim <2820647+ikkentim@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 15, 2026

@copilot update sampsharp-src submodule to b1bb7968394a820a32221bc6dc43ab431029bd41

Done — updated sampsharp-src to b1bb7968 in d3f56ce.

@ikkentim ikkentim marked this pull request as ready for review May 15, 2026 21:30
@ikkentim ikkentim merged commit 3dbf75a into main May 16, 2026
1 check passed
@ikkentim ikkentim deleted the copilot/exclude-legacy-articles-from-search branch May 16, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exclude legacy articles from search

2 participants