File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ pkgsnip::md_snip(id = "pkg_usage") %>%
66
66
67
67
## Development
68
68
69
+ ``` {r}
70
+ #| label: pkg-deepwiki
71
+ #| child: !expr pkgsnip::snip_path("pkg-deepwiki.Rmd")
72
+ ```
73
+
69
74
### R Markdown format
70
75
71
76
``` {r}
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ for = "/*"
17
17
# - `connect-src data:` is required for asciinema (asciicast)
18
18
# - `connect-src https://t.counter.dev` is required for counter.dev analytics
19
19
# - `object-src 'self';` has to be set to enable PDF preview in Chrome
20
+ # - `img-src https://deepwiki.com` has to be set for the DeepWiki badge in the README
21
+ # - `img-src https://github.com` has to be set for the `R CMD check` badge in the README
22
+ # - `img-src https://r-pkg.org` has to be set for the CRAN badge in the README
20
23
# - `script-src 'unsafe-eval'` is required for MathJax, cf. https://github.com/mathjax/MathJax/issues/1988#issuecomment-384978927
21
24
# - `script-src https://rpkg.dev` is required for counter.dev analytics
22
25
# - `style-src 'unsafe-inline'` is required for MathJax, cf. https://github.com/mathjax/MathJax/issues/1988#issuecomment-581567775
@@ -26,7 +29,7 @@ Content-Security-Policy = '''
26
29
default-src 'none';
27
30
connect-src 'self' data: https://t.counter.dev;
28
31
font-src 'self';
29
- img-src 'self' data: https://r-pkg.org;
32
+ img-src 'self' data: https://deepwiki.com https://github.com https:// r-pkg.org;
30
33
manifest-src 'self';
31
34
object-src 'self';
32
35
script-src 'self' 'unsafe-eval' https://rpkg.dev;
You can’t perform that action at this time.
0 commit comments