Skip to content

Commit 01c2d94

Browse files
committed
Makes requests fixes/changes from PR 241
1 parent 91f717b commit 01c2d94

File tree

11 files changed

+15
-14
lines changed

11 files changed

+15
-14
lines changed

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
www.grpc.io

_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ markdown:
77

88
baseurl: /grpc.github.io
99

10-
githuburl: https://github.com/wildebeestdev/grpc.github.io/edit/gh-pages
10+
githuburl: https://github.com/grpc/grpc.github.io/
1111

1212
sass:
1313
style: compressed
@@ -16,4 +16,4 @@ paginate: 2
1616

1717
paginate_path: "/blog/page:num/"
1818

19-
excerpt_separator: <!--more-->
19+
excerpt_separator: <!--more-->

_includes/contribute-links.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
<div class="contribute-links">
44
<a href="{{ site.baseurl }}/contribute#{{ page.path }}">Contribution Guidelines</a>
5-
<a href="{{ site.githuburl }}/{{page.path}}"><p class="github">Edit <span class="file-name">{{file_name}}</span></p></a>
5+
<a href="{{ site.githuburl }}/edit/master/{{page.path}}"><p class="github">Edit <span class="file-name">{{file_name}}</span></p></a>
66
</div>

_includes/doc-side-guides-nav.html

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<ul class="doc-side-nav">
22
{% assign current = page.url | downcase | split: '/' %}
33
<li><h5 class="doc-side-nav-title">Guides</h5></li>
4-
<li class="doc-side-nav-list-item"><a href="{{ site.baseurl }}/docs/guides/overview.html" {% if current[3] == 'overview.html' %}class='current'{% endif %}>Developer Guide Overview</a></li>
5-
<li class="doc-side-nav-list-item"><a href="{{ site.baseurl }}/docs/guides/quick-start.html" {% if current[3] == 'quick-start.html' %}class='current'{% endif %}>Quick Start Guides</a></li>
6-
<li class="doc-side-nav-list-item"><a href="{{ site.baseurl }}/docs/guides/hello-world.html" {% if current[3] == 'hello-world.html' %}class='current'{% endif %}>Hello World example</a></li>
74
<li class="doc-side-nav-list-item"><a href="{{ site.baseurl }}/docs/guides/concepts.html" {% if current[3] == 'concepts.html' %}class='current'{% endif %}>gRPC Concepts</a></li>
85
<li class="doc-side-nav-list-item"><a href="{{ site.baseurl }}/docs/guides/auth.html" {% if current[3] == 'auth.html' %}class='current'{% endif %}>Authentication</a></li>
96
<li class="doc-side-nav-list-item"><a href="{{ site.baseurl }}/docs/guides/wire.html" {% if current[3] == 'wire.html' %}class='current'{% endif %}>Wire format</a></li>

_sass/base/_markdown.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
ul {
2727
list-style: initial;
2828
list-style-position: inside;
29-
color: $black;
29+
color: $dark-gray;
3030
font-size: 15px;
3131
margin: 0 20px;
3232

_sass/base/_reset.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
html, body, div, span, applet, object, iframe,
2-
h1, h2, h3, h4, h5, h6, p, figure, blockquote, pre,
3-
a, abbr, acronym, address, big, cite, code,
2+
h1, h2, h3, h4, h5, h6, p, figure, blockquote,
3+
a, abbr, acronym, address, big, cite,
44
del, dfn, em, font, ins, kbd, q, s, samp,
55
small, strike, strong, sub, sup, tt, var,
66
dl, dt, dd, ol, ul, li,

community/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h4 class="community-contribute community-title">Contribute on Github</h4>
4343
</div>
4444
</div>
4545
</div>
46-
<a href="http://wildebeestdev.github.io/grpc.github.io/contribute"><span>More on how to contribute to gRPC Documentation ></span></a>
46+
<a href="{{ site.baseurl }}/contribute"><span>More on how to contribute to gRPC Documentation ></span></a>
4747
</section>
4848

4949
<section class="community-section">

contribute/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2>Edit our site on github</h2>
2525

2626
<p>Click the below button to visit the repo for our site. You can then click the "Fork" button in the upper-right area of the screen to create a copy of our site on your GitHub account called a "fork." Make any changes you want in your fork, and when you are ready to send those changes to us, go to the index page for your fork and click "New Pull Request" to let us know about it.</p>
2727

28-
<button class="btn btn-grpc waves-effect waves-light"><a href="https://github.com/wildebeestdev/grpc.github.io/">Browse this site's source code</a></button>
28+
<button class="btn btn-grpc waves-effect waves-light"><a href="{{ site.githuburl }}">Browse this site's source code</a></button>
2929
</div>
3030
</div>
3131
</div>

js/common.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
// Youtube Player API
25
// create script tag and add to DOM
36
var tag = document.createElement('script');
@@ -222,7 +225,7 @@ $(document).ready(function() {
222225
$("#generalInstructions").hide();
223226
$("#continueEdit").show();
224227
$("#continueEditButton").text("Edit " + forwarding);
225-
$("#continueEditButton").attr("href", "https://github.com/wildebeestdev/grpc.github.io/edit/gh-pages/" + forwarding)
228+
$("#continueEditButton").attr("href", "{{ site.githuburl }}edit/master/" + forwarding)
226229
} else {
227230
$("#generalInstructions").show();
228231
$("#continueEdit").hide();

robots.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ User-agent: *
66
{% for node in site.pages %}{% if node.noindex %}{% assign isset = true %}Disallow: {{ node.url }}
77
{% endif %}{% endfor %}{% if isset != true %}Disallow:
88
{% endif %}
9-
Sitemap: {{ site.baseurl }}/sitemap.xml
9+
Sitemap: {{ site.baseurl }}/sitemap.xml

sitemap.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ sitemap_exclude: y
1717
</url>
1818
{% endif %}
1919
{% endfor %}
20-
</urlset>
20+
</urlset>

0 commit comments

Comments
 (0)