You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2025/07/03 20:25:08 UTC

(arrow) branch main updated: MINOR: [Docs] Disable tracking in kapa AI bot (#46977)

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new f8e156c425 MINOR: [Docs] Disable tracking in kapa AI bot (#46977)
f8e156c425 is described below

commit f8e156c425ad13cf3a668a8faaab7fc1f783ba3d
Author: Nic Crane <th...@gmail.com>
AuthorDate: Thu Jul 3 21:25:03 2025 +0100

    MINOR: [Docs] Disable tracking in kapa AI bot (#46977)
    
    ### Rationale for this change
    
    Kapa have recently switched anonymous tracking on by default, so it needs to be disabled manually
    
    ### What changes are included in this PR?
    
    Disable it
    
    ### Are these changes tested?
    
    No
    
    ### Are there any user-facing changes?
    
    No
    
    Authored-by: Nic Crane <th...@gmail.com>
    Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
 docs/source/_templates/kapa-ai-bot.html | 1 +
 r/_pkgdown.yml                          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/docs/source/_templates/kapa-ai-bot.html b/docs/source/_templates/kapa-ai-bot.html
index 8eaede91c6..e731998ff6 100644
--- a/docs/source/_templates/kapa-ai-bot.html
+++ b/docs/source/_templates/kapa-ai-bot.html
@@ -8,6 +8,7 @@
         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"
         data-consent-screen-disclaimer="By clicking &quot;I agree, let's chat&quot;, you consent to the use of the AI assistant in accordance with kapa.ai's [Privacy Policy](https://www.kapa.ai/content/privacy-policy). This service uses reCAPTCHA, which requires your consent to Google's [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms). By proceeding, you explicitly agree to both kapa.ai's and Google's privacy policies."
     ></script>
    
diff --git a/r/_pkgdown.yml b/r/_pkgdown.yml
index e2e048a425..1a3665c57f 100644
--- a/r/_pkgdown.yml
+++ b/r/_pkgdown.yml
@@ -53,6 +53,7 @@ template:
           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"
           data-consent-screen-disclaimer="By clicking &quot;I agree, let's chat&quot;, you consent to the use of the AI assistant in accordance with kapa.ai's [Privacy Policy](https://www.kapa.ai/content/privacy-policy). This service uses reCAPTCHA, which requires your consent to Google's [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms). By proceeding, you explicitly agree to both kapa.ai's and Google's privacy policies."
       ></script>
       <!-- End Kapa AI -->