Skip to content

Commit scope templating

Latest
Compare
Choose a tag to compare
@JeanMertz JeanMertz released this 16 Aug 23:00
· 2 commits to master since this release
v0.4.0
dab95b0

You can use the scope template function to print the scope of a
commit.

A scopeheader filter exists to use custom scope names. Use the
scope_headers config flag as such:

<!--
Config(
  scope_headers: {
      "ui": "User Interface",
  }
)
-->

This feature is similar to the already existing type function.

See the default template file for an example of the
type feature, which should give you an idea on how to use scope and
its configurables.