Skip to content

Commit

Permalink
Deployed bfeb5e9 to master with MkDocs 1.6.0 and mike 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 4, 2024
1 parent c66809c commit 8849009
Show file tree
Hide file tree
Showing 10 changed files with 209 additions and 164 deletions.
132 changes: 71 additions & 61 deletions master/api/index.html

Large diffs are not rendered by default.

20 changes: 14 additions & 6 deletions master/commands/reference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,9 @@ <h1 id="reference">Reference<a class="headerlink" href="#reference" title="Perma
<span class="normal">301</span>
<span class="normal">302</span>
<span class="normal">303</span>
<span class="normal">304</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">class</span> <span class="nc">KToolBoxCli</span><span class="p">:</span>
<span class="normal">304</span>
<span class="normal">305</span>
<span class="normal">306</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">class</span> <span class="nc">KToolBoxCli</span><span class="p">:</span>
<span class="nd">@staticmethod</span>
<span class="k">async</span> <span class="k">def</span> <span class="nf">version</span><span class="p">():</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Show KToolBox version&quot;&quot;&quot;</span>
Expand Down Expand Up @@ -1609,12 +1611,14 @@ <h1 id="reference">Reference<a class="headerlink" href="#reference" title="Perma
<span class="p">)</span>
<span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span>
<span class="n">generate_msg</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;Failed to fetch the name of creator &lt;</span><span class="si">{</span><span class="n">creator_id</span><span class="si">}</span><span class="s2">&gt;, use creator ID as directory name&quot;</span><span class="p">,</span>
<span class="sa">f</span><span class="s2">&quot;Failed to fetch the name of creator &lt;</span><span class="si">{</span><span class="n">creator_id</span><span class="si">}</span><span class="s2">&gt;&quot;</span><span class="p">,</span>
<span class="n">detail</span><span class="o">=</span><span class="n">creator_ret</span><span class="o">.</span><span class="n">message</span>
<span class="p">)</span>
<span class="p">)</span>
<span class="k">return</span> <span class="n">creator_ret</span><span class="o">.</span><span class="n">message</span>

<span class="n">creator_path</span> <span class="o">=</span> <span class="n">path</span> <span class="o">/</span> <span class="n">sanitize_filename</span><span class="p">(</span><span class="n">creator_name</span><span class="p">)</span>

<span class="n">creator_path</span><span class="o">.</span><span class="n">mkdir</span><span class="p">(</span><span class="n">exist_ok</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
Expand Down Expand Up @@ -2659,7 +2663,9 @@ <h2 id="ktoolbox.cli.KToolBoxCli.sync_creator" class="doc doc-heading">
<span class="normal">301</span>
<span class="normal">302</span>
<span class="normal">303</span>
<span class="normal">304</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@staticmethod</span>
<span class="normal">304</span>
<span class="normal">305</span>
<span class="normal">306</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@staticmethod</span>
<span class="k">async</span> <span class="k">def</span> <span class="nf">sync_creator</span><span class="p">(</span>
<span class="n">url</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">service</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
Expand Down Expand Up @@ -2725,12 +2731,14 @@ <h2 id="ktoolbox.cli.KToolBoxCli.sync_creator" class="doc doc-heading">
<span class="p">)</span>
<span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span>
<span class="n">generate_msg</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;Failed to fetch the name of creator &lt;</span><span class="si">{</span><span class="n">creator_id</span><span class="si">}</span><span class="s2">&gt;, use creator ID as directory name&quot;</span><span class="p">,</span>
<span class="sa">f</span><span class="s2">&quot;Failed to fetch the name of creator &lt;</span><span class="si">{</span><span class="n">creator_id</span><span class="si">}</span><span class="s2">&gt;&quot;</span><span class="p">,</span>
<span class="n">detail</span><span class="o">=</span><span class="n">creator_ret</span><span class="o">.</span><span class="n">message</span>
<span class="p">)</span>
<span class="p">)</span>
<span class="k">return</span> <span class="n">creator_ret</span><span class="o">.</span><span class="n">message</span>

<span class="n">creator_path</span> <span class="o">=</span> <span class="n">path</span> <span class="o">/</span> <span class="n">sanitize_filename</span><span class="p">(</span><span class="n">creator_name</span><span class="p">)</span>

<span class="n">creator_path</span><span class="o">.</span><span class="n">mkdir</span><span class="p">(</span><span class="n">exist_ok</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
Expand Down
9 changes: 6 additions & 3 deletions master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1005,11 +1005,14 @@ <h2 id="features">Features<a class="headerlink" href="#features" title="Permanen
</ul>
<h2 id="tutorial">Tutorial<a class="headerlink" href="#tutorial" title="Permanent link">&para;</a></h2>
<h3 id="installation">Installation<a class="headerlink" href="#installation" title="Permanent link">&para;</a></h3>
<div class="tabbed-set tabbed-alternate" data-tabs="1:2"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">Normal</label><label for="__tabbed_1_2">For iOS a-Shell</label></div>
<p>You can use executables from <a href="https://github.com/Ljzd-PRO/KToolBox/releases">releases</a> page</p>
<div class="tabbed-set tabbed-alternate" data-tabs="1:2"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">Manually Install - Normal</label><label for="__tabbed_1_2">Manually Install - For iOS a-Shell</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code>pip3<span class="w"> </span>install<span class="w"> </span>ktoolbox
</code></pre></div>
<p>Recommend to use pipx
<div class="highlight"><pre><span></span><code>pip3<span class="w"> </span>install<span class="w"> </span>pipx
pipx<span class="w"> </span>install<span class="w"> </span>ktoolbox
</code></pre></div></p>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code>pip3<span class="w"> </span>install<span class="w"> </span>ktoolbox-pure-py
Expand Down
Binary file modified master/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion master/search/search_index.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions master/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,154 +2,154 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://ktoolbox.readthedocs.io/master/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/about-kemono/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/about-kemono/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/about-kemono/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/api/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/api/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/api/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/coomer/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/coomer/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/coomer/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/faq/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/faq/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/faq/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/more/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/more/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/more/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/shortcut/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/shortcut/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/shortcut/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/commands/guide/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/commands/guide/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/commands/guide/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/commands/reference/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/commands/reference/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/commands/reference/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/configuration/guide/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/configuration/guide/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/configuration/guide/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/configuration/reference/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master/configuration/reference/"/>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/masterzh/configuration/reference/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/master"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/about-kemono/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/about-kemono/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/masterabout-kemono/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/api/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/api/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/masterapi/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/coomer/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/coomer/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/mastercoomer/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/faq/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/faq/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/masterfaq/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/more/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/more/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/mastermore/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/shortcut/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/shortcut/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/mastershortcut/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/commands/guide/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/commands/guide/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/mastercommands/guide/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/commands/reference/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/commands/reference/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/mastercommands/reference/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/configuration/guide/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/configuration/guide/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/masterconfiguration/guide/"/>
</url>
<url>
<loc>https://ktoolbox.readthedocs.io/master/zh/configuration/reference/</loc>
<lastmod>2024-05-24</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="zh" href="https://ktoolbox.readthedocs.io/master/zh/configuration/reference/"/>
<xhtml:link rel="alternate" hreflang="en" href="https://ktoolbox.readthedocs.io/masterconfiguration/reference/"/>
Expand Down
Binary file modified master/sitemap.xml.gz
Binary file not shown.
Loading

0 comments on commit 8849009

Please sign in to comment.