Skip to content

Commit

Permalink
docs: document source_code_link_template
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Oct 27, 2024
1 parent 62f07e2 commit c408dad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/spec/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ long_about "longer help"
after_long_help "after about"
example "mycli --help"

# render a link to the source code in markdown docs
source_code_link_template "https://github.com/me/myproj/blob/main/src/cli/{{path}}.rs"

include "./my_overrides.usage.kdl" # include another spec, will be merged and override existing values
```

0 comments on commit c408dad

Please sign in to comment.