Skip to content

Commit 3c0b48d

Browse files
committed
address feedback
1 parent e8dd90c commit 3c0b48d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

apify-docs-theme/static/js/custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function scrollOpenApiSidebarItemIntoView() {
7878
function redirectOpenApiDocs() {
7979
const { hash, pathname, origin } = new URL(window.location.href);
8080

81-
if (pathname.startsWith('/api/v2') && pathname.startsWith('/api/v2-')) {
81+
if (!pathname.startsWith('/api/v2') || pathname.startsWith('/api/v2-')) {
8282
return;
8383
}
8484

src/theme/DocSidebarItem/Category/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default function DocSidebarItemCategory({ item, onItemClick, activePath,
137137
}
138138
}
139139

140-
console.log(item);
140+
// console.log('sidebar category', item);
141141

142142
return (
143143
<li

static/robots.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ User-agent: *
22
Sitemap: https://docs.apify.com/sitemap.xml
33
Disallow: https://docs.apify.com/api/v2-old
44
Disallow: https://docs.apify.com/api/v2-redoc
5-
Disallow: https://docs.apify.com/api/v2

0 commit comments

Comments
 (0)