11.stylix/doc/src
Matt Sturgeon 0449dae6d4
stylix: allow specifying autoEnableExpr in mkEnableTargetWith
This allows correctly documenting dynamic enable conditions.

E.g:
```nix
    enable = mkEnableTargetWith {
      name = "QT";
      autoEnable = pkgs.stdenv.hostPlatform.isLinux;
      autoEnableExpr = "pkgs.stdenv.hostPlatform.isLinux";
    };
```

`autoEnableExpr` will be wrapped in parentheses if it contains a nix
operator with lower precedence than `&&`.

Added a note in the docs mentioning `mkEnableTarget` should either have
a static `autoEnable` or specify `autoEnableExpr`.
2025-06-04 15:48:13 +01:00
..
options/platforms doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
commit_convention.md doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
configuration.md doc: add redirect for 'Standalone Nixvim' 2025-05-27 11:05:00 -07:00
development_environment.md doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
installation.md doc: recommend 25.05 as stable version (#1320) 2025-05-23 12:29:21 -07:00
modules.md stylix: allow specifying autoEnableExpr in mkEnableTargetWith 2025-06-04 15:48:13 +01:00
styling.md doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
SUMMARY.md doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
testbed_gnome_default_dark.png doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
testbeds.md stylix: reduce testbed names (#1094) 2025-05-26 18:23:38 +02:00
tricks.md doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00