mirror of
https://github.com/django-components/django-components.git
synced 2025-08-04 06:18:17 +00:00
Deployed 055dd076
to dev with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
f1d2a282df
commit
c1e31b60b1
5 changed files with 83 additions and 71 deletions
|
@ -13,8 +13,6 @@ html[data-theme="dark"] {
|
|||
|
||||
.pyodide-editor {
|
||||
width: 100%;
|
||||
min-height: 200px;
|
||||
max-height: 400px;
|
||||
font-size: .85em;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,15 @@ function updateTheme(editor, light, dark) {
|
|||
});
|
||||
}
|
||||
|
||||
async function setupPyodide(idPrefix, install = null, themeLight = 'tomorrow', themeDark = 'tomorrow_night', session = null) {
|
||||
async function setupPyodide(
|
||||
idPrefix,
|
||||
install = null,
|
||||
themeLight = 'tomorrow',
|
||||
themeDark = 'tomorrow_night',
|
||||
session = null,
|
||||
minLines = 5,
|
||||
maxLines = 30,
|
||||
) {
|
||||
const editor = ace.edit(idPrefix + "editor");
|
||||
const run = document.getElementById(idPrefix + "run");
|
||||
const clear = document.getElementById(idPrefix + "clear");
|
||||
|
@ -88,6 +96,12 @@ async function setupPyodide(idPrefix, install = null, themeLight = 'tomorrow', t
|
|||
editor.session.setMode("ace/mode/python");
|
||||
setTheme(editor, getTheme(), themeLight, themeDark);
|
||||
|
||||
editor.setOption("minLines", minLines);
|
||||
editor.setOption("maxLines", maxLines);
|
||||
|
||||
// Force editor to resize after setting options
|
||||
editor.resize();
|
||||
|
||||
writeOutput(output, "Initializing...");
|
||||
let pyodide = await pyodidePromise;
|
||||
if (install && install.length) {
|
||||
|
|
134
dev/sitemap.xml
134
dev/sitemap.xml
|
@ -2,270 +2,270 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/migrating_from_safer_staticfiles/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/release_notes/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/component_caching/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/component_context_scope/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/component_libraries/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/component_registry/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/extensions/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/hooks/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/html_fragments/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/provide_inject/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/rendering_js_css/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/tag_formatters/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/template_tags/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/advanced/testing/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/autodiscovery/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/component_defaults/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/component_views_urls/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/html_attributes/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/html_js_css_files/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/html_js_css_variables/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/http_request/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/render_api/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/rendering_components/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/secondary_js_css_files/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/single_file_components/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/slots/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/subclassing_components/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/template_tag_syntax/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/concepts/fundamentals/typing_and_validation/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/adding_js_and_css/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/adding_slots/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/components_in_templates/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/parametrising_components/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/rendering_components/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/getting_started/your_first_component/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/devguides/dependency_mgmt/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/devguides/slot_rendering/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/devguides/slots_and_blocks/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/other/troubleshooting/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/setup/caching/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/guides/setup/development_server/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/code_of_conduct/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/community/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/compatibility/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/contributing/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/development/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/installation/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/license/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/migrating/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/performance/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/security_notes/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/overview/welcome/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/api/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/commands/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/components/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/exceptions/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/extension_commands/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/extension_hooks/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/extension_urls/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/settings/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/signals/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/tag_formatters/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/template_tags/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/template_variables/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/testing_api/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://django-components.github.io/django-components/latest/reference/urls/</loc>
|
||||
<lastmod>2025-06-24</lastmod>
|
||||
<lastmod>2025-07-01</lastmod>
|
||||
</url>
|
||||
</urlset>
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"version": "dev",
|
||||
"title": "dev (b021b54)",
|
||||
"title": "dev (055dd07)",
|
||||
"aliases": []
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue