Commit graph

16 commits

Author SHA1 Message Date
awwpotato
79e816c2e6
doc: add missing module args (#1534) 2025-06-24 15:15:46 +01:00
pancho horrillo
8c1421ae02
stylix: honour recent docs to doc renames (#1493)
Link: https://github.com/nix-community/stylix/pull/1493

Co-authored-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-19 23:38:08 +02:00
Matt Sturgeon
77a8b26520
doc: update docs on building docs (#1499) 2025-06-14 13:53:07 +01:00
Shahar "Dawn" Or
c79ad48561
doc: add link checking and fix broken links (#1478)
Closes: https://github.com/nix-community/stylix/issues/1474
Link: https://github.com/nix-community/stylix/pull/1478

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-13 16:26:32 +02:00
Shahar "Dawn" Or
6d72fc259b
fontconfig: align Home Manager with NixOS and enhance docs (#1292)
BREAKING CHANGE: The fontconfig target no longer enables Home Manager's
fonts.fontconfig.enable option and now sets Home Manager's
fonts.fontconfig.defaultFonts option instead.

Link: https://github.com/nix-community/stylix/pull/1292

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-10 19:28:41 +02:00
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
Matt Sturgeon
82d9424fff
doc: init server; nix run .#docs (#1328)
Adds:

- `serve-docs` to the default devShell
- `packages.serve-docs`
- `apps.docs`

Having `apps.docs` defined causes `nix run .#docs` to run the "app"
instead of `packages.docs`. `nix build .#docs` will still build the
"package", not the "app".

The `serve-docs` script added to the devShell runs `nix run .#docs`
instead of having `packages.serve-docs` in its closure. This avoids the
devShell actually building the docs.

Added a note to `doc/src/modules.md`.

Link: https://github.com/nix-community/stylix/pull/1328

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 19:01:51 +02:00
Matt Sturgeon
19e48021e3 doc: add redirect for 'Standalone Nixvim'
Follow up to #1219
2025-05-27 11:05:00 -07:00
NAHO
1fdbf01ebe
stylix: reduce testbed names (#1094)
Link: https://github.com/nix-community/stylix/pull/1094

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 18:23:38 +02:00
Flameopathic
225b2ddbba
doc: explain testbed options (#1383)
Link: https://github.com/nix-community/stylix/pull/1383

Reviewed-by: Mateus Auler <mateus@auler.dev>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 14:54:39 +02:00
Matt Sturgeon
e22f96de3f
doc: update documentation to reflect #1083 (#1329)
Link: https://github.com/nix-community/stylix/pull/1329

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-25 15:55:24 -07:00
Flameopathic
2b7ff59d81 stylix: reduce testbed names 2025-05-24 08:53:58 -04:00
awwpotato
34b5930894
doc: recommend 25.05 as stable version (#1320) 2025-05-23 12:29:21 -07:00
awwpotato
3e447578ef
doc: give consistant input version and follows instructions (#1271)
Link: https://github.com/nix-community/stylix/pull/1271

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-22 21:03:45 +02:00
Flameopathic
c4fa684471 stylix: add mkTarget function
Add the mkTarget function, providing a consistent target interface to minimize boilerplate
and automatically safeguard declarations related to disabled options.

The mkTarget function was first discussed in [1] ("extensive mkTarget
function").

[1]: https://github.com/danth/stylix/discussions/1009
2025-05-21 09:39:49 -04:00
awwpotato
fb9c22056f
doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00