Commit graph

13 commits

Author SHA1 Message Date
NAHO
2e2e96f6b0
treewide: remove blank lines around 'let', 'in', and function arguments (#1700)
Link: https://github.com/nix-community/stylix/pull/1700

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-19 10:41:36 -07:00
Matt Sturgeon
edcecc02e6
doc: remove redundant option-location filtering (#1215) 2025-06-24 15:40:06 +01:00
Matt Sturgeon
100b968012 doc: ensure config is not used in option docs
With a few exceptions for `lib.stylix` functions.

Once these exceptions are removed, we will have solved the issue with
NixOS's documentation.nixos.includeAllModules option.

See https://github.com/nix-community/stylix/issues/98
2025-06-21 20:25:14 -07:00
Matt Sturgeon
e1ae98f979 doc: ensure pkgs is not used in option docs
Providing a stub `pkgs` instance that has no contents ensures the docs
does not _read_ `pkgs` anywhere.
2025-06-21 20:25:14 -07:00
Matt Sturgeon
07af242a44 doc: replace inputs input with self
The docs no longer needs access to arbitrary flake inputs. We should
enforce this strictly by taking `self` instead.
2025-06-21 20:25:14 -07:00
Matt Sturgeon
bdf092d169 doc: use minimal module evals
We don't actually need fully blown NixOS or home-manager configurations
just to read the declared `options`.

Instead, we can directly call `lib.evalModules` to build a minimal
configuration containing only stylix modules.
2025-06-21 20:25:14 -07: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
NAHO
343938594e
doc: remove redundant documentation dummy values (#1318)
Link: https://github.com/nix-community/stylix/pull/1318

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-06-13 00:39:51 +02:00
Matt Sturgeon
03748a36d5
stylix: drop unnecessary use of self in meta.nix 2025-05-28 19:32:15 +01:00
Matt Sturgeon
eaa38e0591
doc: drop unnecessary use of self 2025-05-28 19:10:42 +01: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
awwpotato
4830942fa2
treewide: remove unnecessary builtins prefix (#1322) 2025-05-21 08:51:24 +01:00
awwpotato
fb9c22056f
doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01:00
Renamed from docs/default.nix (Browse further)