Skip to content

Commit

Permalink
fix doc from toolkit.nu
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Dec 15, 2023
1 parent 27d15d8 commit f274443
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ def document-module [
}

export def doc [--documentation-dir: path = "./docs/"] {
let modules = open package.nuon | get modules
let modules = ls pkgs/**/package.nuon
| insert pkg {|it| open $it.name | get name }
| each {|it| $it.name | path dirname | path join $it.pkg }

let documentation_dir = $documentation_dir | path expand

Expand Down

0 comments on commit f274443

Please sign in to comment.