Commit graph

188 commits

Author SHA1 Message Date
Fred K. Schott
ca3c16a611 fix bad merge from outdated layout 2021-07-31 08:36:01 -07:00
Fred K. Schott
289450fce6 small cleanup to installation docs 2021-07-30 23:15:24 -07:00
Fred K. Schott
ee95351ee8 add finnish to language selector 2021-07-30 23:11:24 -07:00
Fred K. Schott
bc7dae9faf move finnish translations to fi 2021-07-30 23:05:24 -07:00
Vesa Piittinen
d55fe81d10
WIP: Documentation in Finnish (#837)
* Initial Finnish getting-started.md

* Initial Finnish `quick-start.md`

* Missing word

* Use a different test path name

* Initial Finnish `installation.md`

* Sync with `installation.md`

* WIP Finnish island-architecture.md

* Fix some sillyness

* Delete island-architecture.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-30 23:04:42 -07:00
Diogo Felix
5e9a47ffbc
📘 DOC: Add PostCSS configuration on Astro (#947) 2021-07-30 22:45:56 -07:00
FredKSchott
d7b0080da0 [ci] yarn format 2021-07-31 05:41:22 +00:00
allanvobraun
81d6960a16
Add svelte file extension to tailwind puge configuration. (#964)
Self explanatory.
2021-07-30 22:39:39 -07:00
Fred K. Schott
7c74496149
Docs site cleanup (#948)
* add language selector

* docs site cleanup

* review feedback

* code review comments
2021-07-30 22:39:15 -07:00
Marcus Otterström
d0b8485ddf
Ascii quotes (#928) 2021-07-30 17:34:07 -05:00
FredKSchott
01387674ba [ci] yarn format 2021-07-30 07:54:54 +00:00
Marcus Otterström
6d9ef9c0e9
Fix typos and clarify docs (#880)
* Add more missing words

* Add missing dot

* Add another missing dot

* Clarify what optimized css means (discussed on Discord)

* Remove oxford comma

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-30 00:53:24 -07:00
Fred K. Schott
e9d52bd1cc move translated nl docs 2021-07-29 22:03:56 -07:00
Chris Bongers
ea6af0392c
Started on the getting started dutch docs 🇳🇱 (#855) 2021-07-29 21:33:50 -07:00
Fred K. Schott
8fa228630b small docs font fix 2021-07-29 16:45:48 -07:00
matthewp
59cf6dcca8 [ci] yarn format 2021-07-29 20:33:19 +00:00
Mulai
09fefead88
Fix Github Action setup (#934) 2021-07-29 16:31:47 -04:00
Fred K. Schott
6eeafac715
Add algolia-powered search bar to docs site (#917)
* add search bar

* replace cmd+k with slash hotkey

* update api key

* add localhost support for search
2021-07-29 13:31:41 -07:00
Caleb Jasik
908139642a
📘 DOC: Improve SiteSidebar styles on mobile (#939) 2021-07-29 16:31:18 -04:00
Caleb Jasik
72898e3cd6
Add yarn lint:a11y to the docs project (#804) 2021-07-28 17:00:00 -04:00
matthewp
0849152d36 [ci] yarn format 2021-07-28 18:38:31 +00:00
github-actions[bot]
b4f7888be3
Version Packages (#912)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 14:37:29 -04:00
Maksim Markelov
70f0a09d30
Add remark-slug (#862)
* Add remark-slug

* Add remark-slug in documentation

* Add changeset
2021-07-28 12:33:19 -04:00
Nikola Hristov
5e3e828a44
Fixes typo (#902) 2021-07-28 10:43:09 -05:00
Fred K. Schott
7dfe22ecce remove warning from collections docs 2021-07-27 18:05:48 -07:00
Balázs Orbán
b7630b93e6
docs: add missing matchMedia reference (#895)
* docs: add missing `matchMedia` reference

* Update docs/src/pages/core-concepts/component-hydration.md

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-27 17:22:27 -05:00
matthewp
365f3bd230 [ci] yarn format 2021-07-27 14:36:32 +00:00
Peter Singh
e3d73149f7
DOC: revisions made to the setup section (#864)
* this is the last time im changing these files....

* This is Thats these two files finished off...

* Updated the section setup, a bit

* trying to resolve the conflict

Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2021-07-27 10:35:23 -04:00
Caleb Jasik
0c46a1dab2
Docs/show docsidebar on mobile (#878) 2021-07-27 01:31:07 -05:00
Marcus Otterström
c14d2550b2
Add missing word (#879) 2021-07-26 21:25:48 -05:00
FredKSchott
c8896bd021 [ci] yarn format 2021-07-26 20:42:42 +00:00
Fred K. Schott
60a2755c0a
some docs site polish (#853)
* some docs polish

* attempt to fix theme toggle
2021-07-26 13:41:32 -07:00
Alexandre Desroches
1f09df6c7c
Fixed typo in getting-started.md (#842) 2021-07-24 09:13:20 -05:00
Austin Crim
96f70c3f99
fix table header color (#839)
Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-07-23 23:40:47 +02:00
Tony Sullivan
294a656ed9
Introduce <style global> (#824)
* Adding support for multiple <style> blocks

* Adding support for `<style global>`

* scoping @keyframes should also be skipped for <style global>

* Adding test coverage for muliple style blocks, global blocks, and scoped keyframes

* docs: Updating docs for `<style global>` support

* Adding yarn changeset

* Punctuation fix in styling docs

* docs: Clarifying example use cases given in the docs

Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-23 13:51:27 -04:00
FredKSchott
041788878d [ci] yarn format 2021-07-23 17:12:19 +00:00
Danny Burrows
b5fed3be9b
📘 DOC: Adding github actions example to deploy.md (#823)
* Adding github actions example to deploy.md

* Update wording and example

Made the suggested changes

* Apply suggestions from code review

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-23 10:11:08 -07:00
Caleb Jasik
0c729f248d
docs: adds a skip link so that you can skip the nav via keyboard (#829) 2021-07-22 23:52:01 -05:00
Fred K. Schott
353bc89f65 fix next framework example versions 2021-07-22 21:43:31 -07:00
João Paquim
3b51f4b5e2
docs: fix broken link to Markdown component (#827) 2021-07-22 19:29:32 -05:00
jasikpark
40875600f1 [ci] yarn format 2021-07-23 00:13:51 +00:00
Caleb Jasik
4fd6cfe668
📘 DOC: improve a11y (#806)
* Add `tabindex="0"` to `<pre>` so that they are navigable by keyboard users if they overflow.

* Landmark elements should have unique names https://dequeuniversity.com/rules/axe/4.3/landmark-unique

* Page must have one main landmark https://dequeuniversity.com/rules/axe/4.3/landmark-one-main

- Main landmark must not be contained by another landmark https://dequeuniversity.com/rules/axe/4.3/landmark-main-is-top-level

* Heading level cannot increase by more than one

* Ensure that links with the same accessible name serve a similar purpose

https://dequeuniversity.com/rules/axe/4.3/identical-links-same-purpose

* Just update the accessible name and require context for the visible link name

* Fix CSS from the removal of the second <main>

* Revert heading level change
2021-07-22 19:12:37 -05:00
Caleb Jasik
7b600d597b
Move site to a prop instead of directly importing from within the component. (#803) 2021-07-22 19:08:45 -05:00
FredKSchott
bea8154f69 [ci] yarn format 2021-07-22 14:07:25 +00:00
Danny Burrows
55195200fa
Update deploy.sh to include touch .nojekyll (#819)
* Update deploy.sh to include touch .nojekyll

* Update deploy.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-22 07:05:53 -07:00
Chris Bongers
022382cd3f
Added docs for community plugins 📗 (#799)
* Added docs for community plugins 📗

* Updated copy for keywords 🔗
2021-07-22 07:04:19 -07:00
João Paquim
6d37b7f80e
docs: remove duplicate section describing slots (#820)
With the recently added documentation describing named slots, the previous Slots section was redundant, and was consolidated into the same section.
2021-07-22 07:02:29 -07:00
natemoo-re
561cbee68f [ci] yarn format 2021-07-21 23:11:40 +00:00
Nate Moore
bd18e14a2c
Expose JSX compilation to renderers (#588)
* feat: add support for `jsxImportSource`, new JSX transform

* Renderer: add Solid renderer (#667)

* feat: add support for `jsxImportSource`, new JSX transform

* WIP: solid renderer

* [Renderer] Solid (#656)

* feat: add support for `jsxImportSource`, new JSX transform

* WIP: solid renderer

* Solid renderer: fix SSR of children, hydration (top level)

Caveat: cannot hydrate children/descendants of hydrated parents

* Fix hydration of fragments

* fix: SyntaxError in React/Preact renderers

* fix: errors in React/Preact renderers

* feat: update react external

* chore: update examples

* chore: delete old changelog

* chore: update astro config

Co-authored-by: Nate Moore <nate@skypack.dev>

* Changing the preact to Solid (#669)

* chore: use new client:visible syntax

* fix: dev script issue

* chore: cleanup SolidJS example

* docs: update framework example docs

* chore: cleanup framework-multiple example

* fix: remove SolidJS false-positives from Preact renderer

* chore: add changeset

Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>

* feat(create-astro): add Solid support

* docs: add JSX options to renderer reference

* chore: add changeset for P/React renderers

* fix: move react/server.js to external

* chore: remove brewfile

* Revert "feat: add support for `jsxImportSource`, new JSX transform"

This reverts commit 077c4bfc135c58a85d4ebfca6012e90403694d8d.

* fix: remove `react-dom/server` from `external`

* chore: remove unused dependency

* feat: improve JSX error messages

* Revert "Revert "feat: add support for `jsxImportSource`, new JSX transform""

This reverts commit f6c2896b9ec6430611fc0abae7d586c42aca87e5.

* docs: update jsxImportSource

* feat: improve error message

* feat: improve error logging for JSX renderers

* tests: add jsx-runtime tests

* chore: update snowpack

Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
2021-07-21 18:10:03 -05:00
Jesus Gil
ba6b47eda7
Hsla composition (#790)
* update theme colors to hsla

* Add light navbar bg color

* remove duplicate color assignments in Note.astro

* clean up

Clean up css variables and document use of hsla colors
2021-07-21 18:02:45 -05:00