Skip to content

Commit e0be42b

Browse files
authored
Merge pull request #23 from pikinier20/scaladoc/api-page-content
Api page content
2 parents 6029029 + 8f0a124 commit e0be42b

File tree

79 files changed

+1675
-583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1675
-583
lines changed

docs/_assets/images/logo.svg

Lines changed: 5 additions & 9 deletions
Loading

docs/_assets/images/logo_dark.svg

Lines changed: 5 additions & 9 deletions
Loading

docs/_layouts/doc-page.html

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
---
22
layout: static-site-main
33
---
4+
45
<main>
56
<header>
6-
<h1>{{ page.title }}</h1>
77
{% if urls.editSource %}
8-
<div class="byline">
9-
<a href="{{ urls.editSource }}">
10-
<i class="far fa-edit"></i>
11-
Edit this page on GitHub
12-
</a>
13-
</div>
8+
<a class="text-button with-link body-small" href="{{ urls.editSource }}">
9+
Edit this page on GitHub
10+
</a>
1411
{% endif %}
12+
<h1 class="h600">{{ page.title }}</h1>
1513
</header>
1614
{{ content }}
1715
</main>
18-

docs/_layouts/static-site-main.html

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,37 @@
66
<div id="site-header"></div>
77
{% if page.movedTo %}
88
<aside class="warning">
9-
This is a nightly documentation. The content of this page may not be consistent with the current stable version of language.
10-
Click <a href="{{ page.nightlyOf }}">here</a> to find the stable version of this page.
9+
This is a nightly documentation. The content of this page may not be
10+
consistent with the current stable version of language. Click
11+
<a href="{{ page.nightlyOf }}">here</a> to find the stable version of this
12+
page.
1113
</aside>
1214
{% endif %} {{ content }}
13-
<nav class="arrows-wrapper" aria-label="Page navigation">
15+
<nav class="arrow-navigation" aria-label="Page navigation">
1416
{% if page.previous %}
15-
<a
16-
rel="prev"
17-
href="{{ page.previous }}"
18-
class="arrows previous"
19-
aria-keyshortcuts="Left"
20-
>
21-
<i class="fa fa-angle-left"></i>
22-
</a>
17+
<div>
18+
<span class="body-small">Previous</span>
19+
<a
20+
rel="prev"
21+
href="{{ page.previous.url }}"
22+
aria-keyshortcuts="Left"
23+
class="body-medium"
24+
>
25+
<span class="body-medium">{{ page.previous.title }}</span>
26+
</a>
27+
</div>
2328
{% endif %} {% if page.next %}
24-
<a
25-
rel="next"
26-
href="{{ page.next }}"
27-
class="arrows next"
28-
aria-keyshortcuts="Right"
29-
>
30-
<i class="fa fa-angle-right"></i>
31-
</a>
29+
<div>
30+
<span class="body-small">Next</span>
31+
<a
32+
rel="next"
33+
href="{{ page.next.url }}"
34+
aria-keyshortcuts="Right"
35+
class="body-medium"
36+
>
37+
<span class="body-medium">{{ page.next.title }}</span>
38+
</a>
39+
</div>
3240
{% endif %}
3341
</nav>
3442
<div class="content-contributors hidden">

0 commit comments

Comments
 (0)