mirror of
https://github.com/bkryza/clang-uml.git
synced 2025-04-20 14:33:48 +08:00
Documentation fix (#226)
This commit is contained in:
parent
66dcf1ed5d
commit
79971d67e8
@ -17,7 +17,11 @@ elements simply add this to your `.clang-uml` file:
|
||||
```yaml
|
||||
generate_links:
|
||||
link: 'https://github.com/myorg/myrepo/blob/{{ git.commit }}/{{ element.source.path }}#L{{ element.source.line }}'
|
||||
tooltip: '{% if "comment" in element %}{{ abbrv(trim(replace(element.comment, "\n+", " ")), 256) }}{% else %}{{ element.name }}{% endif %}'
|
||||
tooltip: '{% if "comment" in element %}{{ abbrv(trim(replace(element.comment.formatted, "\n+", " ")), 256) }}{% else %}{{ element.name }}{% endif %}'
|
||||
```
|
||||
|
||||
You can open example diagram [here](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t00014_class.svg) to see how it works in action.
|
||||
You can open example diagram [here](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t00014_class.svg) to see how it works in action.
|
||||
|
||||
Full documentation on how to use the [inja](https://github.com/pantor/inja)
|
||||
template engine in `clang-uml` configuration files can be found
|
||||
[here](./jinja_templates.md).
|
||||
|
Loading…
x
Reference in New Issue
Block a user