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

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


The following commit(s) were added to refs/heads/main by this push:
     new 324d5f0d4d Replace Star and Fork buttons with static versions (#14988)
324d5f0d4d is described below

commit 324d5f0d4de7bf24b20f0883835a32c0528546d1
Author: Bryce Mecum <[email protected]>
AuthorDate: Mon Mar 3 23:46:26 2025 -0800

    Replace Star and Fork buttons with static versions (#14988)
---
 docs/source/conf.py   |  4 ----
 docs/source/index.rst | 21 +++++++++++++--------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 51408f4fa7..a5a3e66c6b 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -106,10 +106,6 @@ html_css_files = [
     "theme_overrides.css"
 ]
 
-html_js_files = [
-    ("https://buttons.github.io/buttons.js";, {'async': 'true', 'defer': 
'true'}),
-]
-
 html_sidebars = {
     "**": ["docs-sidebar.html"],
 }
diff --git a/docs/source/index.rst b/docs/source/index.rst
index d618e00f68..0dc947fdea 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -22,16 +22,21 @@
 Apache DataFusion
 =================
 
-.. Code from https://buttons.github.io/
 .. raw:: html
 
-  <p>
-    <!-- Place this tag where you want the button to render. -->
-    <a class="github-button" href="https://github.com/apache/datafusion"; 
data-size="large" data-show-count="true" aria-label="Star apache/datafusion on 
GitHub">Star</a>
-    <!-- Place this tag where you want the button to render. -->
-     <a class="github-button" href="https://github.com/apache/datafusion/fork"; 
data-size="large" data-show-count="true" aria-label="Fork apache/datafusion on 
GitHub">Fork</a>
-  </p>
-
+   <style type="text/css">
+      .custom-social-badge{display:inline;padding:4px}.custom-social-badge 
a{text-decoration:none;outline:0}.custom-social-badge 
.widget{display:inline-block;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe
 
UI,Helvetica,Arial,sans-serif;font-size:0;line-height:0;white-space:nowrap}.custom-social-badge
 .btn:not(:last-child){border-radius:.25em 0 0 .25em}.custom-social-badge 
.widget-lg .btn{height:28px;padding:5px 
10px;font-size:12px;line-height:16px}.custom-social-badge  [...]
+   </style>
+   <div class="custom-social-badge">
+      <span>
+         <div class="widget widget-lg"><a class="btn" 
href="https://github.com/apache/datafusion"; rel="noopener" target="_blank" 
target="_blank" aria-label="Star Apache Arrow on GitHub"><svg 
xmlns="http://www.w3.org/2000/svg"; width="16" height="16" viewBox="0 0 16 16" 
fill="none" role="img" aria-hidden="true"><path d="M8 0c4.42 0 8 3.58 8 8a8.013 
8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 
0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08 
[...]
+      </span>
+   </div>
+      <div class="custom-social-badge">
+      <span>
+         <div class="widget widget-lg"><a class="btn" 
href="https://github.com/apache/datafusion/fork"; rel="noopener" target="_blank" 
target="_blank" aria-label="Star Apache Arrow on GitHub"><svg 
xmlns="http://www.w3.org/2000/svg"; width="16" height="16" viewBox="0 0 16 16" 
fill="none" role="img" aria-hidden="true"><path d="M8 0c4.42 0 8 3.58 8 8a8.013 
8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 
0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2. [...]
+      </span>
+   </div>
 
 DataFusion is an extensible query engine written in `Rust 
<http://rustlang.org>`_ that
 uses `Apache Arrow <https://arrow.apache.org>`_ as its in-memory format.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to