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.
Help
help.apify.com
1 parent 59dc057 commit d840264Copy full SHA for d840264
apify-docs-theme/src/theme/SearchBar/index.js
@@ -129,10 +129,17 @@ export default function SearchBar({ onClick }) {
129
organizationDisplayName: 'Apify',
130
primaryBrandColor: '#FF9013',
131
transformSource: (source) => {
132
+ function getTabForSource(src) {
133
+ if (src.url.includes('help.apify.com')) {
134
+ return 'Help';
135
+ }
136
+ return 'Docs';
137
138
+
139
if (source.contentType === 'documentation') {
140
return {
141
...source,
- tabs: [...(source.tabs || []), 'Docs'],
142
+ tabs: [...(source.tabs || []), getTabForSource(source)],
143
};
144
}
145
return source;
0 commit comments