Skip to content

Commit 9255520

Browse files
committed
docs taglink & edit link
1 parent 99a17c5 commit 9255520

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

_layouts/docs.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
<div class="col-md-8">
1414
<h1>{{ page.title }}</h1>
1515
<div>{{ content }}</div>
16+
<p class="text-center">
17+
<a target="_blank" href="{{site.github_address}}/master/{{ page.path }}" class="btn btn-default githubEditButton" role="button">
18+
<i class="fa fa-pencil fa-lg"></i> Improve this page
19+
</a>
20+
</p>
1621
<hr>
1722
{% include section_nav.html %}
1823
</div>

css/main.scss

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ body {
2525
// background-attachment: fixed;
2626
background-size: cover;
2727
background-position: center 36%;
28-
2928
}
3029
.navbar-container {
3130
font-size: 16px;
@@ -39,7 +38,14 @@ body {
3938
background-color: #f5f5f5;
4039
}
4140
.post-list-container {
42-
li a.active {
43-
font-weight: bold;
44-
}
41+
li a.active {
42+
font-weight: bold;
43+
}
44+
}
45+
*[id]:before {
46+
display: block;
47+
content: " ";
48+
margin-top: -75px;
49+
height: 75px;
50+
visibility: hidden;
4551
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="container">
77
<h1>Open Source Middleware Platform</h1>
88
<p>For Networked Embedded Systems, allowing developers to incorporate heterogeneous physical devices into their applications through easy-to-use web services for controlling any device.</p>
9-
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
9+
<p><a class="btn btn-primary btn-lg" href="{{ " /docs/home/ " | prepend: site.baseurl }}" role="button">Learn more</a></p>
1010
</div>
1111
</div>
1212

0 commit comments

Comments
 (0)