Commit graph

17 commits

Author SHA1 Message Date
Fred K. Schott
e0c39fb217 improve introduction page of example/docs 2021-08-26 15:18:45 -07:00
Fred K. Schott
2e8db7ad23 add algolia and cleanup docs readme 2021-08-26 15:03:21 -07:00
Okiki
b7ada11ddb WIP update examples/docs/ 2021-08-26 12:15:33 -07:00
Marcus Otterström
3bfd8c125e
Fix CSS in docs example (#1221) 2021-08-24 16:41:42 -07:00
Fred K. Schott
5e0e276609 cleanup example favicons 2021-08-16 14:34:08 -07:00
Rafid Muhymin Wafi
b03f1f71b7
Adding favicon to examples (#1084) 2021-08-16 14:28:38 -07:00
Marcus Otterström
4f096cbe6c
Add CSS in example project: docs (#1062) 2021-08-08 17:10:26 -05:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Caleb Jasik
304e1c65e6 Fix githubEditUrl variable in examples/docs 2021-07-16 17:54:50 -05:00
Caleb Jasik
6d06fce6d2
Update docs in compiler messages (#710)
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/`

* convert links to docs site links

* Fix broken links that didn't work w/ the regex.

* Add changeset

* Delete five-weeks-destroy.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-16 07:01:31 -04:00
Shreesh Bhat
3f14bed413 Add lang attribute to html tags 2021-07-13 00:49:13 -04:00
Tony Sullivan
0a7b6deaec
Move hydration directives to special attributes (#618)
* feat: ♻️ updating hydration to work with the directive syntax

* test:  Updating tests for the hydration directive syntax

* refactor: Updating example projects for the hydration directive syntax

* test:  Found a test fixture still needing an update to the hydration directive syntax

* style: Prettier strikes again!  Reverting code formatting changes

* refactor: ♻️ moving directive matching to a Set

* refactor: Updating syntax to `client:load`

* refactor: ♻️ Simplifying the `client:` directive match

Per PR feedback from @matthewp

* chore: errant console.warn() snuck into the last commit

* feat: 🔊 Adding a super fancy build warning to update to the directive syntax

* refactor: ♻️ Removing unnecessary checks when matching supported hydration directives

`val` isn't being used for now, but leaving it in the attr destructuring as a reminder since it'll be needed for `client:media`

* test:  Including the original hydration syntax in a test to make sure it builds

* style: 📝 Adding a comment to make it clear why the old hydration syntax is included in a the test markup

* fix: 🐛 updating `head` logic to recognize hydration directive syntax

* docs: Adding changeset

* refactor: 🔥 Removing unnecessary `!hasComponents` check

* docs: 📝 Adding more detail to the changset

Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08 14:07:56 -04:00
Fred K. Schott
8f74b3bdbb
update example astro inline docs (#592) 2021-07-01 08:43:02 -04:00
Nate Moore
a136c85e6b
New Props API (#515)
* 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-24 17:48:24 -05:00
Fred K. Schott
1437b42038
fix some example docs site issues (#434) 2021-06-14 15:45:33 -04:00
Laura Caroline
348d829e94
Fix/issue #385 (#392)
* Apply favicon to the docs template

* Fix Sidebar category headers aren't clickable

Fixes #385

* Improve Docs example documentation

* Fix Documentation List on getting started page
2021-06-11 15:55:13 -04:00
Fred K. Schott
6bca7c83a7
redesign create-astro (#301)
* redesign create astro

* add changeset

* Use npm start

* Update the astro version

* Adds the changeset

Co-authored-by: Fred Schott <fks@Freds-MBP.attlocal.net>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-08 11:10:56 -04:00