summaryrefslogtreecommitdiff
path: root/docs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-07-14[ci] yarn formatGravatar FredKSchott 1-1/+1
2021-07-14[ci] yarn formatGravatar FredKSchott 22-65/+62
2021-07-14Docs sync (#680)Gravatar Fred K. Schott 28-777/+431
* test ignoring examples from workspace * docs sync
2021-07-13Fix astro/jsx comparison table formatting (#673)Gravatar François Vaux 1-20/+17
2021-07-12Adds support for client:media hydrator (#664)Gravatar Matthew Phillips 1-0/+1
* Adds support for client:media hydrator * Include a changeset * Pass in undefined when not hydrating
2021-07-12[ci] yarn formatGravatar natemoo-re 1-18/+19
2021-07-12Add support for named slots (#661)Gravatar Nate Moore 1-3/+60
* feat: support named slots, slot fallback content * docs: document slots * chore: add changeset * fix: build errors * chore: prefer `patch` version
2021-07-08Update component-hydration.mdGravatar Nate Moore 1-3/+3
2021-07-08Update component-hydration.mdGravatar Nate Moore 1-1/+1
2021-07-08docs(#628): Clarify component renderingGravatar Nate Moore 1-7/+7
Every component is rendered on the server at build time. Hydration directives _optionally_ add client-side hydration at runtime.
2021-07-07[ci] yarn formatGravatar natemoo-re 25-76/+65
2021-07-01Expose `content.astro.html` to `Astro.fetchContent` (#583)Gravatar Nate Moore 1-2/+3
* feat: expose `content.astro.html` to Astro.fetchContent * docs: add `astro.html` note to docs
2021-07-01Remark and rehype plugins (#562)Gravatar Pavel Mineev 1-4/+43
* remark plugins * remove unused dependency * enable codeblocks * backward compatibility with remark-code-titles * add support for rehype plugins * add proper types for plugins * fixes after review - connect plugins by name - make plugins configurable - connect gfm and footnotes if no plugins provided from config - add more plugins to example * update and rename example * add documentation for markdown plugins * chore: rename with-markdown-plugins example * chore: restructure dependencies * feat: add back smartypants, fix mdx expressions * chore: remove log * test: add markdown plugin tests * chore: add changeset * docs: update markdown doc Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-01Adds hydrationPolyfills config for renderers (#594)Gravatar Matthew Phillips 1-0/+1
Some renderers, such as Lit, need special polyfills only for hydration. We have the `polyfills` array, but that is intended for polyfills that always need to run. This adds a second type hydrationPolyfills that only run on elements that are `:load`, `:idle`, etc.
2021-07-01Implements low-level custom element support (#587)Gravatar Matthew Phillips 1-1/+3
* Implements low-level custom element support * Changes based on self review * Adds a changeset * Polyfills are added even when not hydrating * Remove hydrationMethod option Punting on this idea until it's really needed.
2021-06-27astro-docs syncGravatar Fred K. Schott 30-240/+1633
2021-06-25Update collections.md (#549)Gravatar Tony @ Navillus 1-3/+4
Updating the Individual Pages from a Collection example to fix a few typos. - The pokemon API returns an object with an array named `results` (plural) - `data()` needs to wrap the object in an Array - accessing item data needs to use `collection.data[0]` to grab data from the `data()` Array
2021-06-24[ci] yarn formatGravatar natemoo-re 1-0/+1
2021-06-24New Props API (#515)Gravatar Nate Moore 5-13/+26
* wip: update props api * feat(#139, #309): enable new props api * chore: migrate examples to new props API * docs: update syntax guide for new props API * chore: update examples to new props API * chore: update docs to new Props API * fix: hide __astroInternal from `Astro.props` consumers * chore: remove scratchpad file * chore: fix script error * test: fix failing collection tests * fix: set __astroInternal to `enumerable: false` * chore: add changeset * feat: warn users using old props api
2021-06-24add svelte extension to purge list (#529)Gravatar Robert Soriano 1-1/+1
2021-06-23[ci] yarn formatGravatar matthewp 1-3/+4
2021-06-23Allow usage of node builtins through node: prefix (#520)Gravatar Matthew Phillips 1-0/+19
* Start of allowing node builtins issue * Allow use of node:builtin * Produce an error in Astro files with bare builtin usage * Upgrade snowpack version bug fixes for packages that use `node:` * Document node builtins * Use the provided builtins list
2021-06-23Update createCollection() to handle `pageSize: Infinity` (#516)Gravatar Tony @ Navillus 1-3/+3
* Fix pageSize calculation when Infinity is given * test grouping collection with pageSize: Infinity * test individual pages for collection items * Revert "update docs, remove reference to Inifinity" This reverts commit e8a976a543070bce4d661b5289e16d1097a593bc. * Adding changeset
2021-06-22fix issues uncovered by snowpack warnings (#511)Gravatar Fred K. Schott 1-1/+2
* fix output issues uncovered by snowpack warnings * Update the snowpack version * Load Prism dep as the default * Rename srcRoot to src * Document the src option * Add the changeset Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-21[ci] yarn formatGravatar matthewp 1-1/+1
2021-06-21Removes snowpack warning suppression (#504)Gravatar Matthew Phillips 1-0/+1
* Start of warnings * Provide knownEntrypoints by renderers This allows renderers to provide knownEntrypoints that will be forwarded to snowpack. This gets rid of renderer-specific warnings and allows us to remove the snowpack logging hacks we were doing. * Adds a changeset
2021-06-18update docs, remove reference to InifinityGravatar Fred K. Schott 1-3/+3
2021-06-17Update collections.md (#485)Gravatar Tony @ Navillus 1-1/+1
Very minor typo in the example code pulling results out of the `pokeapi` response
2021-06-16Update the shape of data provided by `Astro.fetchContent("./*.md")` (#479)Gravatar Caleb Jasik 1-5/+15
2021-06-16Fix typo, clarify layout section (#474)Gravatar Drew Powers 1-6/+4
2021-06-16Fix syntax errors in styling docs (#471)Gravatar Drew Powers 1-9/+17
2021-06-16Pass configured Tailwind config file to the `tailwindcss` plugin (#352)Gravatar Brad Cornes 1-1/+1
* fix tailwind config filename * pass configured config file to tailwindcss * add changeset * remove `tailwindConfig` from `CompileOptions` interface
2021-06-16[ci] yarn formatGravatar matthewp 1-3/+3
2021-06-16docs: fixed ascii based folder strucure in dev.md (#461)Gravatar Nikhil Mehta 1-2/+5
2021-06-15Improve asset resolution in Astro (#437)Gravatar Drew Powers 1-0/+33
* Improve asset resolution in Astro Fixes #96 * Add docs, changeset * Fix collection resolution
2021-06-15docs: update syntax docs (#449)Gravatar Nate Moore 1-19/+7
2021-06-15Fix typo (#441)Gravatar Jasper Nykänen 1-1/+1
2021-06-15Clarify docs suggesting that Astro may just randomly break your styles (#451)Gravatar Drew Powers 1-2/+3
2021-06-15[ci] yarn formatGravatar natemoo-re 1-24/+23
2021-06-15Add `<>` fragment support for expressions (#433)Gravatar Nate Moore 1-18/+42
* feat: add support for `<>` and `</>` Fragments * docs: explain Fragments * test: add fragment test
2021-06-15[ci] yarn formatGravatar FredKSchott 1-21/+24
2021-06-14new collections API docs (#416)Gravatar Fred K. Schott 1-127/+139
* new collections API docs * docs updates * Update docs/collections.md Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com> * respond to code review Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
2021-06-14[ci] yarn formatGravatar matthewp 1-18/+9
2021-06-14rewrite part of the renderer docs (#432)Gravatar Fred K. Schott 1-20/+73
2021-06-11Allow createCollection() to fetch remote data (#400)Gravatar Drew Powers 1-1/+1
* Allow createCollection() to fetch remote data Fixes #378 * Update docs * revert isomorphic-fetch, see if ci passes Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-06-11[ci] yarn formatGravatar matthewp 1-7/+3
2021-06-11Remove second snowpack instance (#368)Gravatar Matthew Phillips 1-0/+18
* Remove second snowpack instance * Document import.meta.env.SSR * Remove unnecessary Promise.all
2021-06-09Update syntax.mdGravatar Fred K. Schott 1-0/+1
2021-06-09docs: fix browserlists link (#351)Gravatar Christian Kaisermann 1-1/+1
* docs: fix browserlists link * Update styling.md
2021-06-09Update vs code link (#366)Gravatar Christopher Harrison 1-1/+1
I think this is the link you wanted for the extension