mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-23 16:11:11 +00:00
Deployed 9872427 to prerelease with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
0dbf5162c1
commit
ac24e95f97
@ -6769,7 +6769,7 @@ Martin von Zweigbergk</p>
|
||||
<p>The following keywords are defined:</p>
|
||||
<ul>
|
||||
<li><code>name: String</code>: Config name.</li>
|
||||
<li><code>value: String</code>: Serialized value in TOML syntax.</li>
|
||||
<li><code>value: ConfigValue</code>: Value to be formatted in TOML syntax.</li>
|
||||
<li><code>overridden: Boolean</code>: True if the value is shadowed by other.</li>
|
||||
</ul>
|
||||
<p>For the syntax, see https://jj-vcs.github.io/jj/latest/templates/</p>
|
||||
|
File diff suppressed because one or more lines are too long
@ -847,6 +847,15 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#configvalue-type" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
ConfigValue type
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@ -1734,6 +1743,15 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#configvalue-type" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
ConfigValue type
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@ -2008,6 +2026,7 @@ type</a> are available as keywords. For example,
|
||||
Insert separator between <strong>non-empty</strong> contents.</li>
|
||||
<li><code>surround(prefix: Template, suffix: Template, content: Template) -> Template</code>:
|
||||
Surround <strong>non-empty</strong> content with texts such as parentheses.</li>
|
||||
<li><code>config(name: String) -> ConfigValue</code>: Look up configuration value by <code>name</code>.</li>
|
||||
</ul>
|
||||
<h2 id="types">Types<a class="headerlink" href="#types" title="Permanent link">¶</a></h2>
|
||||
<h3 id="boolean-type">Boolean type<a class="headerlink" href="#boolean-type" title="Permanent link">¶</a></h3>
|
||||
@ -2057,6 +2076,15 @@ type</a> are available as keywords. For example,
|
||||
<li><code>.short([len: Integer]) -> String</code></li>
|
||||
<li><code>.shortest([min_len: Integer]) -> ShortestIdPrefix</code>: Shortest unique prefix.</li>
|
||||
</ul>
|
||||
<h3 id="configvalue-type">ConfigValue type<a class="headerlink" href="#configvalue-type" title="Permanent link">¶</a></h3>
|
||||
<p>This type can be printed in TOML syntax. The following methods are defined.</p>
|
||||
<ul>
|
||||
<li><code>.as_boolean() -> Boolean</code>: Extract boolean.</li>
|
||||
<li><code>.as_integer() -> Integer</code>: Extract integer.</li>
|
||||
<li><code>.as_string() -> String</code>: Extract string. This does not convert non-string
|
||||
value (e.g. integer) to string.</li>
|
||||
<li><code>.as_string_list() -> List<String></code>: Extract list of strings.</li>
|
||||
</ul>
|
||||
<h3 id="cryptographicsignature-type">CryptographicSignature type<a class="headerlink" href="#cryptographicsignature-type" title="Permanent link">¶</a></h3>
|
||||
<p>The following methods are defined.</p>
|
||||
<ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user