You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "thisisnic (via GitHub)" <gi...@apache.org> on 2025/03/13 14:18:38 UTC
[PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
thisisnic opened a new pull request, #45764:
URL: https://github.com/apache/arrow/pull/45764
### Rationale for this change
Add the kapa.ai domain to the content security policy so that the AI bot we are trying out can load
### What changes are included in this PR?
Updates to sphinx and pkgdown docs to fix this
### Are these changes tested?
Nope - this wasn't an issue on the docs built in crossbow when I tested it on the PR, so I was thinking I just check it's working on the dev docs once they're built
### Are there any user-facing changes?
Nope
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2726577659
Thanks both, I was going round in circles a bit there; I will drop them an email!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2764467533
Closing this as no longer needed - fixed via update to .htaccess
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2722972736
@ianmcook may know the Content-Security-Policy settings because Ian worked on it such as https://github.com/apache/arrow-site/pull/603 recently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2721431545
:warning: GitHub issue #45720 **has been automatically assigned in GitHub** to PR creator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2726691896
I'm hopeful - it's one of the few things expressly allowed as kapa.ai has signed a DPA with the ASF, so it feels like it's just the technical details to resolve here 🤞
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "ianmcook (via GitHub)" <gi...@apache.org>.
ianmcook commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2726600891
It sounds like they are setting a very high bar for adding any new sites to the CSP allowlist. May the odds be ever in your favor :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2721448677
Hmm, looking at the original error, I'm now wondering if I need to add the others back in to prevent blocking access to others?
```
Content-Security-Policy: The page’s settings blocked a script (script-src-elem) at https://widget.kapa.ai/kapa-widget.bundle.js from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org/ https://www.apachecon.com/”
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed pull request #45764: GH-45720: [Docs] Kapa.ai widget not loading on the dev docs
URL: https://github.com/apache/arrow/pull/45764
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "ianmcook (via GitHub)" <gi...@apache.org>.
ianmcook commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2723022485
> I think this is wrong actually - I may need to open a ticket with infra...
AIUI, the only way to modify the CSP is to ask privacy@apache.org. See https://infra.apache.org/csp.html for details. I banged my head on the wall for several days trying to get the GitHub star count badge to work by modifying the CSP here using meta tags and then using `.htaccess`, but the ASF has the Apache web server configured to prevent those approaches from working. Ultimately I decided to just remove the star count from the badge. You can see PRs 595 through 603 where I experimented with this with no success :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2721475488
I think this is wrong actually - I may need to open a ticket with infra...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-45720: [Docs] Kapa.ai widget not loading on the dev docs [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #45764:
URL: https://github.com/apache/arrow/pull/45764#issuecomment-2721659090
Or just update the .htaccess file on the arrow-site repo...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org