Skip to content

Commit

Permalink
Deployed 405371c with MkDocs version: 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dlchamp committed Sep 4, 2023
1 parent 950246f commit e9111da
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions reference/helply/utils/embeds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ <h2 id="helply.utils.embeds.command_detail_embed" class="doc doc-heading">


<h2 id="helply.utils.embeds.commands_overview_embeds" class="doc doc-heading">
<code class="highlight language-python"><span class="n">commands_overview_embeds</span><span class="p">(</span><span class="n">commands</span><span class="p">,</span> <span class="o">*</span><span class="p">,</span> <span class="n">thumbnail</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">max_field_chars</span><span class="o">=</span><span class="n">MAX_CHARS_PER_FIELD</span><span class="p">,</span> <span class="n">max_fields</span><span class="o">=</span><span class="n">MAX_FIELDS_PER_EMBED</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span></code>
<code class="highlight language-python"><span class="n">commands_overview_embeds</span><span class="p">(</span><span class="n">commands</span><span class="p">,</span> <span class="o">*</span><span class="p">,</span> <span class="n">thumbnail</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">max_field_chars</span><span class="o">=</span><span class="n">MAX_CHARS_PER_FIELD</span><span class="p">,</span> <span class="n">max_fields</span><span class="o">=</span><span class="n">MAX_FIELDS_PER_EMBED</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">category</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">)</span></code>

</h2>

Expand Down Expand Up @@ -1546,13 +1546,19 @@ <h2 id="helply.utils.embeds.commands_overview_embeds" class="doc doc-heading">
<span class="normal">196</span>
<span class="normal">197</span>
<span class="normal">198</span>
<span class="normal">199</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">commands_overview_embeds</span><span class="p">(</span>
<span class="normal">199</span>
<span class="normal">200</span>
<span class="normal">201</span>
<span class="normal">202</span>
<span class="normal">203</span>
<span class="normal">204</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">commands_overview_embeds</span><span class="p">(</span>
<span class="n">commands</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="n">AppCommand</span><span class="p">],</span>
<span class="o">*</span><span class="p">,</span>
<span class="n">thumbnail</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">disnake</span><span class="o">.</span><span class="n">File</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">max_field_chars</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="n">MAX_CHARS_PER_FIELD</span><span class="p">,</span>
<span class="n">max_fields</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="n">MAX_FIELDS_PER_EMBED</span><span class="p">,</span>
<span class="n">color</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">disnake</span><span class="o">.</span><span class="n">Color</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">category</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">disnake</span><span class="o">.</span><span class="n">Embed</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Create and return one or more embeds containing all commands and descriptions.</span>

Expand Down Expand Up @@ -1615,7 +1621,11 @@ <h2 id="helply.utils.embeds.commands_overview_embeds" class="doc doc-heading">
<span class="p">)</span>

<span class="k">if</span> <span class="n">current_embed</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">title</span> <span class="o">=</span> <span class="s2">&quot;Commands Overview&quot;</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">embeds</span> <span class="k">else</span> <span class="s2">&quot;Commands Overview (continued)&quot;</span>
<span class="n">title</span> <span class="o">=</span> <span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">category</span><span class="si">}</span><span class="s2"> Commands Overview&quot;</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">embeds</span>
<span class="k">else</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">category</span><span class="si">}</span><span class="s2"> Commands Overview (continued)&quot;</span>
<span class="p">)</span>
<span class="n">current_embed</span> <span class="o">=</span> <span class="n">_create_base_embed</span><span class="p">(</span><span class="n">title</span><span class="p">,</span> <span class="n">color</span><span class="p">,</span> <span class="n">thumbnail</span><span class="p">)</span>
<span class="n">current_field_chars</span> <span class="o">=</span> <span class="mi">0</span>

Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit e9111da

Please sign in to comment.