diff --git a/.travis.yml b/.travis.yml index 977b9d5..7a31406 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,7 @@ matrix: provider: pages skip-cleanup: true github-token: *GH_TOKEN - local-dir: docs/book + local-dir: docs keep-history: false on: branch: master diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..6333d3e --- /dev/null +++ b/docs/index.html @@ -0,0 +1,50 @@ + + + + wasm-pack + + + + + +
+
+
+ + +
+
+ + + + diff --git a/docs/installer/index.html b/docs/installer/index.html index f4463b2..faf9ab0 100644 --- a/docs/installer/index.html +++ b/docs/installer/index.html @@ -1,20 +1,13 @@ - wasm-pack + + + +
+ +

Install wasm-pack

+
+ -
- Install wasm-pack! A tool with a blurb here. -
- - - - - - - -
-
-

- To install wasm-pack, if you are running Unix,
- run the following in your terminal, then follow the onscreen - instructions. -

-
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
-
- -
- -
-

- If you are running Windows 64-bit,
download and run - wasm-pack-init.exe - then follow the onscreen instructions. -

-
- -
+ -
-

- For all other platforms, run the following in your terminal: -

-
cargo install wasm-pack
-
-
+ - +
+
+

+ To install wasm-pack, if you are running a *nix system (Unix, Linux, MacOS),
+ run the following in your terminal, then follow the onscreen + instructions. +

+ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh +
+
+
+

+ If you are running Windows 64-bit,
download and run + wasm-pack-init.exe + then follow the onscreen instructions. +

+
+
+
+

+ For all other platforms, run the following in your terminal: +

+ cargo install wasm-pack +
+
+
+
+ + diff --git a/docs/public/custom.css b/docs/public/custom.css new file mode 100644 index 0000000..847d1b8 --- /dev/null +++ b/docs/public/custom.css @@ -0,0 +1,98 @@ +@import url('https://fonts.googleapis.com/css?family=Raleway'); + +.navbar { + display: block; + width: 100%; + height: 6.5rem; + background: #fff; + z-index: 99; + border-bottom: 1px solid #eee; +} + +.navbar-list { + list-style: none; + margin-bottom: 0; +} + +.navbar-item { + position: relative; + float: right; + margin-bottom: 0; +} + +.navbar-logo { + position: relative; + float: left; + margin-bottom: 0; +} + +.navbar-logo a img { + width: 50px; +} + +.navbar-item a { + text-transform: uppercase; + font-size: 11px; + font-weight: 600; + letter-spacing: .2rem; + margin-right: 35px; + text-decoration: none; + line-height: 6.5rem; + color: #222; +} + +#logo, #installer { + text-align: center; +} + +#logo { + padding: 50px; +} + +#logo img { + width: 80%; +} + +#logo h1, h2 { + text-align: center; +} + +#logo h2 { + font-size: 1.8rem; + letter-spacing: 0.01rem; + color: #222; +} + +#installer a.button { + width: 100%; + height: 20%; + font-size: 1.8rem; + padding: 1.8rem; + margin: 10rem 0 1.8rem 0; + background-color: #6556EC; + border-color: #6556EC; +} + +#installer img { + padding: 50px; + width: 20%; +} + +.curl { + padding: 50px; +} + +.curl p { + margin-top: 50px; +} + +.curl code { + padding: 20px; + font-size: 2rem; + background-color: #000; + color: #fff; +} + +a { + color: #6556EC; +} diff --git a/docs/public/img/rustwasm.png b/docs/public/img/rustwasm.png new file mode 100644 index 0000000..fe6bc01 Binary files /dev/null and b/docs/public/img/rustwasm.png differ diff --git a/docs/public/img/wasm-ferris.png b/docs/public/img/wasm-ferris.png new file mode 100644 index 0000000..6ce3ec6 Binary files /dev/null and b/docs/public/img/wasm-ferris.png differ