Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22ab00f

Browse files
committed
updates + fully buildable
1 parent cdeae93 commit 22ab00f

File tree

10 files changed

+101
-5739
lines changed

10 files changed

+101
-5739
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
gems:
22
- jekyll-redirect-from
33
- jekyll-sitemap
4-
- jemoji
4+
#- jemoji
55

66
url: https://plot.ly
77
BASE_URL: https://plot.ly

_config_dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
gems:
22
- jekyll-redirect-from
33
- jekyll-sitemap
4-
- jemoji
4+
# - jemoji
55

66
BASE_URL: http://localhost:3000
77
staticurl: http://localhost:3000/all_static
88
# all of the posts: ['*.Rmd','_posts/2015-09-09-matlab-reference.html','_posts/2015-09-06-r-reference.html','_posts/2015-09-06-python-reference.html','_posts/2015-08-19-plotly_js-reference.html','_posts/2015-04-05-ggplot2-index.html','_posts/2015-04-05-julia-index.html','_posts/2015-04-05-matlab-index.html','_posts/2015-04-05-matplotlib-index.html','_posts/2015-04-05-node_js-index.html','_posts/2015-04-05-plotly_js-index.html','_posts/2015-04-05-plotlyjs-function-reference.md','_posts/2015-04-05-python-index.html','_posts/2015-05-25-ipython-notebooks_gallery.html','_posts/2015-05-25-ipython-notebooks_index.html','_posts/2015-07-13-eula_index.html','_posts/2015-07-19-pandas.html','_posts/2015-07-26-index.html','_posts/2015-07-30-r-index.Rmd','_posts/2015-07-30-r-index.md','_posts/2015-08-20-research-box-index.html','_posts/ggplot2','_posts/julia','_posts/matlab','_posts/matplotlib','_posts/nodejs','_posts/pandas','_posts/plotly_js','_posts/python','_posts/r','_posts/tutorials','_posts/user_guide_matlab','_posts/user_guide_python']
99
# exclude: ['*.Rmd','_posts/2015-09-09-matlab-reference.html','_posts/2015-09-06-r-reference.html','_posts/2015-09-06-python-reference.html','_posts/2015-08-19-plotly_js-reference.html','_posts/2015-04-05-ggplot2-index.html','_posts/2015-04-05-julia-index.html','_posts/2015-04-05-matplotlib-index.html','_posts/2015-04-05-node_js-index.html','_posts/2015-04-05-plotly_js-index.html','_posts/2015-04-05-plotlyjs-function-reference.md','_posts/2015-04-05-python-index.html','_posts/2015-05-25-ipython-notebooks_gallery.html','_posts/2015-05-25-ipython-notebooks_index.html','_posts/2015-07-13-eula_index.html','_posts/2015-07-19-pandas.html','_posts/2015-07-26-index.html','_posts/2015-07-30-r-index.Rmd','_posts/2015-07-30-r-index.md','_posts/2015-08-20-research-box-index.html','_posts/ggplot2','_posts/julia','_posts/matplotlib','_posts/nodejs','_posts/pandas','_posts/plotly_js','_posts/python','_posts/r','_posts/tutorials','_posts/user_guide_python']
1010

11-
exclude: [ _posts/r, _posts/matlab, _posts/matplotlib] # [ _posts/nodejs,_posts/python, _posts/ggplot2, _posts/julia,]
11+
exclude: [ _posts/r, _posts/matlab, _posts/matplotlib, _posts/nodejs, _posts/ggplot2, _posts/julia] # [ _posts/python]
1212

1313

1414
plotlyjs_download_url: https://cdn.plot.ly/plotly-latest.min.js

_includes/plotschema-reference.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</div>
3838

3939
<div class="four columns">
40-
<div class="toc">
40+
<div class="toc" data-spy="affix" data-offset-top="128" data-offset-bottom="610">
4141
<a href="#{{trace[0]}}"><h4>{{trace[0]}}</h4></a>
4242
{% assign attribute=trace[1].attributes %}
4343
{% assign localparentlink=trace[0] %}

_includes/reference-side-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<aside class="--sidebar-container ref">
2-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="80" id="where">
2+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="194" data-offset-bottom="610"
33
<header class="--sidebar-header">Plot Objects</header>
44
<nav class="--sidebar-body watch" id="where">
55

_posts/tutorials/2015-06-30-cufflinks.html

Lines changed: 0 additions & 3520 deletions
Large diffs are not rendered by default.

_posts/user_guide_python/2015-06-30-style-template.html

Lines changed: 0 additions & 1954 deletions
Large diffs are not rendered by default.

scss/_abstract/_abstract.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $border: 1px solid darken($slg, 3%);
1717
// 0 1px 4px 0 rgba(0, 0, 0, .08),
1818
// 0 3px 1px -2px rgba(0, 0, 0, .2);
1919
$shadow: 0;
20-
$max-width: 1120px;
20+
$max-width: 1400px;
2121
$mw: $max-width;
2222
$header-height: 80px;
2323
@mixin flex-center {

scss/_components/_sidebar.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ aside {
6262
z-index: 99;
6363
max-height: calc(100vh - 128px);
6464
overflow-y: auto;
65+
overflow-x: hidden;
6566
&.affix {
6667
top: calc(80px + 48px) !important;
6768
z-index: 1;
@@ -71,8 +72,8 @@ aside {
7172
position: absolute;
7273
top: 0;
7374
}
74-
nav:last-child {
75-
padding-bottom: $unit*8;
75+
& > *:last-child {
76+
margin-bottom: $unit*8;
7677
}
7778
}
7879
.\--sidebar-body {

scss/_pages/_tutorial-index.scss

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
padding-bottom: $unit*2;
1515
padding-top: $unit*2;
1616
padding-left: $unit*2 !important;
17+
padding-right:$unit*2;
18+
&.tutorial-content, .tutorial-content{
19+
padding:0 !important;
20+
}
1721
.\--welcome {
1822
//border-bottom: $border;
1923
padding: $unit*2 0;
@@ -570,6 +574,7 @@ div.row {
570574
margin-bottom: $unit*2;
571575
padding-bottom: $unit*2;
572576
line-height: 2;
577+
overflow-x: auto;
573578
&:first-line {
574579
font-size: 1.5rem;
575580
display: inline-block;
@@ -626,6 +631,32 @@ div.row {
626631
}
627632

628633
div.section {
629-
padding-left: $unit*2;
630-
padding-right: $unit*4;
634+
//padding-left: $unit*2;
635+
//padding-right: $unit*4;
636+
}
637+
638+
div.tipbox.row{
639+
background: $lb;
640+
padding:$unit*2;
641+
padding-right:$unit*2 !important;
642+
padding-left:$unit*2 !important;
643+
border:$border;
644+
margin-top:$unit*2;
645+
//display: block;
646+
h4{
647+
div.icon{
648+
display: none;
649+
}
650+
font-size:1.5rem;
651+
border-bottom:0;
652+
background: darken($lb, 3%);
653+
}
654+
a{
655+
display: inline-block;
656+
padding:$unit*2;
657+
background: lighten($lb, 3%);
658+
border: $border;
659+
margin-right:$unit;
660+
margin-top:$unit;
661+
}
631662
}

0 commit comments

Comments
 (0)