mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
Updated HTML docs
This commit is contained in:
parent
1bbc93507a
commit
8c5212d5ff
409 changed files with 17441 additions and 15857 deletions
|
|
@ -40,6 +40,10 @@
|
|||
|
||||
<section id="module-evennia.web.utils.general_context">
|
||||
<span id="evennia-web-utils-general-context"></span><h1>evennia.web.utils.general_context<a class="headerlink" href="#module-evennia.web.utils.general_context" title="Permalink to this headline">¶</a></h1>
|
||||
<p>This file defines global variables that will always be available in a view
|
||||
context without having to repeatedly include it.</p>
|
||||
<p>For this to work, this file is included in the settings file, in the
|
||||
TEMPLATES[“OPTIONS”][“context_processors”] list.</p>
|
||||
<dl class="py function">
|
||||
<dt id="evennia.web.utils.general_context.set_game_name_and_slogan">
|
||||
<code class="sig-prename descclassname">evennia.web.utils.general_context.</code><code class="sig-name descname">set_game_name_and_slogan</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/web/utils/general_context.html#set_game_name_and_slogan"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.web.utils.general_context.set_game_name_and_slogan" title="Permalink to this definition">¶</a></dt>
|
||||
|
|
@ -61,8 +65,8 @@ to webclient settings.</p>
|
|||
<dl class="py function">
|
||||
<dt id="evennia.web.utils.general_context.general_context">
|
||||
<code class="sig-prename descclassname">evennia.web.utils.general_context.</code><code class="sig-name descname">general_context</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">request</span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/web/utils/general_context.html#general_context"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.web.utils.general_context.general_context" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Returns common Evennia-related context stuff, which
|
||||
is automatically added to context of all views.</p>
|
||||
<dd><p>Returns common Evennia-related context stuff, which is automatically added
|
||||
to context of all views.</p>
|
||||
</dd></dl>
|
||||
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue