Skip to content

Commit

Permalink
Deployed 5a85254 to prerelease with MkDocs 1.6.0 and mike 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jj-docs[bot] committed Jul 2, 2024
1 parent b571b60 commit 5553ac1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions prerelease/config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#diff-colors-and-styles" class="md-nav__link">
<span class="md-ellipsis">
Diff colors and styles
</span>
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -1870,6 +1879,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#diff-colors-and-styles" class="md-nav__link">
<span class="md-ellipsis">
Diff colors and styles
</span>
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -2413,6 +2431,14 @@ <h3 id="default-description">Default description<a class="headerlink" href="#def
useful reminder to fill in things like BUG=, TESTED= etc.</p>
<div class="highlight"><pre><span></span><code><span class="n">ui</span><span class="p">.</span><span class="n">default-description</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;</span><span class="se">\n\n</span><span class="s2">TESTED=TODO&quot;</span>
</code></pre></div>
<h3 id="diff-colors-and-styles">Diff colors and styles<a class="headerlink" href="#diff-colors-and-styles" title="Permanent link">&para;</a></h3>
<p>In color-words diffs, hunks are rendered with underline. You can override the
default style with the following keys:</p>
<div class="highlight"><pre><span></span><code><span class="k">[colors]</span>
<span class="c1"># Highlight hunks with background</span>
<span class="s2">&quot;diff removed token&quot;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">bg</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s2">&quot;#221111&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">underline</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="kc">false</span><span class="w"> </span><span class="p">}</span>
<span class="s2">&quot;diff added token&quot;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">bg</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="s2">&quot;#002200&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">underline</span><span class="w"> </span><span class="p">=</span><span class="w"> </span><span class="kc">false</span><span class="w"> </span><span class="p">}</span>
</code></pre></div>
<h3 id="diff-format">Diff format<a class="headerlink" href="#diff-format" title="Permanent link">&para;</a></h3>
<div class="highlight"><pre><span></span><code><span class="c1"># Possible values: &quot;color-words&quot; (default), &quot;git&quot;, &quot;summary&quot;</span>
<span class="n">ui</span><span class="p">.</span><span class="n">diff</span><span class="p">.</span><span class="n">format</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;git&quot;</span>
Expand Down
2 changes: 1 addition & 1 deletion prerelease/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit 5553ac1

Please sign in to comment.