Skip to content

Commit 602751a

Browse files
committed
fix: rename treefmt.go to treefmt-go
Signed-off-by: Brian McGee <[email protected]>
1 parent ab7bf54 commit 602751a

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/settings.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ repository:
22
# See https://developer.github.com/v3/repos/#edit for all available settings.
33

44
# The name of the repository. Changing this will rename the repository
5-
name: treefmt.go
5+
name: treefmt-go
66

77
# A short description of the repository that will show up on GitHub
88
description: one CLI to format your repo
99

1010
# A URL with more information about the repository
11-
homepage: "https://numtide.github.io/treefmt.go/"
11+
homepage: "https://numtide.github.io/treefmt-go/"
1212

1313
# A comma-separated list of topics to set on the repository
1414
topics: "cli, formatter, unifies"

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To reformat the whole source tree, just type `treefmt` in any folder. This is a
4848

4949
## Installation
5050

51-
You can install `treefmt` by downloading the binary. Find the binaries for different architectures [here](https://github.com/numtide/treefmt.go/releases).
51+
You can install `treefmt` by downloading the binary. Find the binaries for different architectures [here](https://github.com/numtide/treefmt-go/releases).
5252
Otherwise, you can install the package from source code — either with [Go], or with the help of [nix].
5353

5454
We describe the installation process in detail in the [docs].
@@ -76,7 +76,7 @@ To explore the tool’s flags and options, type:
7676
$ treefmt --help
7777
```
7878

79-
Additionally, there's a wrapper called [`treefmt-nix`](https://github.com/numtide/treefmt.go-nix) for using `treefmt` with [`nix`](https://github.com/NixOS/nix).
79+
Additionally, there's a wrapper called [`treefmt-nix`](https://github.com/numtide/treefmt-go-nix) for using `treefmt` with [`nix`](https://github.com/NixOS/nix).
8080

8181
## Configuration
8282

@@ -108,20 +108,20 @@ Before specifying the formatter in the config, make sure it’s installed.
108108

109109
To find and share existing formatter recipes, take a look at the [docs].
110110

111-
If you are a Nix user, you might also be interested in [treefmt-nix](https://github.com/numtide/treefmt.go-nix) to use Nix to configure and bring in
111+
If you are a Nix user, you might also be interested in [treefmt-nix](https://github.com/numtide/treefmt-go-nix) to use Nix to configure and bring in
112112
formatters.
113113

114114
## Compatibility
115115

116-
`treefmt` works with any formatter that adheres to the [following specification](https://github.com/numtide/treefmt.go/blob/main/docs/formatters-spec.md).
116+
`treefmt` works with any formatter that adheres to the [following specification](https://github.com/numtide/treefmt-go/blob/main/docs/formatters-spec.md).
117117

118118
For instance, you can go for:
119119

120120
- [clang-format] for C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C#
121121
- gofmt for Golang
122122
- Prettier for JavaScript/HTML/CSS
123123

124-
Find the full list of supported formatters [here](https://numtide.github.io/treefmt.go/formatters).
124+
Find the full list of supported formatters [here](https://numtide.github.io/treefmt-go/formatters).
125125

126126
## Upcoming features
127127

@@ -183,7 +183,7 @@ Unless explicitly stated otherwise, any contribution intentionally submitted for
183183
[Rust]: https://www.rust-lang.org/
184184
[Go]: https://go.dev/
185185
[Toml]: https://toml.io/en/
186-
[docs]: https://numtide.github.io/treefmt.go/
186+
[docs]: https://numtide.github.io/treefmt-go/
187187
[nix]: https://github.com/NixOS/nix
188188
[nixpkgs-fmt]: https://github.com/nix-community/nixpkgs-fmt
189189
[clang-format]: https://clang.llvm.org/docs/ClangFormat.html

docs/.vitepress/config.mts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'vitepress'
22

33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
5-
base: '/treefmt.go/',
5+
base: '/treefmt-go/',
66

77
title: "Treefmt",
88
description: "one CLI to format your repo",
@@ -32,11 +32,11 @@ export default defineConfig({
3232
],
3333

3434
socialLinks: [
35-
{ icon: 'github', link: 'https://https://github.com/numtide/treefmt.go' }
35+
{ icon: 'github', link: 'https://https://github.com/numtide/treefmt-go' }
3636
],
3737

3838
footer: {
39-
message: 'Released under the <a href="https://https://github.com/numtide/treefmt.go/src/branch/main/LICENSE.md">MIT License</a>.',
39+
message: 'Released under the <a href="https://https://github.com/numtide/treefmt-go/src/branch/main/LICENSE.md">MIT License</a>.',
4040
copyright: "Copyright © 2024-present Treefmt Contributors"
4141
}
4242
}

docs/contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ The `treefmt` binaries and this user guide are licensed under the [MIT license](
1212

1313
## Before you contribute
1414

15-
Here you can take a look at the [existing issues](https://github.com/numtide/treefmt.go/issues). Feel free to contribute, but make sure you have a
15+
Here you can take a look at the [existing issues](https://github.com/numtide/treefmt-go/issues). Feel free to contribute, but make sure you have a
1616
[GitHub account](https://github.com/join) first :slightly_smiling_face:.
1717

1818
If you're new to open source, please read GitHub's guide on [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/). It's a quick read,
1919
and it's a great way to introduce yourself to how things work behind the scenes in open-source projects.
2020

2121
Before sending a pull request, make sure that you've read all the guidelines. If you don't understand something, please
22-
[state your question clearly in an issue](https://github.com/numtide/treefmt.go/issues/new) or ask the community on the [treefmt matrix server](https://matrix.to/#/#treefmt:numtide.com).
22+
[state your question clearly in an issue](https://github.com/numtide/treefmt-go/issues/new) or ask the community on the [treefmt matrix server](https://matrix.to/#/#treefmt:numtide.com).
2323

2424
## Creating an issue
2525

docs/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ There are two options to install `treefmt`:
1111

1212
## Installing with a binary file
1313

14-
You can find the list of the latest binaries [here](https://github.com/numtide/treefmt.go/releases).
14+
You can find the list of the latest binaries [here](https://github.com/numtide/treefmt-go/releases).
1515

1616
## Building from source
1717

0 commit comments

Comments
 (0)