mirror of
https://github.com/biomejs/biome.git
synced 2025-12-23 08:21:13 +00:00
docs: fixed path to crates, updated link to translating doc (#2538)
This commit is contained in:
parent
5df87816dc
commit
73416772b4
2 changed files with 3 additions and 14 deletions
|
|
@ -121,7 +121,7 @@ cargo t
|
|||
You can run **a single test** with cargo by passing the test name after the `test` command:
|
||||
|
||||
```shell
|
||||
cd crate/biome_js_formatter
|
||||
cd crates/biome_js_formatter
|
||||
|
||||
cargo t quick_test
|
||||
```
|
||||
|
|
@ -203,8 +203,7 @@ things you would need to run and check:
|
|||
- `just l` (alias for `just lint`), run the linter for the whole project.
|
||||
- Code generation. The code generation of the repository is spread in the different parts of the code base. Sometimes is needed and sometime it isn't:
|
||||
- run `just gen-lint` when you're working on the **linter**;
|
||||
- run `just gen-bindings` in case you worked around the **workspace**;
|
||||
- run `just gen-web` when you update the `CHANGELOG.md`.
|
||||
- run `just gen-bindings` in case you worked around the **workspace**.
|
||||
|
||||
> [!NOTE]
|
||||
> You can run `just ready` as well, although it's a command that runs the codegen of the whole repository, which will take some time
|
||||
|
|
@ -261,7 +260,7 @@ The tests are run against the compiled files, which means that you need to run t
|
|||
|
||||
### Translations
|
||||
|
||||
For more information on how to help with translation, please see the [translation contribution guidelines for our docs](./website/TRANSLATIONS.md).
|
||||
For more information on how to help with translation, please see the [translation contribution guidelines for our docs](https://github.com/biomejs/website/blob/main/TRANSLATIONS.md).
|
||||
|
||||
## Commit messages
|
||||
|
||||
|
|
@ -344,12 +343,6 @@ Make sure that the created subsections are ordered in the following order:
|
|||
#### Bug fixes
|
||||
```
|
||||
|
||||
Because the website displays the changelog, you should update the website using the following command:
|
||||
|
||||
```sh
|
||||
just gen-web
|
||||
```
|
||||
|
||||
#### Writing a changelog line
|
||||
|
||||
- Use the present tense, e.g. "Add new feature", "Fix edge case".
|
||||
|
|
|
|||
4
justfile
4
justfile
|
|
@ -39,10 +39,6 @@ gen-lint:
|
|||
just gen-bindings
|
||||
just format
|
||||
|
||||
# Generates code generated files for the website
|
||||
gen-web:
|
||||
cargo codegen-website
|
||||
|
||||
# Generates the initial files for all formatter crates
|
||||
gen-formatter:
|
||||
cargo run -p xtask_codegen -- formatter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue