Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc config change #968

Merged
merged 2 commits into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
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
31 changes: 13 additions & 18 deletions doc/src/navconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"sideMenu": {
"title": "QUICK LINKS",
"items": [
{
"items": [{
"label": "Tutorial",
"link": "explore/tutorials"
},
Expand All @@ -17,8 +16,7 @@
]
},
"docs": {
"learn": [
{
"learn": [{
"label": "About Sui",
"fileName": "learn/about-sui"
},
Expand All @@ -31,34 +29,33 @@
"fileName": "learn/why-move"
},
{
"label": "How Sui Move differs from Core Move"
"label": "How Sui Move differs from Core Move",
"fileName": "learn/sui-move-diffs"
},
{
"label": "How Sui Works",
"fileName": "learn/how-sui-works"
},
{
"label": "Sui Compared to Other Blockchains"
"label": "Sui Compared to Other Blockchains",
"fileName": "learn/sui-compared"
},
{
"label": "Understand Sui Security"
"label": "Understand Sui Security",
"fileName": "learn/sui-security"
},
{
"label": "Sui White Paper",
"link": "https://github.com/MystenLabs/sui/blob/main/doc/paper/sui.pdf"
"link": "https://github.com/MystenLabs/sui/blob/main/doc/paper/sui.pdf",
"external": true
}
],
"build": [
{
"label": "Install"
"build": [{
"label": "Install",
"fileName": "build/install"
},
{
"label": "Smart Contracts with Move"
"label": "Smart Contracts with Move",
"fileName": "build/move"
},
{
Expand All @@ -82,8 +79,7 @@
"fileName": "build/transactions"
}
],
"explore": [
{
"explore": [{
"label": "Tutorial",
"fileName": "explore/tutorials"
},
Expand All @@ -94,14 +90,13 @@
{
"label": "Examples",
"fileName": "explore/examples"
}
},
{
"label": "SoWork x Sui",
"fileName": "explore/sowork"
}
],
"contribute": [
{
"contribute": [{
"label": "Logging",
"fileName": "contribute/observability"
},
Expand All @@ -115,7 +110,7 @@
},
{
"label": "About Mysten Labs",
"link": "https://mystenlabs.com/"
"link": "https://mystenlabs.com/",
"external": true
}
]
Expand Down
57 changes: 29 additions & 28 deletions doc/src/siteconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"terms": {
"label": "Terms of Service",
"link": "#"
"link": "#"
},
"menu": [{
"title": "Docs",
Expand All @@ -25,7 +25,7 @@
},
{
"title": "SDK Reference",
"link": "https://app.swaggerhub.com/apis/MystenLabs/sui-api/"
"link": "https://app.swaggerhub.com/apis/MystenLabs/sui-api/",
"external": true
},
{
Expand Down Expand Up @@ -63,7 +63,8 @@
{
"title": "Sui.io",
"link": "https://sui.io/",
"external": true
"external": true,
"arrow": true
},
{
"title": "White Paper",
Expand All @@ -77,19 +78,19 @@
"headerData": {
"menu": [{
"title": "Learn",
"link": "/learn/"
"link": "/learn"
},
{
"title": "Build",
"link": "/build/"
"link": "/build"
},
{
"title": "Explore",
"link": "/explore/"
"link": "/explore"
},
{
"title": "Contribute",
"link": "/contribute/"
"link": "/contribute"
},
{
"title": "Discord",
Expand All @@ -107,68 +108,67 @@
"title": "Sui Developer Hub",
"subTitle": "Welcome to Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by Move",
"partner": {
"title": "Partner Highlight",
"copy" : "See how Celo uses this copy to change this copy because this copy needs to be changed but that should be an easy fix.",
"cta" : {
"label": "Learn More",
"link": "/learn/how-sui-works",
"title": "Partnerships Highlight",
"copy": "Explore examples and 3rd party projects built on Sui.",
"cta": {
"label": "Go",
"link": "/explore",
"external": false
}
},
"cta": [{
"name": "Get Started",
"sublist": [{
"name": "Move Quick Start ->",
"name": "Move Quick Start",
"url": "/build/move"
},
{
"name": "Wallet Quick Start ->",
"name": "Wallet Quick Start",
"url": "/build/wallet"
}
]
},
{
"name": "Learn About Sui",
"sublist": [{
"name": "How Sui Works ->",
"name": "How Sui Works",
"url": "/learn/how-sui-works"
},
{
"name": "Sui Compared to other Blockchains ->",
"name": "Sui Compared to other Blockchains",
"url": "/learn/sui-compared"
}
]
},
{
"name": "Take Tutorial",
"sublist": [{
"name": "End-to-end guide for playing TicTacToe on Sui ->",
"url": "/explore/tutorials"
}
]
"name": "End-to-end guide for playing TicTacToe on Sui",
"url": "/explore/tutorials"
}]
},
{
"name": "Explore Prototypes",
"sublist": [{
"name": "Two games with mutable, expressive NFTs",
"url": "/explore/prototypes"
} ]
}]
},
{
"name": "Build with Examples",
"sublist": [{
"name": "Hold an auction ->",
"url": "https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/defi/sources/Auction.move"
"name": "Hold an auction",
"url": "https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/defi/sources/Auction.move",
"external": true
},
"sublist": [{
"name": "Try A flash loan ->",
"url": "https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/defi/sources/FlashLender.move"
{
"name": "Try A flash loan",
"url": "https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/defi/sources/FlashLender.move",
"external": true
},
{
"name": "See all examples ->",
"url": "/explore/examples/"
"name": "See all examples",
"url": "/explore/examples"
}
]
},
Expand All @@ -193,6 +193,7 @@
"name": "Medium",
"url": "https://medium.com/mysten-labs/",
"external": true

}
]
}
Expand Down