mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
Deployed 2472c2a
to dev with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
4fee9a007a
commit
c1dd7b0cd7
6 changed files with 84 additions and 78 deletions
|
@ -22,9 +22,9 @@ async function evaluatePython(pyodide, editor, output, session) {
|
|||
try {
|
||||
result = await pyodide.runPythonAsync(code, { globals: getSession(session, pyodide) });
|
||||
} catch (error) {
|
||||
writeOutput(output, error);
|
||||
writeOutput(output, new Option(error.toString()).innerHTML);
|
||||
}
|
||||
if (result) writeOutput(output, result);
|
||||
if (result) writeOutput(output, new Option(result).innerHTML);
|
||||
hljs.highlightElement(output);
|
||||
}
|
||||
|
||||
|
@ -91,11 +91,17 @@ async function setupPyodide(idPrefix, install = null, themeLight = 'tomorrow', t
|
|||
writeOutput(output, "Initializing...");
|
||||
let pyodide = await pyodidePromise;
|
||||
if (install && install.length) {
|
||||
micropip = pyodide.pyimport("micropip");
|
||||
for (const package of install)
|
||||
await micropip.install(package);
|
||||
try {
|
||||
micropip = pyodide.pyimport("micropip");
|
||||
for (const package of install)
|
||||
await micropip.install(package);
|
||||
clearOutput(output);
|
||||
} catch (error) {
|
||||
clearOutput(output);
|
||||
writeOutput(output, `Could not install one or more packages: ${install.join(", ")}\n`);
|
||||
writeOutput(output, new Option(error.toString()).innerHTML);
|
||||
}
|
||||
}
|
||||
clearOutput(output);
|
||||
run.onclick = () => evaluatePython(pyodide, editor, output, session);
|
||||
clear.onclick = () => clearOutput(output);
|
||||
output.parentElement.parentElement.addEventListener("keydown", (event) => {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
124
dev/sitemap.xml
124
dev/sitemap.xml
|
@ -2,250 +2,250 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/migrating_from_safer_staticfiles/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/release_notes/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/authoring_component_libraries/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/component_registry/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/extensions/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/hooks/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/html_fragments/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/provide_inject/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/rendering_js_css/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/tag_formatter/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/template_tags/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/testing/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/typing_and_validation/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/access_component_input/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/autodiscovery/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/component_context_scope/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/components_as_views/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/components_in_python/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/defining_js_css_html_files/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/html_attributes/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/http_request/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/single_file_components/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/slots/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/subclassing_components/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/template_tag_syntax/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/adding_js_and_css/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/adding_slots/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/components_in_templates/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/parametrising_components/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/rendering_components/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/your_first_component/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/devguides/dependency_mgmt/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/devguides/slot_rendering/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/devguides/slots_and_blocks/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/other/troubleshooting/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/setup/caching/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/setup/development_server/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/setup/syntax_highlight/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/code_of_conduct/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/community/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/compatibility/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/contributing/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/development/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/installation/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/license/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/performance/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/security_notes/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/welcome/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/api/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/commands/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/components/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/exceptions/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/extension_hooks/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/middlewares/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/settings/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/signals/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/tag_formatters/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/template_tags/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/template_vars/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/testing_api/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/urls/</loc>
|
||||
<lastmod>2025-03-22</lastmod>
|
||||
<lastmod>2025-03-23</lastmod>
|
||||
</url>
|
||||
</urlset>
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"version": "dev",
|
||||
"title": "dev (04dd0c2)",
|
||||
"title": "dev (2472c2a)",
|
||||
"aliases": []
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue