Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/overrides/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const shouldNoIndex =

const shouldChatbotDeprioritize =
CHATBOT_DEPRIORITIZE_PRODUCTS.includes(currentSection) ||
frontmatter.sidebar.group?.hideIndex ||
frontmatter.sidebar.hidden ||
frontmatter.chatbot_deprioritize;

if (currentSection) {
Expand Down
1 change: 1 addition & 0 deletions worker/index.worker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ describe("Cloudflare Docs", () => {
title: Markdown · Cloudflare Style Guide
description: The HTML generated by this file is used as a test fixture for our Markdown generation.
lastUpdated: 2025-01-01T00:00:00.000Z
chatbotDeprioritize: true
source_url:
html: http://fakehost/style-guide/fixtures/markdown/
md: http://fakehost/style-guide/fixtures/markdown/index.md
Expand Down