Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions apify-docs-theme/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ const themeConfig = {
},
{
label: 'Client for JavaScript',
href: `${absoluteUrl}/api/client/js/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/api/client/js/docs`,
target: '_self',
rel: 'dofollow',
},
{
label: 'Client for Python',
href: `${absoluteUrl}/api/client/python/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/api/client/python/docs/overview`,
target: '_self',
rel: 'dofollow',
},
Expand All @@ -76,21 +76,21 @@ const themeConfig = {
items: [
{
label: 'SDK for JavaScript',
href: `${absoluteUrl}/sdk/js/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/sdk/js/docs/overview`,
target: '_self',
rel: 'dofollow',
},
{
html: 'SDK for Python',
href: `${absoluteUrl}/sdk/python/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/sdk/python/docs/overview`,
target: '_self',
rel: 'dofollow',
},
],
},
{
label: 'CLI',
href: `${absoluteUrl}/cli/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/cli/docs`,
position: 'left',
activeBasePath: 'cli',
target: '_self',
Expand Down Expand Up @@ -188,13 +188,13 @@ const themeConfig = {
},
{
label: 'Client for JavaScript',
href: `${absoluteUrl}/api/client/js/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/api/client/js/docs`,
target: '_self',
rel: 'dofollow',
},
{
label: 'Client for Python',
href: `${absoluteUrl}/api/client/python/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/api/client/python/docs/overview`,
target: '_self',
rel: 'dofollow',
},
Expand All @@ -205,13 +205,13 @@ const themeConfig = {
items: [
{
label: 'SDK for JavaScript',
href: `${absoluteUrl}/sdk/js/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/sdk/js/docs/overview`,
target: '_self',
rel: 'dofollow',
},
{
label: 'SDK for Python',
href: `${absoluteUrl}/sdk/python/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/sdk/python/docs/overview`,
target: '_self',
rel: 'dofollow',
},
Expand All @@ -222,7 +222,7 @@ const themeConfig = {
items: [
{
label: 'CLI',
href: `${absoluteUrl}/cli/`, // we need a trailing slash here, we'd get redirected there anyway
href: `${absoluteUrl}/cli/docs`,
position: 'left',
target: '_self',
rel: 'dofollow',
Expand Down
Loading