From 332ed1823702b285c043a27572d071ac87e0daf6 Mon Sep 17 00:00:00 2001 From: William Killerud Date: Fri, 6 Dec 2024 09:47:38 +0100 Subject: [PATCH 1/2] Add missing truncate --- blog/2019-05-20-new-documentation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blog/2019-05-20-new-documentation.md b/blog/2019-05-20-new-documentation.md index e772338..f3c0acb 100644 --- a/blog/2019-05-20-new-documentation.md +++ b/blog/2019-05-20-new-documentation.md @@ -8,5 +8,7 @@ tags: [hello, podium] Welcome to our blog. Our documentation site has just gotten an refreshing update which also give us a blog. + + This space will be used to document version changes and give insight in tips and tricks not really belonging in the documentation itself. From 4fbe06bd486dbcdf32429b82dd3f2521866c24f2 Mon Sep 17 00:00:00 2001 From: William Killerud Date: Fri, 6 Dec 2024 10:12:15 +0100 Subject: [PATCH 2/2] docs: document useShadowDOM Fixes #420 --- docs/api/layout.md | 50 ++++++++++++----------- docs/api/podlet.md | 95 +++++++++++++++++++++++++++---------------- docs/guides/assets.md | 16 ++++++-- 3 files changed, 100 insertions(+), 61 deletions(-) diff --git a/docs/api/layout.md b/docs/api/layout.md index c2cba9d..3d9eeb9 100644 --- a/docs/api/layout.md +++ b/docs/api/layout.md @@ -640,17 +640,19 @@ assets. #### options -| option | type | default | required | details | -| -------------- | --------- | --------- | -------- | -------------------------------------------------------------------------------------------- | -| value | `string` | | ✓ | Relative or absolute URL to the JavaScript asset | -| prefix | `boolean` | `false` | | Whether the pathname defined on the constructor should be prepend, if relative, to the value | -| type | `string` | `default` | | What type of JavaScript (eg. esm, default, cjs) | -| referrerpolicy | `string` | | | Correlates to the same attribute on a HTML `