Skip to content

Commit 9549454

Browse files
authored
fix(docs): add absoluteUrl to navbar sdk link (#1000)
### 🐛 Bug When you go to a page that isn't served from the apify-docs, but some sub-doc (e.g. https://docs.apify.com/cli/ ) you cannot click on the 'SDK' item in the navbar. ### 🛠️ Fix I included absoluteUrl in the link. Now it is the same as 'API', which works in production.
1 parent 9c5bb02 commit 9549454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apify-docs-theme/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const themeConfig = ({
7272
{
7373
label: 'SDK',
7474
type: 'dropdown',
75-
to: '/sdk',
75+
to: `${absoluteUrl}/sdk`,
7676
activeBasePath: 'sdk',
7777
position: 'left',
7878
target: '_self',

0 commit comments

Comments
 (0)