Skip to content

fix: skip alternate markdown link on /search page#2539

Merged
TC-MO merged 1 commit into
masterfrom
fix-search-md-page-generation
May 18, 2026
Merged

fix: skip alternate markdown link on /search page#2539
TC-MO merged 1 commit into
masterfrom
fix-search-md-page-generation

Conversation

@TC-MO
Copy link
Copy Markdown
Contributor

@TC-MO TC-MO commented May 18, 2026

/search is in the llms-txt plugin's excludeRoutes, so no /search.md counterpart is generated. The Layout was still rendering , producing a daily lychee 404 report on docs.apify.com/search.md.

Skip the alternate link for /search, matching the existing handling for /404 and versioned pages.

/search is in the llms-txt plugin's excludeRoutes, so no /search.md
counterpart is generated. The Layout was still rendering
<link rel="alternate" type="text/markdown" href="/search.md">,
producing a daily lychee 404 report on docs.apify.com/search.md.

Skip the alternate link for /search, matching the existing handling
for /404 and versioned pages.
@TC-MO TC-MO requested a review from barjin May 18, 2026 08:12
@TC-MO TC-MO self-assigned this May 18, 2026
@TC-MO TC-MO added adhoc Ad-hoc unplanned task added during the sprint. t-docs Issues owned by technical writing team. labels May 18, 2026
@apify-service-account
Copy link
Copy Markdown
Contributor

apify-service-account commented May 18, 2026

🗑️ Preview for this PR was deleted.

Copy link
Copy Markdown
Member

@barjin barjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you @TC-MO !

Comment thread apify-docs-theme/src/theme/Layout/index.jsx
@TC-MO TC-MO marked this pull request as ready for review May 18, 2026 09:20
@TC-MO TC-MO merged commit 6b8a9dd into master May 18, 2026
16 checks passed
@TC-MO TC-MO deleted the fix-search-md-page-generation branch May 18, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-docs Issues owned by technical writing team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants