doc: Render declarations without the deferredModule indirection

deferredModule sets a fake `file` with "via option ...", which
interferes with rendering on flake.parts.
This commit is contained in:
Robert Hensing 2025-10-27 14:59:29 +01:00
parent db84b15d8f
commit ae7709def8

View file

@ -30,6 +30,7 @@
...
}:
{
_file = ./flake.nix;
options.perSystem = flake-parts-lib.mkPerSystemOption (
{ config, pkgs, ... }:
let
@ -115,6 +116,7 @@
# Consumer toplevel
{ options, config, ... }:
{
_file = ./flake.nix;
imports = [ flake-parts-modules.basic ];
config.perSystem =
# Consumer perSystem