Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Jan 14, 2025
1 parent e8dd90c commit 3c0b48d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apify-docs-theme/static/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function scrollOpenApiSidebarItemIntoView() {
function redirectOpenApiDocs() {
const { hash, pathname, origin } = new URL(window.location.href);

if (pathname.startsWith('/api/v2') && pathname.startsWith('/api/v2-')) {
if (!pathname.startsWith('/api/v2') || pathname.startsWith('/api/v2-')) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocSidebarItem/Category/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function DocSidebarItemCategory({ item, onItemClick, activePath,
}
}

console.log(item);
// console.log('sidebar category', item);

return (
<li
Expand Down
1 change: 0 additions & 1 deletion static/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ User-agent: *
Sitemap: https://docs.apify.com/sitemap.xml
Disallow: https://docs.apify.com/api/v2-old
Disallow: https://docs.apify.com/api/v2-redoc
Disallow: https://docs.apify.com/api/v2

0 comments on commit 3c0b48d

Please sign in to comment.