Fix weekend-analysis article type, localized back-to-news links, and excerpt truncation#440
Merged
pethers merged 2 commits intonews-realtime/2026-02-22-weekend-analysis-751b87f663d6aa99from Feb 22, 2026
Conversation
…nd-security-preparedness Co-authored-by: pethers <[email protected]>
Copilot
AI
changed the title
[WIP] Update weekend analysis on Sweden's security developments
Fix weekend-analysis article type, localized back-to-news links, and excerpt truncation
Feb 22, 2026
01f6209
into
news-realtime/2026-02-22-weekend-analysis-751b87f663d6aa99
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Weekend-analysis articles were misclassified as
prospective, non-English articles linked back to the English index instead of their language-specific index, and excerpts were hard-cut mid-sentence at 200 chars.Changes
scripts/generate-news-indexes.tsfileName.includes('weekend')from theprospectivebranch inclassifyArticleType— weekend articles now fall through toanalysis...:9 localized article files (
ar,de,es,fr,he,ja,ko,nl,zh)Back-to-news links corrected from
index.html→index_{lang}.html14 news index files regenerated to reflect corrected
type: "analysis"and clean excerpts💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.