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

Skip to content

Commit da6d6d1

Browse files
minor cleanups from a rushed day
1 parent 499740a commit da6d6d1

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
rm -rf _posts/r/md
5858
git clone -b built [email protected]:plotly/plotly.py-docs _posts/python/html
5959
git clone -b built [email protected]:plotly/plotly.r-docs _posts/r/md
60-
mv _posts/r/md/ggplot2 _posts/ggplot2
60+
mv _posts/r/md/ggplot2 _posts/ggplot2/md
6161
python front-matter-ci.py _posts
6262
python check-or-enforce-order.py _posts/python
6363
python check-or-enforce-order.py _posts/python-v3

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ _posts/python/html
2727
documentation.Rproj
2828
.vscode
2929
_posts/r/md
30+
_posts/ggplot2/md

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ task :serve => [] do
3333
system "rm -rf _posts/r/md" or exit!(1)
3434
system "git clone -b built [email protected]:plotly/plotly.py-docs _posts/python/html" or exit!(1)
3535
system "git clone -b built [email protected]:plotly/plotly.r-docs _posts/r/md" or exit!(1)
36+
system "mv _posts/r/md/ggplot2 _posts/ggplot2/md" or exit!(1)
3637
system "jekyll serve"
3738
end
3839

_includes/layouts/_header-main.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<header data-spy="affix" data-offset-top="80" class="header-main --default">
22
<div class="--wrap">
3-
<div class="--wrap-left"><a href="https://plot.ly/" target="_blank" class="-identity">
3+
<div class="--wrap-left">
44
<div class="-identity">
5-
<img src="/all_static/images/plotly_graphing_libraries.png" style="height: 66px;"/>
6-
</div></a>
7-
5+
<a href="https://plot.ly/"><img src="/all_static/images/plotly_graphing_libraries_1.png" style="height: 66px;"/></a>
6+
<a href="/graphing-libraries/"><img src="/all_static/images/plotly_graphing_libraries_2.png" style="height: 66px;"/></a>
7+
</div>
88
</div>
99
<div class="--wrap-right">
1010
<nav class="--nav-meta" role="navigation">

_includes/layouts/breadcrumb.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@
1919
-->
2020
<ul class="--breadcrumb-list">
2121
<li class="--breadcrumb-item">
22-
<div class="icon">
23-
<svg style="width:24px;height:24px" viewbox="0 0 24 24">
24-
<path fill="#000000" d="M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"></path>
25-
</svg>
26-
</div>
27-
<a href="https://help.plot.ly/"><span>Help</span></a>
22+
<a href="https://plot.ly/"><span>Plotly</span></a>
2823
</li>
2924
<li class="--breadcrumb-item"><a href="/graphing-libraries/"><span>Open Source Graphing Libraries</span></a></li>
3025
{% if page.permalink != "/api/" %}
@@ -80,9 +75,12 @@
8075
</a>
8176

8277
<a id="forklink" href= "{{ filename | prepend: "https://github.com/plotly/plotly.py/edit/doc-prod/doc/python/" }}" >
83-
{% elsif page.path contains "/r/md/" %}
84-
{% assign filename = page.path | replace: "_posts/r/md/", "" | replace: ".md", ".Rmd" %}
78+
{% elsif page.path contains "/r/md/r" %}
79+
{% assign filename = page.path | replace: "_posts/r/md/r/", "" | replace: ".md", ".Rmd" %}
8580
<a id="forklink" href= "{{ filename | prepend: "https://github.com/plotly/plotly.r-docs/edit/master/r/" }}" >
81+
{% elsif page.path contains "/ggplot2/md" %}
82+
{% assign filename = page.path | replace: "_posts/ggplot2/md/", "" | replace: ".md", ".Rmd" %}
83+
<a id="forklink" href= "{{ filename | prepend: "https://github.com/plotly/plotly.r-docs/edit/master/ggplot2/" }}" >
8684
{% else %}
8785
{% assign filename = page.path | split, "/" | last %}
8886
<a id="forklink" href= "{{ page.path | remove: filename | prepend: "https://github.com/plotly/documentation/tree/source-design-merge/" }}" >
Loading
Loading

0 commit comments

Comments
 (0)