Skip to content

Commit b3c37db

Browse files
author
Daniel Del Core
committed
fix seo by updating links
1 parent c4d495a commit b3c37db

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

website/docs/authoring.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Which one to use depends on your particular use case.
1919
The public registry is the public directory of codemods hosted and published directly from this repository, [visible here](https://github.com/hypermod-io/hypermod-community/tree/main/community).
2020
This directory can be compared to and treated the same as the Typescript type definition registry: [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped).
2121

22-
_Please see the [Contribution guide](contribution) for more information._
22+
_Please see the [Contribution guide](./contribution.mdx) for more information._
2323

2424
Use this method if you want:
2525

2626
- Your codemods to be open source
2727
- Build tooling, dependency management and project setup to be handled for you
2828
- The community to help maintain and contribute to your codemods
29-
- Documentation to be automatically generated and available on the [Registry page](registry)
29+
- Documentation to be automatically generated and available on the [Registry page](./registry.mdx)
3030

3131
Do not use this method if:
3232

@@ -49,13 +49,13 @@ Use this method if you want:
4949

5050
Do not use this method if:
5151

52-
- You want docs to be automatically generated and available on the [Registry page](registry)
52+
- You want docs to be automatically generated and available on the [Registry page](./registry.mdx)
5353

5454
## 3. Create a stand-alone Hypermod package
5555

5656
Hypermod packages can be created as a stand-alone package.
5757

58-
_Please see the [External Packages guide](external-packages) for more information._
58+
_Please see the [External Packages guide](./external-packages.mdx) for more information._
5959

6060
Use this method if you want:
6161

website/docs/introduction.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: 'Welcome to Hypermod. This is a community of developers who use Hyp
66
keywords: [codeshift, getting started, best practices]
77
---
88

9-
Hypermod (prev CodeshiftCommunity) is a community-owned global registry and documentation hub for codemods. This project provides users and maintainers of libraries with tools and resources to help them [write](authoring), [test](testing), [publish](contribution) and [use](consuming) codemods in a structured and familiar way. By providing a standardized platform for codemod authoring, publishing, and consumption, Hypermod aims to promote the use of codemods as a standard development practice and reduce the learning curve for these tools.
9+
Hypermod (prev CodeshiftCommunity) is a community-owned global registry and documentation hub for codemods. This project provides users and maintainers of libraries with tools and resources to help them [write](./authoring.mdx), [test](./testing.mdx), [publish](./contribution.mdx) and [use](./consuming.mdx) codemods in a structured and familiar way. By providing a standardized platform for codemod authoring, publishing, and consumption, Hypermod aims to promote the use of codemods as a standard development practice and reduce the learning curve for these tools.
1010

1111
## Why?
1212

@@ -62,9 +62,9 @@ Our goal is to remove the stigma that codemods are difficult or time-consuming t
6262

6363
### A standardized CLI
6464

65-
Hypermod allows developers to publish codemods as their own NPM packages or as part of an existing NPM package. We provide a [standardized CLI tool](cli) that can download and run the latest codemods from any location. This approach has the added benefit of allowing codemods to be published with dependencies, which is not currently possible with most JSCodeshift CLI implementations.
65+
Hypermod allows developers to publish codemods as their own NPM packages or as part of an existing NPM package. We provide a [standardized CLI tool](./api/hypermod-cli.mdx) that can download and run the latest codemods from any location. This approach has the added benefit of allowing codemods to be published with dependencies, which is not currently possible with most JSCodeshift CLI implementations.
6666

67-
By using NPM, we aim to make it easy for developers to adopt codemods. All they need to do is publish an existing package with a codemod.config.js file and they are ready to go. For more information, see our guide on [authoring with existing packages](authoring#2-add-hypermod-to-an-existing-package).
67+
By using NPM, we aim to make it easy for developers to adopt codemods. All they need to do is publish an existing package with a codemod.config.js file and they are ready to go. For more information, see our guide on [authoring with existing packages](./authoring.mdx#2-add-hypermod-to-an-existing-package).
6868

6969
### A centralized registry
7070

@@ -86,9 +86,9 @@ We want to remove the perception that codemods are difficult or time-consuming t
8686

8787
## Getting started
8888

89-
- [Your first codemod](/docs/your-first-codemod)
90-
- [Consuming codemods](consuming)
91-
- [Writing codemods](authoring)
92-
- [Testing codemods](testing)
93-
- [Learning resources](your-first-codemod)
94-
- [Publishing & contribution](contribution)
89+
- [Your first codemod](./guides/your-first-codemod.mdx)
90+
- [Consuming codemods](./consuming.mdx)
91+
- [Writing codemods](./authoring.mdx)
92+
- [Testing codemods](./testing.mdx)
93+
- [Learning resources](./guides/your-first-codemod.mdx)
94+
- [Publishing & contribution](./contribution.mdx)

website/docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
favicon: 'img/favicon.ico',
1010
organizationName: 'hypermod-io',
1111
projectName: 'hypermod-community',
12+
trailingSlash: false,
1213
themeConfig: {
1314
image: 'img/TwitterBanner.png',
1415
metadata: [

0 commit comments

Comments
 (0)