docs: use manifest.readme instead of path manipulation

This commit is contained in:
Michael Hoang
2025-09-16 15:46:11 +02:00
parent 479d7d536e
commit 69b0c36381

View File

@@ -40,8 +40,6 @@
prefix = [ ];
}).config.manifest;
loadFile = file: if builtins.pathExists file then builtins.readFile file else "";
settingsModules = module: mapAttrs (_roleName: roleConfig: roleConfig.interface) (getRoles module);
# Map each letter to its capitalized version
@@ -97,7 +95,7 @@
**${manifest.description}**
${loadFile (module._file + "/../README.md")}
${lib.optionalString (manifest ? readme) manifest.readme}
${
if manifest.categories != [ ] then