Skip to content

Commit 43e38c2

Browse files
committed
fix issues with navigation
rename consolidated page to index.mdx fix left side sidebar so it doesn't have 1 item in overview category, rather that overview is clickable page itself fix top side nav so Docs send to the new page fix link on landing page
1 parent 190ca50 commit 43e38c2

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed
File renamed without changes.

website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = {
6666
title: 'SDK for Python',
6767
items: [
6868
{
69-
to: 'docs/overview/introduction',
69+
to: 'docs/overview',
7070
label: 'Docs',
7171
position: 'left',
7272
activeBaseRegex: '/docs(?!/changelog)',

website/sidebars.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
module.exports = {
22
sidebar: [
33
{
4-
type: 'category',
5-
label: 'Overview',
6-
collapsed: true,
7-
items: [
8-
{
9-
type: 'autogenerated',
10-
dirName: '01_overview',
11-
},
12-
],
4+
type: 'doc',
5+
id: 'overview/index',
136
},
147
{
158
type: 'category',

website/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function Hero() {
3535
<div className="row">
3636
<div className="col">
3737
<div className={styles.heroButtons}>
38-
<Link to="/docs/overview/introduction" className={styles.getStarted}>Get Started</Link>
38+
<Link to="/docs/overview" className={styles.getStarted}>Get Started</Link>
3939
<iframe src="https://ghbtns.com/github-btn.html?user=apify&repo=apify-sdk-python&type=star&count=true&size=large" frameBorder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
4040
</div>
4141
</div>

0 commit comments

Comments
 (0)