]> git.lizzy.rs Git - rust.git/commitdiff
Add a small search box to seach Rust's standary library
authorKazuyoshi Kato <kato.kazuyoshi@gmail.com>
Sat, 15 Sep 2018 06:28:32 +0000 (23:28 -0700)
committerKazuyoshi Kato <kato.kazuyoshi@gmail.com>
Sat, 15 Sep 2018 06:28:32 +0000 (23:28 -0700)
This change partially addresses #14572. No CSS doesn't look fancy
but at least it is functional.

src/doc/index.md

index 11313ba99e1a6ea8398908ba514b96db585f8897..b1788d8c32f02aa70d6c61d4c3e3b96776bc8044 100644 (file)
@@ -43,6 +43,13 @@ Rust's standard library has [extensive API documentation](std/index.html),
 with explanations of how to use various things, as well as example code for
 accomplishing various tasks.
 
+<div>
+  <form action="std/index.html" method="get">
+    <input type="search" name="search"/>
+    <button>Search</button>
+  </form>
+</div>
+
 ## The Rustc Book
 
 [The Rustc Book](rustc/index.html) describes the Rust compiler, `rustc`.