Skip to content

Commit

Permalink
add options link to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jedimahdi committed Feb 7, 2024
1 parent da8330f commit 717f5a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ Fourmolu wrapper will be accessible via `config.fourmolu.wrapper`.

Note: `fourmolu-nix` will automatically set the wrapper package for `treefmt-nix`
fourmolu program.

## Configuration

See [options](https://jedimahdi.github.io/fourmolu-nix/options.html) for the full list of configs.
2 changes: 1 addition & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pkgs.stdenvNoCC.mkDerivation {
# The "declared by" links point to a file which only exists when the docs
# are built locally. This removes the links.
sed '/*Declared by:*/,/^$/d' <${fourmolu.optionsCommonMark} >>src/fourmolu.md
sed '/*Declared by:*/,/^$/d' <${fourmolu.optionsCommonMark} >>src/options.md
'';

buildPhase = ''
Expand Down
2 changes: 1 addition & 1 deletion docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[Introduction](README.md)
[Options](fourmolu.md)
[Options](options.md)
File renamed without changes.

0 comments on commit 717f5a9

Please sign in to comment.