diff --git a/website/index.html b/website/index.html index 9ac39a3442..d4ab58c67e 100644 --- a/website/index.html +++ b/website/index.html @@ -16,7 +16,7 @@ -

Deno

+

#Deno

A new way to JavaScript @@ -99,16 +99,16 @@

-

Install

+

#Install

-

With Shell

+

#With Shell

curl -fL https://deno.land/x/install/install.sh | sh
-

With PowerShell

+

#With PowerShell

iex (iwr https://deno.land/x/install/install.ps1)
-

Mini-tutorial

+

#Mini-tutorial

-

Try a Deno program. This one serves a local directory in HTTP.

+

#Try a Deno program. This one serves a local directory in HTTP.

 alias file_server="deno \
   https://deno.land/x/http/file_server.ts --allow-net"
@@ -124,7 +124,7 @@ HTTP server listening on http://0.0.0.0:4500/
       

And if you ever want to upgrade to the latest published version:

file_server --reload
-

Dig in...

+

#Dig in...

Documentation @@ -140,14 +140,14 @@ HTTP server listening on http://0.0.0.0:4500/

-

Continuous Benchmarks

+

#Continuous Benchmarks

These plots are updated on every commit to

master branch

-

Execution time

+

#Execution time

This shows how much time total it takes to run a few simple deno programs:

tests/002_hello.ts @@ -168,7 +168,7 @@ HTTP server listening on http://0.0.0.0:4500/

-

Throughput

+

#Throughput

Time it takes to pipe a certain amount of data through Deno.

@@ -183,7 +183,7 @@ HTTP server listening on http://0.0.0.0:4500/
-

Req/Sec

+

#Req/Sec

Tests HTTP server performance. 10 keep-alive connections do as many @@ -224,15 +224,15 @@ HTTP server listening on http://0.0.0.0:4500/

-

Executable size

+

#Executable size

deno ships only a single binary. We track its size here.

-

Thread count

+

#Thread count

How many threads various programs use.

-

Syscall count

+

#Syscall count

How many total syscalls are performed when executing a given script.

diff --git a/website/style.css b/website/style.css index eaaf4b6fab..95e558b289 100644 --- a/website/style.css +++ b/website/style.css @@ -32,6 +32,16 @@ a.badge:hover { box-shadow: 0 0 5px 0 #333; } +a[href^="#"] { /* Hash links */ + text-decoration: none; + color: #3bace5; + margin-right: 0.5rem; +} +a[href^="#"]:hover { + text-decoration: underline; + color: #3d9bcc; +} + pre { background: #ddd; padding: 15px;