Commit graph

96 commits

Author SHA1 Message Date
Yoshiya Hinosawa
4dbc33c6e3 docs: fix example (#1936) 2019-03-15 11:52:45 -04:00
Jack Rowlingson
bf9e5334a8 Fix command in manual.md (#1931) 2019-03-14 10:18:35 -04:00
Jed Fox
ad21be8370 manual: Improve formatting (#1842) 2019-03-11 23:39:46 -04:00
Yoshiya Hinosawa
aed3e590ba docs: package.ts -> deps.ts (#1903) 2019-03-08 13:10:14 -05:00
Ryan Dahl
c42a9d7370
Upgrade deno_std (#1892)
A major API change was that asserts are imported from testing/asserts.ts
now rather than testing/mod.ts and assertEqual as renamed to
assertEquals to conform to what is most common in JavaScript.
2019-03-06 20:48:46 -05:00
Andy Hayden
91364cabae Replace deno.land/x/std with deno.land/std (#1890) 2019-03-06 10:23:47 -05:00
Grant Timmerman
4f623e37c5 Fix website manual link (#1889) 2019-03-05 21:57:57 -05:00
Bert Belder
860be9f0de
tools: remove fix_symlinks() function
This fixes an issue on Windows that causes build to fails when
fix_symlinks() is called concurrently with another build step.

It is also no longer necessary, since recent versions of git know how to
properly create symbolic links on checkout.
2019-03-04 21:01:52 -08:00
Ryan Dahl
e23d0b3452 Improve tagline in README (#1881) 2019-03-04 21:01:32 -08:00
Simon Menke
77d7ad61f3 Allow inspection and revocation of permissions (#1875) 2019-03-04 11:04:19 -05:00
JaePil Jung
1a695dd58b Fix deno imports in manual (#1867) 2019-03-02 16:24:33 -05:00
Bartek Iwańczuk
39ed975911 manual - import.meta.main (#1868) 2019-03-02 15:02:47 -05:00
Ryan Dahl
bf95acf3eb
Fix example in manual (#1863) 2019-03-02 14:58:50 -05:00
Jon Jee
1cc02a5d9d Add favicon.ico generated by deno_logo_3.svg and add link tag in every page (#1861) 2019-03-01 02:59:26 -05:00
Ryan Dahl
33a6409db9
Add NO_COLOR to CLI usage (#1843) 2019-02-27 00:14:10 -05:00
Ryan Dahl
e7e4cb037d
Use the SVG logo everywhere. Add logo links to manual. (#1841) 2019-02-27 00:13:49 -05:00
Kevin (Kun) "Kassimo" Qian
8dee6ea454 Add "Dino in the Rain" to manual page (#1840) 2019-02-26 11:53:34 -05:00
Ryan Dahl
e109941bd2 Improve readme (#1822) 2019-02-21 20:22:44 -08:00
Bartek Iwańczuk
9d025facaa manual: add Deno.run example (#1811) 2019-02-21 15:52:35 -05:00
EnokMan
8c6d6b2832 Add section explaining resources and metrics to the manual (#1819) 2019-02-20 03:29:25 -05:00
Dmitry Teplov
36eecad148 fix: revert http server example on the homepage (#1814) 2019-02-19 22:53:03 -05:00
Ryan Dahl
42408febe8 Add window.location 2019-02-18 23:04:59 -05:00
Bartek Iwańczuk
57dee15844 Add example of starting subprocess to docs (#1791) 2019-02-18 18:52:46 -05:00
Saad Quadri
97e29e3dd0 Fix http server example in homepage (#1801)
This fixes http server example by updating the import path as well as
using respond() correctly.
2019-02-18 18:20:58 -05:00
Mark Tiedemann
a1de28dbef Update installation documentation (Fixes #1786) (#1802) 2019-02-18 18:19:43 -05:00
Maxim Mazurok
55b2f0195f Rename welcome.js to welcome.ts (#1803) 2019-02-18 18:18:00 -05:00
EnokMan
96afb62dfb Add code block language decoration to StyleGuide doc (#1799) 2019-02-17 00:15:19 -05:00
Luke
a8ebb8f05a Added website icon link (#1792) 2019-02-16 09:02:14 -05:00
满远荣
1d7c74e9b5 Syntax highlighting on the website paegs (#1780) 2019-02-15 11:15:44 -05:00
Kitson Kelly
8686f49ee4 Update contribution guidelines (#1771)
To make it clearer how people should indicate that are contributing to Deno.
2019-02-13 20:12:11 -05:00
Philipp A
e782ba1a6f Use proper directory for cache files (#1763)
Operating systems have defined directories for cache files.
That allows them to do smart things such as leaving them out when doing a backup,
or deleting them when disk space gets low.

Also a %home%\.deno folder on windows made no sense whatsoever.

Fixes #481
2019-02-13 08:57:00 -05:00
Ryan Dahl
473d7317ea
More web design work (#1759) 2019-02-12 23:54:08 -05:00
Ryan Dahl
0b0d962eb9
Revert "Rewrite tools/format.py in deno (#1528)" (#1752)
tools/format.ts is making CI flaky and it's difficult to run right now.
Reverting to tools/format.py

This reverts commit f19622e768.
2019-02-12 15:20:32 -05:00
Kitson Kelly
a21a5ad2fa Add Deno global namespace (#1748)
Resolves #1705

This PR adds the Deno APIs as a global namespace named `Deno`. For backwards
compatibility, the ability to `import * from "deno"` is preserved. I have tried
to convert every test and internal code the references the module to use the
namespace instead, but because I didn't break compatibility I am not sure.

On the REPL, `deno` no longer exists, replaced only with `Deno` to align with
the regular runtime.

The runtime type library includes both the namespace and module. This means it
duplicates the whole type information. When we remove the functionality from the
runtime, it will be a one line change to the library generator to remove the
module definition from the type library.

I marked a `TODO` in a couple places where to remove the `"deno"` module, but
there are additional places I know I didn't mark.
2019-02-12 10:08:56 -05:00
Ryan Dahl
a4dec944bc
web design (#1728) 2019-02-11 17:41:13 -05:00
Kaley Main
39429a261d Add log-scale to execution graph (#1694) 2019-02-06 18:08:26 -05:00
Ryan Dahl
2782d03b29 Remove excessive anchor links. (#1664) 2019-02-06 11:05:38 -08:00
Jimmy Moon
748b0f9c9d Remove duplicated links in website (#1668) 2019-02-04 12:45:05 -05:00
JaePil Jung
66cea39067 Fixed chart width to responsive (#1670) 2019-02-04 08:40:39 -05:00
Dmitry Sharshakov
cb95797e27 Add hashlinks to website (#1659) 2019-02-03 13:24:33 -05:00
Sergey Golovin
201b520c9a Refactor markup of the site (#1663) 2019-02-03 12:49:38 -05:00
Ryan Dahl
1d48e025d3
web design (#1655) 2019-02-02 18:40:18 -05:00
hashrock
7ecd665ddf Add an animated logo (#1653) 2019-02-02 03:56:24 -05:00
Ryan Dahl
b9e368cb4c
Add snapshot_compiler.bin to binary size benchmark (#1611) 2019-01-30 14:01:13 -05:00
Ryan Dahl
514b7d3359
Remove Travis benchmark (#1617)
- We don't look at this benchmark because it jumps around. It isn't
  stable so doesn't feel trustable.
- It requires an extra request for every homepage visit. This is
  excessive.
- I would gladly reintroduce it if we could store the results of the API
  call into a JSON file like we do with other benchmarks.
2019-01-30 13:28:55 -05:00
Dmitry Sharshakov
7c4265159a Change subtitle to 'A new way to JavaScript' (#1603) 2019-01-28 11:54:09 -05:00
Dmitry Sharshakov
2f000303f2 Add PWA manifest to website (#1585) 2019-01-26 12:19:47 -05:00
Dmitry Sharshakov
50613c2df5 Add PowerShell install guide to the website (#1590) 2019-01-26 10:26:54 -05:00
Dmitry Sharshakov
ec4858bcbd Make links and badges look better (#1588) 2019-01-26 10:24:02 -05:00
Dmitry Sharshakov
34dbd31593 Use shell installer in docs (#1574) 2019-01-25 13:40:56 -05:00