You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by "thisisnic (via GitHub)" <gi...@apache.org> on 2025/07/03 10:53:24 UTC
[PR] Turn off Kapa analytics tracking [arrow-site]
thisisnic opened a new pull request, #662:
URL: https://github.com/apache/arrow-site/pull/662
Turn off Kapa analytics tracking - see https://github.com/apache/arrow/pull/46977
--
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: commits-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Turn off Kapa analytics tracking [arrow-site]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on PR #662:
URL: https://github.com/apache/arrow-site/pull/662#issuecomment-3035100296
Cheers, done!
--
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: commits-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Turn off Kapa analytics tracking [arrow-site]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #662:
URL: https://github.com/apache/arrow-site/pull/662
--
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: commits-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Turn off Kapa analytics tracking [arrow-site]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #662:
URL: https://github.com/apache/arrow-site/pull/662#issuecomment-3033642162
Thanks. It seems that we need to update `docs/r/` too:
https://github.com/apache/arrow-site/blob/6eb170f7f83ee0cf238b54fbb6da44b4de56391c/docs/r/404.html#L39
I confirmed this PR by writing the following Ruby script:
```ruby
#!/usr/bin/env ruby
require "find"
Find.find("docs") do |path|
next unless File.file?(path)
content = File.read(path)
next unless content.include?("kapa-widget.bundle.js")
content_before = content.dup
content.gsub!(<<-FROM.chomp, <<-TO.chomp)
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="9db461d5-ac77-4b3f-a5c5-75efa78339d2"
data-project-name="Apache Arrow"
data-project-color="#000000"
data-project-logo="https://arrow.apache.org/img/arrow-logo_chevrons_white-txt_black-bg.png"
data-modal-disclaimer="This is a custom LLM with access to all [Arrow documentation](https://arrow.apache.org/docs/)."
data-consent-required="true"
FROM
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="9db461d5-ac77-4b3f-a5c5-75efa78339d2"
data-project-name="Apache Arrow"
data-project-color="#000000"
data-project-logo="https://arrow.apache.org/img/arrow-logo_chevrons_white-txt_black-bg.png"
data-modal-disclaimer="This is a custom LLM with access to all [Arrow documentation](https://arrow.apache.org/docs/)."
data-consent-required="true"
data-user-analytics-cookie-enabled="false"
TO
content.gsub!(<<-FROM.chomp, <<-TO.chomp)
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="9db461d5-ac77-4b3f-a5c5-75efa78339d2"
data-project-name="Apache Arrow"
data-project-color="#000000"
data-project-logo="https://arrow.apache.org/img/arrow-logo_chevrons_white-txt_black-bg.png"
data-modal-disclaimer="This is a custom LLM with access to all [Arrow documentation](https://arrow.apache.org/docs/). Please include the language you are using in your question, e.g., Python, C++, Java, R, etc."
data-consent-required="true"
FROM
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="9db461d5-ac77-4b3f-a5c5-75efa78339d2"
data-project-name="Apache Arrow"
data-project-color="#000000"
data-project-logo="https://arrow.apache.org/img/arrow-logo_chevrons_white-txt_black-bg.png"
data-modal-disclaimer="This is a custom LLM with access to all [Arrow documentation](https://arrow.apache.org/docs/). Please include the language you are using in your question, e.g., Python, C++, Java, R, etc."
data-consent-required="true"
data-user-analytics-cookie-enabled="false"
TO
content.gsub!(<<-FROM.chomp, <<-TO.chomp)
src="https://widget.kapa.ai/kapa-widget.bundle.js" data-website-id="9db461d5-ac77-4b3f-a5c5-75efa78339d2" data-project-name="Apache Arrow" data-project-color="#000000" data-project-logo="https://arrow.apache.org/img/arrow-logo_chevrons_white-txt_black-bg.png" data-modal-disclaimer="This is a custom LLM with access to all of [Arrow documentation](https://arrow.apache.org/docs/). If you want an R-specific answer, please mention this in your question." data-consent-required="true"
FROM
src="https://widget.kapa.ai/kapa-widget.bundle.js" data-website-id="9db461d5-ac77-4b3f-a5c5-75efa78339d2" data-project-name="Apache Arrow" data-project-color="#000000" data-project-logo="https://arrow.apache.org/img/arrow-logo_chevrons_white-txt_black-bg.png" data-modal-disclaimer="This is a custom LLM with access to all of [Arrow documentation](https://arrow.apache.org/docs/). If you want an R-specific answer, please mention this in your question." data-consent-required="true" data-user-analytics-cookie-enabled="false"
TO
p path if content_before == content
File.write(path, content)
end
```
```console
$ git restore docs; ruby /var/tmp/check.rb; diff -u <(curl -L https://github.com/apache/arrow-site/pull/662.diff) <(git diff --abbrev=12 | sed -e 's/ @@.*/ @@/')
```
--
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: commits-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org