Skip to content
Merged
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
8 changes: 7 additions & 1 deletion apify-docs-theme/src/theme/DocItemContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ export default function DocItemContent({ children }) {
'/cli',
];

const shouldShowLLMButtons = allowedPaths.some((path) => location.pathname.startsWith(path));
// Define paths that should not show LLMButtons (e.g., changelog pages)
const disallowedPaths = [
'/changelog',
];

const shouldShowLLMButtons = allowedPaths.some((path) => location.pathname.startsWith(path))
&& !disallowedPaths.some((path) => location.pathname.includes(path));

return (
<div className={clsx(ThemeClassNames.docs.docMarkdown, 'markdown')}>
Expand Down
Loading