Deployed 589e802 to dev with MkDocs 1.6.1 and mike 2.1.3

This commit is contained in:
github-actions 2024-09-06 06:25:47 +00:00
parent ebc0d282c8
commit 8e79b74635
5 changed files with 43 additions and 43 deletions

View file

@ -23,7 +23,7 @@ While <span class=sb>`django_components.shorthand_component_formatter`</span> al
<a id=__codelineno-3-5 name=__codelineno-3-5 href=#__codelineno-3-5></a><span class=p>]</span>
</code></pre></div> <p>If you are on an older version of django-components, your alternatives are a) passing <code>--ignore &lt;pattern&gt;</code> options to the <em>collecstatic</em> CLI command, or b) defining a subclass of StaticFilesConfig. Both routes are described in the official <a href=https://docs.djangoproject.com/en/4.2/ref/contrib/staticfiles/#customizing-the-ignored-pattern-list>docs of the <em>staticfiles</em> app</a>.</p> <p>Note that <code>safer_staticfiles</code> excludes the <code>.py</code> and <code>.html</code> files for <a href=https://docs.djangoproject.com/en/5.0/ref/contrib/staticfiles/#collectstatic>collectstatic command</a>:</p> <div class=highlight><pre><span></span><code><a id=__codelineno-4-1 name=__codelineno-4-1 href=#__codelineno-4-1></a>python<span class=w> </span>manage.py<span class=w> </span>collectstatic
</code></pre></div> <p>but it is ignored on the <a href=https://docs.djangoproject.com/en/5.0/ref/django-admin/#runserver>development server</a>:</p> <div class=highlight><pre><span></span><code><a id=__codelineno-5-1 name=__codelineno-5-1 href=#__codelineno-5-1></a>python<span class=w> </span>manage.py<span class=w> </span>runserver
</code></pre></div> <p>For a step-by-step guide on deploying production server with static files, <a href=./sampleproject/README.md>see the demo project</a>.</p> <p>Optional</p> <p>To avoid loading the app in each template using <code>{% load component_tags %}</code>, you can add the tag as a 'builtin' in settings.py</p> <div class=highlight><pre><span></span><code><a id=__codelineno-6-1 name=__codelineno-6-1 href=#__codelineno-6-1></a><span class=n>TEMPLATES</span> <span class=o>=</span> <span class=p>[</span>
</code></pre></div> <p>For a step-by-step guide on deploying production server with static files, <a href=https://github.com/EmilStenstrom/django-components/tree/master/sampleproject>see the demo project</a>.</p> <p>Optional</p> <p>To avoid loading the app in each template using <code>{% load component_tags %}</code>, you can add the tag as a 'builtin' in settings.py</p> <div class=highlight><pre><span></span><code><a id=__codelineno-6-1 name=__codelineno-6-1 href=#__codelineno-6-1></a><span class=n>TEMPLATES</span> <span class=o>=</span> <span class=p>[</span>
<a id=__codelineno-6-2 name=__codelineno-6-2 href=#__codelineno-6-2></a> <span class=p>{</span>
<a id=__codelineno-6-3 name=__codelineno-6-3 href=#__codelineno-6-3></a> <span class=o>...</span><span class=p>,</span>
<a id=__codelineno-6-4 name=__codelineno-6-4 href=#__codelineno-6-4></a> <span class=s1>&#39;OPTIONS&#39;</span><span class=p>:</span> <span class=p>{</span>

File diff suppressed because one or more lines are too long

View file

@ -2,158 +2,158 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/CHANGELOG/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/CODE_OF_CONDUCT/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/SUMMARY/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/license/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/slot_rendering/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/slots_and_blocks/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/SUMMARY/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/app_settings/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/apps/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/attributes/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/autodiscover/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/component/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/component_media/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/component_registry/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/components/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/components/dynamic/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/context/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/expression/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/library/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/logger/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/management/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/management/commands/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/management/commands/startcomponent/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/management/commands/upgradecomponent/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/middleware/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/node/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/provide/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/safer_staticfiles/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/safer_staticfiles/apps/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/slots/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/tag_formatter/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/template_loader/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/template_parser/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/templatetags/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/templatetags/component_tags/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/types/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
<url>
<loc>https://emilstenstrom.github.io/django-components/latest/reference/django_components/utils/</loc>
<lastmod>2024-09-04</lastmod>
<lastmod>2024-09-06</lastmod>
</url>
</urlset>

Binary file not shown.

View file

@ -1,7 +1,7 @@
[
{
"version": "dev",
"title": "dev (8f13a64)",
"title": "dev (589e802)",
"aliases": []
},
{