Skip to content

Commit 6bcf58e

Browse files
author
Joseph Damiba
authored
Merge pull request #1123 from plotly/add_github_stars
Add GitHub stars To Homepage
2 parents a3723e7 + 33e6c22 commit 6bcf58e

File tree

6 files changed

+1725
-1472
lines changed

6 files changed

+1725
-1472
lines changed

_data/cache_bust_css.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
299bf4ed0ab496795b8fe3588fa04c34 ../all_static/css/main.css
1+
e1f40e63b86de7c2e0444738a2c8f9df ../all_static/css/main.css
22
a5765df8bc2358dd61c19edcc0cbef7d ../all_static/css/normalize.css

_posts/2015-07-26-index.html

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424
<div class="--wrap-inner">
2525
<div class="--welcome layer"><span class="meta">Welcome to the</span>
26-
<h2><strong>Plotly Open Source Graphing Libraries</strong></h2>
26+
<h2>Plotly Open Source Graphing Libraries</h2>
2727
<p>
2828
D3.js and WebGL charts and maps for Python, MATLAB, R, and more.
2929
</p>
@@ -34,7 +34,6 @@ <h2><strong>Plotly Open Source Graphing Libraries</strong></h2>
3434

3535
<section class="--documentation-categories">
3636
<div class="--wrap category-buttons">
37-
<h2>Plotly's Open Source Graphing Libraries:</h2>
3837
<ul>
3938
<li>
4039
<a href="/python/">
@@ -47,6 +46,10 @@ <h2>Plotly's Open Source Graphing Libraries:</h2>
4746
<h2>Plotly Python Open Source Graphing Library</h2>
4847
<!--<p>Anyone making charts or dashboards online.</p>-->
4948
</div>
49+
<div class="category-wrap github-stars">
50+
<!-- Place this tag where you want the button to render. -->
51+
<iframe src="https://ghbtns.com/github-btn.html?user=plotly&repo=plotly.py&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
52+
</div>
5053
</div>
5154
</a>
5255
</li>
@@ -61,7 +64,12 @@ <h2>Plotly Python Open Source Graphing Library</h2>
6164
<h2>Plotly MATLAB Open Source Graphing Library</h2>
6265
<!--<p>Engineers and data scientists using Python, R, Matlab or Javascript.</p>-->
6366
</div>
67+
<div class="category-wrap github-stars">
68+
<!-- Place this tag where you want the button to render. -->
69+
<iframe src="https://ghbtns.com/github-btn.html?user=plotly&repo=MATLAB-Online&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
70+
</div>
6471
</div>
72+
6573
</a>
6674
</li>
6775
<li>
@@ -79,7 +87,12 @@ <h2>Plotly R Open Source Graphing Library</h2>
7987
<!--dashboards.-->
8088
<!--</p>-->
8189
</div>
90+
<div class="category-wrap github-stars">
91+
<!-- Place this tag where you want the button to render. -->
92+
<iframe src="https://ghbtns.com/github-btn.html?user=ropensci&repo=plotly&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
93+
</div>
8294
</div>
95+
8396
</a>
8497
</li>
8598
<li>
@@ -96,7 +109,12 @@ <h2>Plotly JavaScript Open Source Graphing Library</h2>
96109
<!--dashboards.-->
97110
<!--</p>-->
98111
</div>
112+
<div class="category-wrap github-stars">
113+
<!-- Place this tag where you want the button to render. -->
114+
<iframe src="https://ghbtns.com/github-btn.html?user=plotly&repo=plotly.js&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
115+
</div>
99116
</div>
117+
100118
</a>
101119
</li>
102120
<li>
@@ -109,7 +127,12 @@ <h2>Plotly JavaScript Open Source Graphing Library</h2>
109127
<div class="category-meta">
110128
<h2>Plotly Dash Open Source Graphing Library</h2>
111129
</div>
130+
<div class="category-wrap github-stars">
131+
<!-- Place this tag where you want the button to render. -->
132+
<iframe src="https://ghbtns.com/github-btn.html?user=plotly&repo=dash&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
133+
</div>
112134
</div>
135+
113136
</a>
114137
</li>
115138
</ul>

all_static/css/main.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7463,6 +7463,24 @@ div#notebook {
74637463
flex-wrap: wrap;
74647464
padding: 30px;
74657465
max-width: 100%; }
7466+
.page.\--home .\--documentation-categories .category-wrap .github-stars {
7467+
padding-top: 20px;
7468+
display: -webkit-box;
7469+
display: -webkit-flex;
7470+
display: -ms-flexbox;
7471+
display: flex;
7472+
-webkit-box-align: start;
7473+
-webkit-align-items: flex-start;
7474+
-ms-flex-align: start;
7475+
align-items: flex-start;
7476+
-webkit-box-pack: center;
7477+
-webkit-justify-content: center;
7478+
-ms-flex-pack: center;
7479+
justify-content: center;
7480+
-webkit-flex-wrap: wrap;
7481+
-ms-flex-wrap: wrap;
7482+
flex-wrap: wrap;
7483+
max-width: 100%; }
74667484
.page.\--home .\--documentation-categories ul {
74677485
list-style-type: none;
74687486
-webkit-flex-wrap: wrap;

0 commit comments

Comments
 (0)