Commit graph

407 commits

Author SHA1 Message Date
Drew Powers
2c15795607 Minor change to jsxTransformOptions, update Renderer API docs (#1630) 2021-10-22 16:25:38 -06:00
Drew Powers
d1a73e4c38 [next] Add CSS preprocessing (#1589)
* Add concept for style support in Astro

* Update style preprocessor to use new compiler

* fix: massage preprocessStyle type

* fix: @astrojs/compiler types

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-10-22 16:25:38 -06:00
AsyncBanana
18222cf61b Add environment variables docs (Closes #873) (#1587)
* Added environment variables docs (Closes #873)

* Fixed prefix
2021-10-22 16:25:37 -06:00
Drew Powers
cd76229ed7 Restructure (#1569) 2021-10-22 16:25:36 -06:00
Nate Moore
62106902bb [Next] fetch support (#1563)
* fix: polyfill fetch in every ssr scenario

* test(fetch): update fetch tests

* docs: update data fetching guide to remove caveats about `fetch` and isomorphic usage

* refactor: update regex for clarity
2021-10-22 16:25:36 -06:00
Drew Powers
1d2da117bd Allow users to pass config to Vite 2021-10-22 16:25:36 -06:00
Drew Powers
ddca8c4dea Move Astro to Vite 2021-10-22 16:25:35 -06:00
Kyosuke
7f72d94401
Docs: Add Japanese Installation page (#1608)
* docs: Add Japanese installation page

* yarn format

* fix anchor links
2021-10-20 16:52:12 -06:00
Yusuf
11eaa81929
docs(pagination): change h1 to li on example using page props (#1604) 2021-10-20 16:47:26 -06:00
AsyncBanana
93f0f1b756
Fix sponsors title contrast (#1590) 2021-10-20 17:24:48 -05:00
Diego Leme
08524613bb
Fix relative link (#1613)
From: `https://docs.astro.build/quick-start/installation`
To: `https://docs.astro.build/installation`
2021-10-20 16:10:47 -06:00
Caleb Jasik
f798663570
Docs/update-gitlab-deploy (#1586)
Co-authored-by: Peter Singh <drgaud@hotmail.com>
2021-10-18 22:15:04 -05:00
AsyncBanana
8c739f9ed1
Changed docs TOC buttons to be better touch targets (#1570) 2021-10-18 19:50:10 +02:00
AsyncBanana
d4397c4e67
Removed duplicated info from getting started for other languages (#1571) 2021-10-18 19:46:58 +02:00
AsyncBanana
c681d1043d
Made sponsored links more accessible (#1576) 2021-10-18 19:34:57 +02:00
AsyncBanana
f49d312134
Added label to language selection (#1577) 2021-10-18 19:34:11 +02:00
tony-sull
3e51037262 [ci] yarn format 2021-10-18 17:28:06 +00:00
Stephan Bogner
c2b3efeca8
Added clarifications regarding using images and videos especially regarding Markdown (#1583) 2021-10-18 19:26:53 +02:00
AsyncBanana
a6759106f1
Fix comparison heading order (#1572) 2021-10-18 08:29:10 -04:00
Logan Blangenois
f00d95a5b5
fix: update link in fr version (#1562)
- Fix quick-start that redirect to 404
- Fix installation that redirect to en version
2021-10-15 09:26:11 -06:00
Drew Powers
7e4f91db60
Add Vercel sponsorship logo (#1555)
* Add Vercel sponsorship logo

Also normalize other logos

* Add Vercel logo to www

* Add logos to docs
2021-10-14 12:25:46 -06:00
Henrique Borges
59f9201774
Include pnpm example on "Installation" page (#1554) 2021-10-14 14:09:02 -04:00
AsyncBanana
4dbad5d5ff
Added descriptions to docs pages (#1550) 2021-10-14 08:33:58 -04:00
Mark Teekman
8c308a1490
Add Community Themes and separate Featured Theme (#1543)
* Separate object for featured and community themes

I've split up the two so there's the featured one at the top at the page and community ones below the official themes

* Add community themes and change featured themes

* Add comma after featured object
2021-10-13 16:22:00 -04:00
matthewp
660481444b [ci] yarn format 2021-10-13 17:09:37 +00:00
Jorge del Casar
9d53dfbfb2
docs: unify concepts in Spanish version (#1545) 2021-10-13 13:08:19 -04:00
matthewp
348ba366f7 [ci] yarn format 2021-10-13 16:23:19 +00:00
Silas Krause
5cbd9d8a5c
Add german quick start page (#1544)
* Add german quick start page

* Apply suggestions from code review

Co-authored-by: Kim Schneider <web@schneider.kim>

* Fix typo

Co-authored-by: Kim Schneider <web@schneider.kim>
2021-10-13 12:22:01 -04:00
Brandon
c7ca17c5ec
docs: fix knownEntryPoints and add async renderToStaticMarkup example (#1489) 2021-10-12 15:30:21 -04:00
Drew Powers
86ddc8cf38
Revert #1520 (#1538) 2021-10-12 12:35:23 -06:00
Mark Teekman
b2b1174623
Add Accessible Astro Starter (#1520)
This is only a suggestion to get the word out about accessibility BUT, if you guys just want to show one featured theme then I understand and Ink would be better suited 😄 If that's the case just decline the request 🙂
2021-10-12 12:27:40 -06:00
Sebastian Gorton Kalvik
f58ec6fe16
Fix broken link to quick-start guide (#1534) 2021-10-12 13:30:51 -04:00
matthewp
d59b657395 [ci] yarn format 2021-10-12 17:06:04 +00:00
Paul Mineev
ab990b2204
[docs/ru] add translation for quick start (#1524)
* [ru] add translation for quick start

* fix mistakes
2021-10-12 13:03:25 -04:00
Jorge del Casar
f6d0631cee
docs: spanish translation (#1531) 2021-10-12 13:02:34 -04:00
matthewp
6ea1119a32 [ci] yarn format 2021-10-12 16:36:32 +00:00
Elian ☕️
d90c0456b5
Add docs for deploying using Google Cloud (#1533) 2021-10-12 12:35:05 -04:00
matthewp
b21eafd35c [ci] yarn format 2021-10-12 15:58:26 +00:00
Maciej Palmowski
0816ac0636
Documentation for deploying with buddy.works (#1506)
* Added documentation for deploying to Buddy

* Fix to make it more clear
2021-10-12 11:56:58 -04:00
matthewp
b1b564d03d [ci] yarn format 2021-10-11 12:13:35 +00:00
Matthew Phillips
dbd2f5076b
Adds the astro check command (#1410)
* Adds the `astro check` command.

This adds `astro check`, which runs type checking (and general error
    checking) on Astro projects.

* print the number of errors found

* Adds a changeset

* Add cli docs

* Upgrade the language server version

* Prevent linting the console.logs
2021-10-11 08:12:15 -04:00
jasikpark
22751e0ff9 [ci] yarn format 2021-10-10 14:55:44 +00:00
Andrei Marukhin
7451f04171
Typo in code snippet (#1523) 2021-10-10 09:54:37 -05:00
jasikpark
7627ee1fae [ci] yarn format 2021-10-09 22:32:09 +00:00
Pipo
2d2af9ee97
i18n/es: Added comparing-astro-vs-others.md (#1488) 2021-10-09 17:27:37 -05:00
jasikpark
71c7347135 [ci] yarn format 2021-10-09 22:18:43 +00:00
Kyosuke
4786ceddab
Docs: Add Japanese quick-start page (#1503) 2021-10-09 17:17:34 -05:00
Rafid Muhymin Wafi
65924004f7
Added astro-spa to the featured packages (#1485) 2021-10-05 22:57:20 -05:00
AsyncBanana
046756c0fb
Update comparison to reflect Gatsby SSR Support (#1474)
* Updated comparison to reflect Gatsby SSR Support

Updated comparison to show that Gatsby now supports SSR in version 4, as show by https://v4.gatsbyjs.com/docs/how-to/rendering-options/using-server-side-rendering/

* Clarified support in future versions

Small change just because it clarifies it better and I didn't add it in the original commit

* Removed Gatsby SSG paragraph

* Added information to Gatsby comparison
2021-10-01 17:43:50 -07:00
Mikkel Tønder
c1aa4b4d2d
docs: Improvements to language select and theme toggle (#1473) 2021-10-01 15:09:10 -04:00