Skip to content

Commit 2988236

Browse files
committed
Deployed 3021be5 to 2025.5.1 with MkDocs 1.6.1 and mike 1.1.2
1 parent d609354 commit 2988236

4 files changed

Lines changed: 297 additions & 5 deletions

File tree

2025.5.1/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

2025.5.1/sitemap.xml.gz

0 Bytes
Binary file not shown.

2025.5.1/user-guide/configuration/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,8 @@ <h2 id="file-or-inline">File or inline</h2>
10571057
<div class="language-HTML highlight"><span class="filename">JSON as the value of the config attribute.</span><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;mpy&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;main.py&quot;</span> <span class="na">config</span><span class="o">=</span><span class="s">&#39;{&quot;packages&quot;:[&quot;arrr&quot;, &quot;numberwang&quot;]}&#39;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>
10581058
</span></code></pre></div>
10591059
<p>For historical and convenience reasons we still support the inline
1060-
specification of configuration information via a <em>single</em> <code>&lt;py-config&gt;</code> or
1061-
<code>&lt;mpy-config&gt;</code> tag in your HTML document:</p>
1060+
specification of configuration information for <code>py</code> and <code>mpy</code> type scripts via a
1061+
<em>single</em> <code>&lt;py-config&gt;</code> or <code>&lt;mpy-config&gt;</code> tag in your HTML document:</p>
10621062
<div class="language-HTML highlight"><span class="filename">Inline configuration via the &lt;py-config&gt; tag.</span><pre><span></span><code><span id="__span-4-1"><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a><span class="p">&lt;</span><span class="nt">py-config</span><span class="p">&gt;</span>
10631063
</span><span id="__span-4-2"><a id="__codelineno-4-2" name="__codelineno-4-2" href="#__codelineno-4-2"></a>{
10641064
</span><span id="__span-4-3"><a id="__codelineno-4-3" name="__codelineno-4-3" href="#__codelineno-4-3"></a> &quot;packages&quot;: [&quot;arrr&quot;, &quot;numberwang&quot; ]
@@ -1069,6 +1069,9 @@ <h2 id="file-or-inline">File or inline</h2>
10691069
<p class="admonition-title">Warning</p>
10701070
<p>Should you use <code>&lt;py-config&gt;</code> or <code>&lt;mpy-config&gt;</code>, <strong>there must be only one of
10711071
these tags on the page per interpreter</strong>.</p>
1072+
<p>Additionally, <code>&lt;py-config&gt;</code> only works for <code>py</code>/<code>mpy</code> type scripts and is not used
1073+
with <a href="../pygame-ce"><code>py-game</code></a> or <a href="../editor"><code>py-editor</code></a>. For these use the config
1074+
attribute method.</p>
10721075
</div>
10731076
<h2 id="options">Options</h2>
10741077
<p>There are five core options (<a href="#interpreter"><code>interpreter</code></a>, <a href="#files"><code>files</code></a>,

0 commit comments

Comments
 (0)