We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f14e0 commit aaa5552Copy full SHA for aaa5552
apify-docs-theme/src/theme/DocItemContent/index.js
@@ -54,7 +54,13 @@ export default function DocItemContent({ children }) {
54
'/cli',
55
];
56
57
- const shouldShowLLMButtons = allowedPaths.some((path) => location.pathname.startsWith(path));
+ // Define paths that should not show LLMButtons (e.g., changelog pages)
58
+ const disallowedPaths = [
59
+ '/changelog',
60
+ ];
61
+
62
+ const shouldShowLLMButtons = allowedPaths.some((path) => location.pathname.startsWith(path))
63
+ && !disallowedPaths.some((path) => location.pathname.includes(path));
64
65
return (
66
<div className={clsx(ThemeClassNames.docs.docMarkdown, 'markdown')}>
0 commit comments