chore: move docgen comment to markdown file
This commit is contained in:
parent
51be18d517
commit
dd51a7ab58
3 changed files with 29 additions and 26 deletions
|
|
@ -16,8 +16,7 @@ stdenvNoCC.mkDerivation {
|
|||
excluded = [
|
||||
".*flake\\.nix$"
|
||||
|
||||
"docs/docgen.nix"
|
||||
"docs/server.nix"
|
||||
"^docs/.*"
|
||||
];
|
||||
|
||||
shouldExclude = relPath: lib.any (pattern: builtins.match pattern relPath != null) excluded;
|
||||
|
|
@ -93,7 +92,13 @@ stdenvNoCC.mkDerivation {
|
|||
|
||||
summaryContent =
|
||||
"# Summary\n\n"
|
||||
+ "[Introduction](README.md)\n"
|
||||
+ ''
|
||||
[Introduction](README.md)
|
||||
|
||||
- [Features]()
|
||||
- [Documentation generation](docGen.md)
|
||||
|
||||
''
|
||||
+ builtins.concatStringsSep "\n" (map (c: c.summaryLine) chapters)
|
||||
+ "\n";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue