Skip to content

Commit

Permalink
docs: copy readme to fix broken link in rendered book
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliButz committed Sep 2, 2024
1 parent 1c1e415 commit 6d7f478
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
book
src/README.md
1 change: 1 addition & 0 deletions docs/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
nativeBuildInputs = [ pkgs.mdbook ];
patchPhase = ''
cat ${inputs.self.packages.x86_64-linux.optionsManualMD} > docs/src/configuration-options.md
cp README.md docs/src
'';
buildPhase = ''
cd docs
Expand Down
2 changes: 1 addition & 1 deletion docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Summary

[Preservation](../../README.md)
[Preservation](./README.md)
- [Configuration Options](./configuration-options.md)
- [Examples](./examples.md)
- [Impermanence](./impermanence.md)
Expand Down

0 comments on commit 6d7f478

Please sign in to comment.