Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

quickfix: broken links #87

Merged
merged 1 commit into from
Mar 5, 2024
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
34 changes: 1 addition & 33 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ export default withNextra({
destination: '/book/:page*',
permanent: true,
},
{
source: '/book/guides', // <- base link used in docs
destination: '/book/guides/getting-started',
permanent: true,
},
{
source: '/book/cs', // <- base link used in docs
destination: '/book/cs/from-func',
permanent: true,
},

// Getting Started is now a part of Book→Guides sub-section
{
Expand All @@ -104,11 +94,6 @@ export default withNextra({
destination: '/language/evolution/overview',
permanent: true,
},
{
source: '/language/evolution', // <- base link used in docs
destination: '/language/evolution/overview',
permanent: true,
},
{
source: '/evolution/:page*',
destination: '/language/evolution/:page*',
Expand All @@ -122,30 +107,13 @@ export default withNextra({
permanent: true,
},

// Additional conveniences for Language section
{
source: '/language/ref', // <- base link used in docs
destination: '/language/ref/common',
permanent: true,
},
{
source: '/language/libs', // <- base link used in docs
destination: '/language/libs/overview',
permanent: true,
},

// Tools are now part of a new Ecosystem section
{
source: '/tools/:page*',
destination: '/ecosystem/tools/:page*',
permanent: true,
},
{
source: '/ecosystem/tools', // <- base link used in docs
destination: '/ecosystem/tools/typescript',
permanent: true,
},


// Small updates in naming of pages or sub-sections
{
source: '/book/message-modes',
Expand Down
8 changes: 4 additions & 4 deletions pages/book/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ Here are it's main contents:

### Guides

[Guides](/book/guides) are in-depth articles describing how to make a specific project or explore certain ideas of Tact and TON with respect to their implications and applications in real-life contracts.
[Guides](/book/guides/getting-started) are in-depth articles describing how to make a specific project or explore certain ideas of Tact and TON with respect to their implications and applications in real-life contracts.

<Cards>
<Cards.Card
arrow
title="Go to the first guide"
href="/book/guides"
href="/book/guides/getting-started"
/>
</Cards>

### Cheetsheats

[Cheatsheets](/book/cs) are quick rundowns on Tact syntax and idioms with comparison to other blockchain languages, such as FunC (also on TON) and Solidity (Ethereum blockchain). Use those to transition to Tact as swiftly as possible!
[Cheatsheets](/book/cs/from-func) are quick rundowns on Tact syntax and idioms with comparison to other blockchain languages, such as FunC (also on TON) and Solidity (Ethereum blockchain). Use those to transition to Tact as swiftly as possible!

<Cards>
<Cards.Card
arrow
title="Go to the first cheatsheet"
href="/book/cs"
href="/book/cs/from-func"
/>
</Cards>

Expand Down
6 changes: 3 additions & 3 deletions pages/ecosystem/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Here are it's main contents:

### Tools

[Tools](/ecosystem/tools) sub-section is a list of official and community-made tools made specifically for Tact, or whose that play along with the language and other tools. Each tool has a brief usage details and additional information, which sometimes is missing from the respective docs or is a convenient summary available only in the Tact documentation.
[Tools](/ecosystem/tools/overview) sub-section is a list of official and community-made tools made specifically for Tact, or whose that play along with the language and other tools. Each tool has a brief usage details and additional information, which sometimes is missing from the respective docs or is a convenient summary available only in the Tact documentation.

<Cards>
<Cards.Card
arrow
title="Go to the first tool"
href="/ecosystem/tools"
title="Go to the Tools"
href="/ecosystem/tools/overview"
/>
</Cards>

Expand Down
1 change: 1 addition & 0 deletions pages/ecosystem/tools/_meta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
overview: 'Overview',
typescript: 'Typescript',
vscode: 'VS Code Extension',
jetbrains: 'Jetbrains IDEs Plugin'
Expand Down
23 changes: 23 additions & 0 deletions pages/ecosystem/tools/overview.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Overview

import { Cards } from 'nextra/components'

This sub-section contains a list of official and community-made tools made specifically for Tact, or whose that play along with the language and other tools. Each tool has a brief usage details and additional information, which sometimes is missing from the respective docs or is a convenient summary available only in the Tact documentation.

<Cards>
<Cards.Card
arrow
title="Typescript"
href="/ecosystem/tools/typescript"
/>
<Cards.Card
arrow
title="VS Code Extension"
href="/ecosystem/tools/vscode"
/>
<Cards.Card
arrow
title="Jetbrains IDEs Plugin"
href="/ecosystem/tools/jetbrains"
/>
</Cards>
2 changes: 1 addition & 1 deletion pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Check the following cheatsheets to quickly get started!

For further guidance on compilation, testing and deployment see the [Getting started](/book/guides/getting-started) guide.

For custom plugins for your favorite editor and other tooling see the [Tools](/ecosystem/tools) page.
For custom plugins for your favorite editor and other tooling see the [Tools](/ecosystem/tools/overview) page.

Alternatively, take a look at the following broader sections:
* [Book](/book) helps you learn the language step-by-step
Expand Down
12 changes: 6 additions & 6 deletions pages/language/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ Here are it's main contents:

### Reference

[Reference](/language/ref) is a comprehensive list of language syntax and semantics. More detailed than the [Book](/book) at the expense of no additional guidance — targeted at more experienced programmers!
[Reference](/language/ref/common) is a comprehensive list of language syntax and semantics. More detailed than the [Book](/book) at the expense of no additional guidance — targeted at more experienced programmers!

<Cards>
<Cards.Card
arrow
title="Go to the Reference"
href="/language/ref"
href="/language/ref/common"
/>
</Cards>

### Libraries

[Libraries](/language/libs) sub-section explains how to use the bundled libraries, how to import external code and lists all the contents of the standard library.
[Libraries](/language/libs/overview) sub-section explains how to use the bundled libraries, how to import external code and lists all the contents of the standard library.

<Cards>
<Cards.Card
arrow
title="Go to the Libraries"
href="/language/libs"
href="/language/libs/overview"
/>
</Cards>

Expand All @@ -46,13 +46,13 @@ Here are it's main contents:

### Evolution

Finally, [Evolution](/language/evolution) sub-section gives insight on important decisions about language semantics, Tact's future and links to the up-to-date changelog of Tact updates.
Finally, [Evolution](/language/evolution/overview) sub-section gives insight on important decisions about language semantics, Tact's future and links to the up-to-date changelog of Tact updates.

<Cards>
<Cards.Card
arrow
title="Go to the Evolution"
href="/language/evolution"
href="/language/evolution/overview"
/>
</Cards>

Expand Down
3 changes: 2 additions & 1 deletion pages/language/ref/_meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ export default {
random: 'Random',
math: 'Math',
cells: 'Cells, Builders and Slices',
advanced: 'Advanced'
advanced: 'Advanced',
'exit-codes': 'Exit codes',
}
7 changes: 7 additions & 0 deletions pages/language/ref/exit-codes.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Exit codes

import { Callout } from 'nextra/components'

<Callout emoji="🚨">
This page is a stub. Contributions are welcome!
</Callout>
Loading