doc/packages: add treefmt section

This commit is contained in:
Matt Sturgeon 2025-05-13 07:14:16 +01:00 committed by Valentin Gagarin
parent e385267e4a
commit fe586a5d59
3 changed files with 12 additions and 0 deletions

View file

@ -25,6 +25,7 @@ nginx.section.md
opengl.section.md
shell-helpers.section.md
python-tree-sitter.section.md
treefmt.section.md
steam.section.md
cataclysm-dda.section.md
urxvt.section.md

View file

@ -0,0 +1,8 @@
# treefmt {#treefmt}
[treefmt](https://github.com/numtide/treefmt) streamlines the process of applying formatters to your project, making it a breeze with just one command line.
The [`treefmt` package](https://search.nixos.org/packages?channel=unstable&show=treefmt)
provides functions for configuring treefmt using the module system.
Alternatively, treefmt can be configured using [treefmt-nix](https://github.com/numtide/treefmt-nix).

View file

@ -483,6 +483,9 @@
"tester-testEqualArrayOrMap-return": [
"index.html#tester-testEqualArrayOrMap-return"
],
"treefmt": [
"index.html#treefmt"
],
"typst": [
"index.html#typst",
"doc/languages-frameworks/typst.section.md#typst"