From a79a02d8264559a3aba676981e6660983790af47 Mon Sep 17 00:00:00 2001 From: Christophe Henry Date: Tue, 8 Oct 2024 14:09:40 +0200 Subject: [PATCH] Fixes in documentation --- README.md | 6 +++--- pyproject.toml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9cebdfd..89fbcc8 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ source that one as the project's root importmap. {% importmap defer="true" "yes" as "data-is-cool" %} -{% importmap defer="true" "yes" as "data-is-cool" %} +{% importmap "defer" "yes" as "data-is-cool" %} ``` **Note**: trying to specify an HTML attribute with no value as the first argument of `{% importmap %}` creates an @@ -122,7 +122,7 @@ argument: ```django -`{% importmap %}` +`{% importmap "defer" %}` -{% importmap "--" defer %} +{% importmap "--" "defer" %} ``` diff --git a/pyproject.toml b/pyproject.toml index 317cff9..8b2318f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,7 @@ line-length = 100 docstring-code-format = true [tool.ruff.lint.isort] +force-sort-within-sections = true section-order = [ "future", "standard-library",