Commit graph

536 commits

Author SHA1 Message Date
matthewp
939886ff47 [ci] yarn format 2022-02-04 18:51:12 +00:00
Juan Martín Seery
cfeaa9414a
fix: import local plugins into markdown (#2534)
* Replaced "UnifiedPluginImport" for a function

* Updated tests

* Updated docs

* Updated examples

* Added changeset

* Fixed tests

* Removed unused "UnifiedPluginImport"

* Duplicated add-classes.mjs
2022-02-04 13:49:50 -05:00
github-actions[bot]
dd1a14a2eb
[ci] release (next) (#2492)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-01 08:52:57 -05:00
Juan Martín Seery
6fe1b0279f
Add Shiki as an alternative to Prism (#2497)
* [ci] yarn format

* Added shiki to markdown-remark

* Upgraded astro shiki

* Added minimal example

* Changed defaults to match <Code />

* Replace `shiki` with `astro` classes

* Added documentation

* Updated Astro code to use new `codeToHtml`

* Added changesets

* Added basic test

* Updated tests a bit

Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
2022-01-31 16:14:07 -06:00
Angie
d8b50c9e68
Missing '&' in example of scoped styles (#2485)
Style is written in SCSS, so there is missing '&' in nesting data-theme
2022-01-31 16:28:58 -05:00
Lee Robinson
9c48c2b58e
Update deployment documentation for Vercel. (#2500)
* Update deployment documentation for Vercel.

* Update spanish docs too.

* Apply suggestions from code review
2022-01-31 13:15:59 -06:00
Marty Nelson
46085e6d8c
update pages config doc description (#2478) 2022-01-27 17:45:01 -05:00
Marty Nelson
2a24147d68
Aligns docs on pages config with reality (#2477) 2022-01-27 17:00:08 -05:00
jonathantneal
b48ab95d8e [ci] yarn format 2022-01-25 17:50:50 +00:00
Evan Boehs
cc050a7cc3
Add note about imports to migration guide (#2467)
* Update 0.21.0.md

* Improve grammar

* add bug note
2022-01-25 12:49:38 -05:00
MostlyWhat
d081d342b6
Change from Intall to Install in line 239 (#2457)
Someone forgot to add an "s" into install, so I added one.
2022-01-25 09:53:13 -05:00
Gustavo Paes
ac0e20d9f2
doc: fix "Astro Components" link reference (#2431)
* doc: fix Astro components link

* doc: does not include a trailing slash

Co-authored-by: Evan Boehs <evan@boehs.org>

Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 14:19:28 -06:00
jonathantneal
662f10ceb6 [ci] yarn format 2022-01-19 20:37:37 +00:00
Obinna Ekwuno
cdee6e48bb
Update Cloudflare pages to show gitlab support (#2357)
* Update Cloudflare pages to show gitlab support

* Update deploy.md
2022-01-19 15:36:31 -05:00
jonathantneal
18bb39f0d4 [ci] yarn format 2022-01-19 20:36:00 +00:00
Nate Moore
85ad1aab67
feat: add support for styled RSS feeds (#2371) 2022-01-19 15:34:52 -05:00
Ramanathan10
04c2e2e4cd
update image reference path (#2417) 2022-01-19 15:25:02 -05:00
X7md
a8494a91d4
Fix arabic docs (#2408)
* add logos for github dark mode

* Hot fix (gh-*-mode-only) issue 

"that's an issue with wrapping an image in a link. We are currently still looking into how to best solve this. However, you can do the following which should work."
- dipree

* delete <td> 'cuz it was duplicate

* [ci] yarn format

* remove unnecessary code tag

Co-authored-by: X7md <X7md@users.noreply.github.com>
2022-01-19 15:24:09 -05:00
Chris Swithinbank
9deada68b4
Fix visibility of focused skip link on docs site (#2405)
* Fix visibility of focused skip link on docs site

The `sr-only` utility class used on the “Skip to Content” link at the top of each page in the docs is designed to be paired with the `focus:not-sr-only` class. `focus:not-sr-only` was missing on the skip link, meaning it was never shown even when focused.

* Fix visibility of focused skip link in docs example project

Apply the same fix as ac890b56 to the same component in the docs starter project.
2022-01-19 15:22:40 -05:00
Jang Rush
da1cc0fd2b
fix: path error in sample markdown code (#2401)
The path denoted in the markdown sample code is
src/pages/index.md
Thus, to refer to a layout component in src/layouts,
we should use ../layouts/ instead of ../../layouts/.
2022-01-19 15:18:58 -05:00
Pranav Karawale
24aa3245ae
Implement support for draft pages (#2392)
* feat: support draft pages

* implemented support for draft pages
* added integration test
* updated relevant documentation (english only)

* docs: explicitly mention "markdown draft pages"

* chore: add changeset

* chore: modify changeset

- changed type to 'patch'
- added more description
2022-01-19 15:18:51 -05:00
John
0d6e964693
Fix "Island Architecture" phrase attribution (#2411)
Remove incorrect statement that Jason Miller coined the phrase "Island Architecture."
Fixes #2407
2022-01-18 08:50:29 -08:00
Jang Rush
672b831940
Update doc move away from Astro.resolve on styles (#2402)
see also #2393
2022-01-18 08:25:26 -05:00
Jonathan Neal
eaa626de88
Restore accessibility check on docs site (#2362) 2022-01-11 15:39:19 -05:00
Jonathan Neal
337413e09e
Use smooth scrolling with reduced motion has no preference (#2355) 2022-01-10 22:44:17 -05:00
Zade Viggers
973751e31b
Note that Astro also supports <Fragment> syntax (#2354) 2022-01-10 17:17:07 -05:00
Divyamrit
0b0df4168b
smooth scroll behavior property added (#2256)
* smooth scroll behavior property added

* [ci] yarn format

Co-authored-by: sacarvy <sacarvy@users.noreply.github.com>
2022-01-10 17:04:24 -05:00
Jacob Rask
263e39a94d
Update Cloudflare Pages guide (#2345)
See https://developers.cloudflare.com/pages/framework-guides/astro
2022-01-10 16:59:21 -05:00
Caleb Jasik
df553db636
Update instructions for the monorepo (#2274) 2022-01-10 15:04:08 -05:00
natemoo-re
8b58ede2cc [ci] yarn format 2022-01-06 16:28:24 +00:00
Morritz
7e8f7c7e9e
Added "IntelliSense for TypeScript" (#2326)
Important knowledge to avoid type errors.
2022-01-06 10:27:21 -06:00
Fred K. Schott
c80c7f677c
Rename [slug].astro to [...slug].astro (#2306) 2022-01-04 09:10:27 -08:00
Caleb Jasik
f26eb7b745
Docs/move-english-docs-to-"en"-folder (#2268)
* Move english pages under `/en` and fix broken links hopefully

* Add meta refresh tags for `/` to `/en/` url moves + make `/index.astro` work without js

* update languageselect for new en format

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-03 11:59:34 -08:00
github-actions[bot]
b8e3efa7bb
[ci] release (#2219)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Jonathan Neal
6ddd7678ff
Use accessible indentation (#2253) 2021-12-22 16:11:05 -05:00
Jonathan Neal
ded142e4d2
Update Configuration Reference documentation (#2239)
* Update Configuration Reference documentation

* Update docs/src/pages/reference/configuration-reference.md

Co-authored-by: Peter Singh <drgaud@hotmail.com>

* nit: update initial config example

* nit: update initial config example

* clarify pages option

* nit: update how the configuration reference is organized

Co-authored-by: Peter Singh <drgaud@hotmail.com>
2021-12-22 08:22:11 -05:00
Jonathan Neal
29976c6de0
format (#2246) 2021-12-21 22:01:28 -05:00
Alan
1b418a6481
Improve wording in documentation for client:* directives (#2232)
* Make wording around `client:*` directives more clear

A friend and I both found the wording on this page to be a touch ambiguous. When does the renderer JS download? Does Astro really delay all JS downloading until the component is ready to be hydrated, or just the component JS?

I think these changes make the behavior crystal clear?

* Make tense consistent for `client:only`
2021-12-21 12:16:34 -05:00
Tom VanAntwerp
b6398c4dbe
Fix minor typo in styling docs (#2233) 2021-12-19 15:28:50 -05:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ (#2202)
* Support Node v14.15+

* changeset

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* ES2020

* update yarn.lock

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
b8c821a074
chore: release pinned version of Svelte renderer (#2216)
* chore: release pinned version of Svelte renderer

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 16:24:35 -06:00
Abdullah Mzaien
bb52818ebe
chore: update tailwind to v3 and update the readme (#2209)
using `.cjs` for file extensions

chore: update tailwind to v3 and update the readme
2021-12-16 11:36:48 -06:00
borisv
fb25b7573c
Update styling.md (#2207)
Fixing minor spelling errors  
Removing void hint to Peter-Griffin gif
2021-12-15 11:57:54 -06:00
Fred K. Schott
c80f9eca61
[ci] update lockfile (#2208)
* [ci] update lockfile

* chore(lint): Prettier fix

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 08:53:30 -08:00
borisv
93ded5d79b
New translation for German docs Guides/Styling & CSS, updated config.js (#2179)
* Create styling.md 

First translation for German docs.

* Update config.ts

Activating link to German docs - Guides/Styling & CSS

* Update styling.md

Missing text link to de/ - fixed

* Update docs/src/pages/de/guides/styling.md

Adds missing comma

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

* Update docs/src/pages/de/guides/styling.md

Spelling correction

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

* Update docs/src/pages/de/guides/styling.md

Removes extra space

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

* Update docs/src/pages/de/guides/styling.md

Removes superfluous comma

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

* Update docs/src/pages/de/guides/styling.md

Phrases suggestion more friendly)))

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

Co-authored-by: Kim Schneider <web@schneider.kim>
2021-12-14 22:58:55 -05:00
Jonathan Neal
53c7ae8c66
Update alias docs (#2204) 2021-12-14 19:39:11 -05:00
Luc
bc080288fe
Replace quote character with standard apostrophe (#2142) 2021-12-13 17:18:22 -05:00
Allen Joslin
b9c5778d45
Update astro-components.md (#2181)
* Update astro-components.md

be a little clearer right up front about what you can do

I ran this code in stackBlitz minimal - which listed no renders.

Note: I don't know enough yet about Astro to say why I could use React-style interpolation at compile time to insert a variable into the html -- so I can't add a phrase describing why it works...

* Update docs/src/pages/core-concepts/astro-components.md

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-12-13 16:27:54 -05:00
Jonathan Neal
6570a20442
rebase (#2087) 2021-12-13 16:18:21 -05:00
Jonathan Neal
c3db1eb4ef
Upgrade dependencies (#2085)
* yarn upgrade

* yarn upgrade --latest yargs-parser

* yarn upgrade --latest mime

* yarn upgrade --latest execa

* yarn upgrade --latest globby

* yarn upgrade --latest @docsearch/react

* yarn upgrade --latest es-module-lexer

* yarn upgrade --latest fast-xml-parser

* yarn upgrade --latest @astrojs/compiler @astrojs/language-server

* yarn upgrade --latest acorn

* clean yarn.lock

* chore: put `@docsearch/react` back to v1

* chore: remove unused @snowpack/plugin-dotenv

* Update yarn.lock

* Patch tests based on newer versions of tooling

* remove lerna

* Update yarn.lock

* Update yarn.lock

* Pin @sveltejs/vite-plugin-svelte

* update yarn.lock
2021-12-13 15:59:08 -05:00