Skip to content

Commit 3828aaf

Browse files
committedMar 12, 2025
feat(docs): rename content directory to site
Signed-off-by: Brian McGee <[email protected]>
1 parent 5861604 commit 3828aaf

File tree

18 files changed

+11
-9
lines changed

18 files changed

+11
-9
lines changed
 

‎.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@ repl-result-*
1212
# devshell
1313
/.data
1414

15-
# docs
16-
site
17-
1815
# goreleaser
1916
dist/

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# treefmt
44

5-
<img src="docs/content/assets/images/logo.svg" height="150"/>
5+
<img src="docs/site/assets/images/logo.svg" height="150"/>
66

77
**The formatter multiplexer**
88

@@ -35,7 +35,7 @@ That's what treefmt is about.
3535

3636
`treefmt` runs all your formatters with one command. It’s easy to configure and fast to execute.
3737

38-
![Treefmt Init](./docs/content/assets/images/init.gif)
38+
![Treefmt Init](docs/site/assets/images/init.gif)
3939

4040
Its main features are:
4141

@@ -152,7 +152,7 @@ This project is still pretty new. Down the line we also want to add support for:
152152

153153
## Contributing
154154

155-
All contributions are welcome! We try to keep the project simple and focused. Please refer to the [Contributing](./docs/content/contributing/code.md)
155+
All contributions are welcome! We try to keep the project simple and focused. Please refer to the [Contributing](docs/site/contributing/code.md)
156156
guidelines for more information.
157157

158158
## Commercial support

‎docs/mkdocs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ validation:
2020

2121
# Configuration
2222

23-
docs_dir: content
23+
docs_dir: site
24+
site_dir: out
2425

2526
theme:
2627
name: material
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎nix/packages/docs.nix

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
{pkgs, perSystem, ...}:
1+
{
2+
pkgs,
3+
perSystem,
4+
...
5+
}:
26
pkgs.stdenvNoCC.mkDerivation {
37
name = "docs";
48

@@ -33,6 +37,6 @@ pkgs.stdenvNoCC.mkDerivation {
3337
'';
3438

3539
installPhase = ''
36-
mv site $out
40+
mv out $out
3741
'';
3842
}

0 commit comments

Comments
 (0)
Please sign in to comment.