File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2010,6 +2010,11 @@ <h3 id="template-variables">Template variables<a class="headerlink" href="#templ
20102010< td > The commit < code > sha1</ code > </ td >
20112011</ tr >
20122012< tr >
2013+ < td > parents</ td >
2014+ < td > < code > list[str]</ code > </ td >
2015+ < td > The parent commit(s) < code > sha1</ code > (s)</ td >
2016+ </ tr >
2017+ < tr >
20132018< td > author</ td >
20142019< td > < code > str</ code > </ td >
20152020< td > The commit author name</ td >
@@ -2025,6 +2030,8 @@ <h3 id="template-variables">Template variables<a class="headerlink" href="#templ
20252030< p class ="admonition-title "> Note</ p >
20262031< p > The field values depend on the customization class and/or the settings you provide</ p >
20272032</ div >
2033+ < p > The < code > parents</ code > field can be used to identify merge commits and generate a changelog based on those. Another use case
2034+ is listing commits that belong to the same pull request.</ p >
20282035< p > When using another template (either provided by a plugin or by yourself), you can also pass extra template variables
20292036by:</ p >
20302037< ul >
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments