Skip to content

Commit 793923d

Browse files
committed
Remove SO link and move tutorial to separate tab
1 parent 3f4c9dc commit 793923d

File tree

5 files changed

+4
-26
lines changed

5 files changed

+4
-26
lines changed

docusaurus.config.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,13 @@ const config = {
5757
src: 'img/logo.png',
5858
},
5959
items: [
60-
{
61-
type: 'doc',
62-
docId: 'getting-started-tutorial',
63-
position: 'left',
64-
label: 'Tutorial',
65-
},
6660
{
6761
type: 'doc',
6862
docId: 'getting-started',
6963
position: 'left',
7064
label: 'Documentation',
7165
},
66+
{to: '/tutorials/getting-started-with-spring-boot', label: 'Tutorial', position: 'left'},
7267
{to: '/blog', label: 'Blog', position: 'left'},
7368
{to: '/about', label: 'About', position: 'left'},
7469
{type: 'docsVersionDropdown', position: 'right'},
@@ -91,7 +86,7 @@ const config = {
9186
},
9287
{
9388
label: '3 Min Tutorial',
94-
to: '/documentation/getting-started-tutorial',
89+
to: '/tutorials/getting-started-with-spring-boot',
9590
},
9691
{
9792
label: 'JavaDoc',
@@ -110,10 +105,6 @@ const config = {
110105
label: 'Twitter',
111106
href: 'https://twitter.com/graphql_java',
112107
},
113-
{
114-
label: 'Stack Overflow',
115-
href: 'https://stackoverflow.com/questions/tagged/graphql-java',
116-
},
117108
],
118109
},
119110
{

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function HomepageHeader() {
1616
<div className={styles.buttons}>
1717
<Link
1818
className="button button--secondary button--lg"
19-
to="/documentation/getting-started-tutorial">
19+
to="/tutorials/getting-started-with-spring-boot">
2020
GraphQL Java Tutorial - 3 min ⏱️
2121
</Link>
2222
</div>

documentation/tutorial-with-spring-boot.md renamed to src/pages/tutorials/getting-started-with-spring-boot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Tutorial with Spring Boot
33
sidebar_position: 1
4-
id: getting-started-tutorial
4+
id: tutorial-getting-started
55
---
66
# Getting started with Spring Boot
77

versioned_docs/version-15/tutorial-with-spring-boot.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

versioned_docs/version-16/tutorial-with-spring-boot.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)