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 6a047d0 commit 70dd681Copy full SHA for 70dd681
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