Skip to content

Commit c2b6ba0

Browse files
authored
Merge pull request #266 from sadSanta-07/fix-docusaurus-redirects
fix: add redirects for removed pages and fix broken doc anchors
2 parents ec74645 + 27a0572 commit c2b6ba0

11 files changed

Lines changed: 74 additions & 100 deletions

File tree

website/docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Yes, there are several avenues:
110110
<summary>How do I set up my development environment?</summary>
111111

112112
- **New Developers**: Check our **[Beginner Guides](./how-to-guide/beginner/)**.
113-
- **Specific Tools**: See the **[Tools section](./resources/tools.md)**.
113+
- **Specific Tools**: See the **[Tools section](./resources/repositories.md)**.
114114

115115
</details>
116116

website/docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ Built by the community, for the community. Join our working groups and help shap
4949

5050
### How-To Guides
5151
- **[Beginner](./how-to-guide/beginner/)** - Getting started guides for newcomers
52-
- **[Intermediate](./how-to-guide/intermediate/)** - Next-level guides for developers with basic knowledge
52+
- **[Intermediate](./how-to-guide/beginner/)** - Next-level guides for developers with basic knowledge
5353
- **Advanced** - Deep-dive technical guides for experienced developers (see [Cardano API](./how-to-guide/advanced/cardano-api.md) and [cardano-db-sync](./how-to-guide/advanced/cardano-db-sync.md))
5454

5555
### Tutorials
5656
- **Hands-On** - Interactive coding tutorials and workshops
5757

5858
### Resources
5959
- **[Repositories](./resources/repositories)** - Essential GitHub repositories and their purposes
60-
- **[Tools](./resources/tools)** - Development tools, APIs, and utilities
60+
- **[Tools](./resources/repositories)** - Development tools, APIs, and utilities
6161
- **[Community](./resources/community)** - Community channels, forums, and support resources
6262

6363
### [Working Group](./working-group/)

website/docs/how-to-guide/beginner/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Welcome to the Beginner Guides section! This area contains step-by-step guides d
88

99
### Getting Started with Cardano
1010
- **[Address Management](./address.md)** - Understanding Cardano addresses ([Official docs](https://docs.cardano.org/about-cardano/learn/cardano-addresses) | [Developer fundamentals](https://developers.cardano.org/docs/get-started/technical-concepts/core-blockchain-fundamentals/#addresses))
11-
- **[How to Create Address](./howtocreateaddress.md)** - Step-by-step address creation (Based on [PPBL 102.1](https://plutuspbl.io/))
11+
- **[How to Create Address](./address.md)** - Step-by-step address creation (Based on [PPBL 102.1](https://plutuspbl.io/))
1212
- **[Inputs and Outputs](./inputsandoutputs.md)** - Understanding transaction structure (See [Module 102 in Plutus PBL](https://plutuspbl.io/) for deeper understanding. For advanced understanding, consider learning basic [Category Theory](https://arxiv.org/abs/1302.6946) - types correspond to objects, functions to morphisms)
1313

1414
## Coming Soon
@@ -49,4 +49,4 @@ Found an issue or want to improve a guide? See our [Contributing Guidelines](htt
4949

5050
---
5151

52-
*Ready to dive deeper? Check out our [Intermediate Guides](../intermediate/README.md) when you're comfortable with the basics.*
52+
*Ready to dive deeper? Check out our [Intermediate Guides](../beginner/README.md) when you're comfortable with the basics.*

website/docs/how-to-guide/beginner/howtocreateaddress.md

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

website/docs/how-to-guide/intermediate/README.md

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

website/docs/resources/repositories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Data access tools, indexers, and Rust protocol implementations.
104104
| [cardano-foundation/CIPs](https://github.com/cardano-foundation/CIPs) | Cardano Improvement Proposals: the formal process for protocol changes and standards |
105105
| [Liqwid-Labs/agora](https://github.com/Liqwid-Labs/agora) | On-chain governance framework for DAOs built on Cardano |
106106

107-
> For the CIP contribution process: stages, editors, what qualifies: see the [Core Protocol Contributor Guide](../how-to-guide/advanced/core-protocol-contributor.md#how-to-contribute-a-cip).
107+
> For the CIP contribution process: stages, editors, what qualifies: see the [Core Protocol Contributor Guide](../how-to-guide/advanced/core-protocol-contributor.md).
108108
109109

110110
## Developer Tools & Testing

website/docs/resources/tools.md

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

website/docusaurus.config.ts

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,29 @@ const config: Config = {
7777
},
7878

7979
plugins: [
80+
[
81+
"@docusaurus/plugin-client-redirects",
82+
{
83+
redirects: [
84+
{
85+
from: "/docs/how-to-guide/beginner/howtocreateaddress",
86+
to: "/docs/how-to-guide/beginner/address",
87+
},
88+
{
89+
from: "/docs/resources/tools",
90+
to: "/docs/resources/repositories",
91+
},
92+
{
93+
from: "/docs/how-to-guide/intermediate",
94+
to: "/docs/how-to-guide/beginner",
95+
},
96+
{
97+
from: "/docs/tutorials/readme",
98+
to: "/docs/tutorials/local-cardano-payment-detector",
99+
},
100+
],
101+
},
102+
],
80103
function suppressVscodeLspWarning() {
81104
return {
82105
name: "suppress-vscode-lsp-warning",
@@ -221,7 +244,7 @@ const config: Config = {
221244
},
222245
{
223246
label: "Tools & APIs",
224-
to: "/docs/resources/tools",
247+
to: "/docs/resources/repositories",
225248
},
226249
{
227250
label: "FAQs",

website/package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@docusaurus/core": "^3.10.1",
25+
"@docusaurus/plugin-client-redirects": "^3.10.1",
2526
"@docusaurus/preset-classic": "^3.10.1",
2627
"@docusaurus/theme-mermaid": "^3.10.1",
2728
"@easyops-cn/docusaurus-search-local": "^0.55.1",

0 commit comments

Comments
 (0)