Skip to content

Commit dd0cf4d

Browse files
oddgrdseanmonstar
authored andcommitted
feat: 0.14/1.0 tabs, update 1.0 guides index
1 parent ea6e66b commit dd0cf4d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

_includes/header.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<li class="nav-item">
66
<a class="navbar-brand" href="/">hyper.rs</a>
77
</li>
8-
<li class="nav-item"><a class="nav-link" href="/guides">Guides</a></li>
8+
<li class="nav-item"><a class="nav-link" href="/stable">1.0 Guides</a></li>
9+
<li class="nav-item"><a class="nav-link" href="/guides">0.14 Guides</a></li>
910
<li class="nav-item"><a class="nav-link" href="https://github.com/hyperium/hyper">Source</a></li>
1011
</ul>
1112
</div>

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="container">
1010
<h1 class="hyper-logo">hyper</h1>
1111
<p>Fast and safe HTTP for the Rust language.</p>
12-
<p><a href="/guides" class="btn hyper-getstarted">Get Started</a></p>
12+
<p><a href="/stable" class="btn hyper-getstarted">Get Started</a></p>
1313
</div>
1414
</section>
1515
<section class="container">

_stable/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can start using it by first adding it to your `Cargo.toml`:
1010

1111
```toml
1212
[dependencies]
13-
hyper = "0.14"
13+
hyper = { version = "1.0.0-rc.1", features = ["full"] }
1414
```
1515

1616
- If building a web server, continue with the [Server guide][].
@@ -19,5 +19,5 @@ hyper = "0.14"
1919
You could also look at the [generated API documentaton][docs].
2020

2121
[docs]: {{ site.docs_url }}
22-
[Server guide]: server/hello-world.md
23-
[Client guide]: client/basic.md
22+
[Server guide]: server/hello-world
23+
[Client guide]: client/basic

0 commit comments

Comments
 (0)