Deployed a7bff04 to prerelease with MkDocs 1.6.0 and mike 2.1.1

This commit is contained in:
jj-docs[bot] 2024-06-14 14:12:02 +00:00
parent fbf7ec6958
commit 18cb92a35d
3 changed files with 6 additions and 1 deletions

View File

@ -1649,9 +1649,12 @@ It will <em>not</em> match <code>foobar</code> or <code>bar/foo</code>.</p>
<h2 id="aliases">Aliases<a class="headerlink" href="#aliases" title="Permanent link">&para;</a></h2>
<p>New symbols and functions can be defined in the config file, by using any
combination of the predefined symbols/functions and other aliases.</p>
<p>Alias functions can be overloaded by the number of parameters. However, builtin
function will be shadowed by name, and can't co-exist with aliases.</p>
<p>For example:</p>
<div class="highlight"><pre><span></span><code><span class="k">[revset-aliases]</span>
<span class="s1">&#39;HEAD&#39;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;@-&#39;</span>
<span class="s1">&#39;user()&#39;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;</span><span class="err">user(&quot;me@example.org&quot;)</span>
<span class="s1">&#39;user(x)&#39;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;author(x) | committer(x)&#39;</span>
</code></pre></div>
<h3 id="built-in-aliases">Built-in Aliases<a class="headerlink" href="#built-in-aliases" title="Permanent link">&para;</a></h3>

File diff suppressed because one or more lines are too long

View File

@ -1981,6 +1981,8 @@ can be seen in the <code>cli/src/config/templates.toml</code> file in jj's sourc
<p>New keywords and functions can be defined as aliases, by using any
combination of the predefined keywords/functions and other aliases.</p>
<p>Alias functions can be overloaded by the number of parameters. However, builtin
function will be shadowed by name, and can't co-exist with aliases.</p>
<p>For example:</p>
<div class="highlight"><pre><span></span><code><span class="k">[template-aliases]</span>
<span class="s1">&#39;commit_change_ids&#39;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;&#39;&#39;</span>