Nate Moore
73b7827b40
chore: update docs to new defaults ( #133 )
2021-04-27 13:42:03 -05:00
Matthew Phillips
41c64b30af
Move the request
object from import.meta to Astro ( #134 )
...
* Move the `request` object from import.meta to Astro
This moves the `request` object to the Astro "global" (really just a render-level variable).
* Document Astro.request
2021-04-27 14:00:33 -04:00
Nate Moore
dea1a6dfc9
Update defaults directory structure to src
and dist
( #132 )
...
* chore: update defaults in docs
* chore: update config defaults
* test: update tests to config defaults
* chore: update gitignore to new defaults
* docs: update readme to new defaults
* chore: update examples to new defaults
* chore: update default exclude in lang server
* chore: update tests
* test: fix failing tests
* chore: update www defaults
2021-04-26 15:54:20 -06:00
Matthew Phillips
0ea4a986e2
Support 500 pages in the dev server ( #131 )
...
* Support 500 pages
* Document custom 400/500 pages
* Remove search from any pages not the 500 page
* fix(kitchen-sink): add snowpack.config.js
* fix(examples): add snowpack.config.js
* style: redesign built-in 500 page
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-26 16:42:11 -04:00
Drew Powers
510e7920d2
Add RSS generation ( #123 )
2021-04-23 10:44:41 -06:00
Matthew Phillips
da033e27ea
CLI docs ( #121 )
...
* Start of cli docs
* Document the CLI
Also adds support for the `--config` option and `--port` option for the dev server.
* Add tests for --config and --port flags
* Add port to validateConfig
2021-04-22 08:25:57 -04:00
Drew Powers
76932822b8
Split README into docs ( #118 )
2021-04-20 17:15:47 -06:00