Commit graph

2881 commits

Author SHA1 Message Date
Kyosuke
5fcd466d95
replace npm run start with npm start (#791) 2021-07-21 07:09:44 -07:00
Fred K. Schott
661a52f4dd optimize social image 2021-07-20 20:48:18 -07:00
Caleb Jasik
2a7654edf3
Docs/ Add MetaData component for Open Graph and Twitter embeds (#784)
* Docs/ Add MetaData component for Open Graph and Twitter embeds

* Switch twitter card type to `summary_large_image`

* Add a version tag to the default-og-image url for cache busting

* Update docs/src/config.ts

Co-authored-by: Fred K. Schott <fkschott@gmail.com>

* Incorporate changes from review

* Construct `canonicalImageSrc` from `Astro.site`, which is not useful now, but could be if #788 is implemented

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-20 21:52:26 -05:00
Caleb Jasik
8eeb6b4fe8
Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -05:00
Caleb Jasik
c1e304dfb8
Docs/ Add --silent cli option (#785) 2021-07-20 17:59:03 -07:00
Fred K. Schott
6230a7ac31
fix bad build script (#781) 2021-07-20 14:52:44 -07:00
Fred K. Schott
9f6ec661e2 update astro.config.js to astro.config.mjs in docs 2021-07-20 13:58:29 -07:00
Caleb Jasik
ec4e00a8c1
Docs/fix sitesidebar template (#778)
* Fix: Do not commit `.env` files in any directory

* Links that aren't current should have either *no* aria-current attribute or `aria-current="false"` for the same effect.
2021-07-20 15:56:45 -05:00
Caleb Jasik
6915dc688b
docs: fix the templating setup for the <title/> in MainLayout.astro (#779) 2021-07-20 15:56:20 -05:00
Fred K. Schott
225baf1fc6 change snowpack.config.js to snowpack.config.mjs in docs 2021-07-20 13:47:09 -07:00
Fred K. Schott
fcfc625331 Revert "fix(parser): html entities evaluated (#738)"
This reverts commit 268186c27d.
2021-07-20 13:37:18 -07:00
FredKSchott
b9c5b7e980 [ci] yarn format 2021-07-20 19:23:50 +00:00
Fred K. Schott
7ccfc7c03c
move throws to assertions (#763) 2021-07-20 12:22:29 -07:00
Carter Snook
268186c27d
fix(parser): html entities evaluated (#738) 2021-07-20 12:18:42 -07:00
natemoo-re
d6a9afb8e1 [ci] yarn format 2021-07-20 19:05:48 +00:00
Nate Moore
e129cde67d
chore: move vercel.json to subdirs (#776) 2021-07-20 14:04:35 -05:00
Sha Mwe La
c044e62a08
Add title for the Astro Documentation Page (#774)
* Add title for the Astro Documentation Page

* Add the missing object braces

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

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-07-20 11:03:44 -05:00
Sha Mwe La
791558658f
Remove trailing comma (#773) 2021-07-20 06:56:00 -07:00
Caleb Jasik
59e558bbc0
docs: use aria-current="page" rather than .is-active in SiteSidebar.astro (#770) 2021-07-20 06:55:35 -07:00
jasikpark
3ba17a78e5 [ci] yarn format 2021-07-20 05:36:07 +00:00
Caleb Jasik
3d02159c3d
Hotfix: remove / -> /getting-started redirect
Fixes (#771), but now we don't have a docs redirect.
2021-07-20 00:34:56 -05:00
FredKSchott
4e6d38aa76 [ci] yarn format 2021-07-20 04:40:06 +00:00
Maksim Markelov
0e761b9bdf
Add ability to specify hostname in devOptions (#733)
* Add ability to specify hostname in devOptions

* Update packages/astro/test/config-hostname.test.js

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 21:38:55 -07:00
Fred K. Schott
7ad7e16633 add back removed left sidebar scroll behavior 2021-07-19 21:30:30 -07:00
FredKSchott
50f82e1a53 [ci] yarn format 2021-07-20 04:07:49 +00:00
Caleb Jasik
07e533402e
Update format script to format all files not ignored via .prettierignore that prettier has a valid parser for. (#768) 2021-07-19 21:06:41 -07:00
Caleb Jasik
4253683ec0
docs: set header link width to 100% so that the link fills the entire box it sits in for easier selection (#767) 2021-07-19 21:05:00 -07:00
FredKSchott
15cd6c1708 [ci] yarn format 2021-07-20 01:56:54 +00:00
Bryan Pan
d45431d246
fix: add force to rm script in create-astro (#729)
* fix: add force to rm script in create-astro

* add changeset

* edit overwrite prompt

* rm cannot remove '.' or '..' -- creating a helper function to empty the directory

* delete symlinks

* comments
2021-07-19 18:55:35 -07:00
FredKSchott
3153306953 [ci] yarn format 2021-07-20 01:42:33 +00:00
Vl
40c882a253
Fix url to find page with "index" at the end file name (#722) (#736)
Co-authored-by: Neverage <vl>
2021-07-19 18:41:09 -07:00
Fred K. Schott
f4e0818b3f update changelog for patch release 2021-07-19 18:34:31 -07:00
FredKSchott
ed83424fdb [ci] yarn format 2021-07-20 01:24:59 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Caleb Jasik
11100d62ef
docs/fix: add language to code block (#761) 2021-07-19 18:18:07 -07:00
natemoo-re
cd8b438c08 [ci] yarn format 2021-07-20 00:37:38 +00:00
Nate Moore
325e8cba2d
Improve docs theme (#717)
* Revert "Revert "New getting started guide (#715)""

This reverts commit dc4ba25b01.

* style: update docs theme

* style: implement feedback

* feat: remove FOUC

* Update docs/src/pages/404.astro

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

* Fix 404 title prop

* chore: implement feedback

* fix: ul, ol styles

* fix: center logo on mobile

* fix: improve navbar header contrast

* fix: improve logo overlap

* fix: `.nav-link` radius

* fix: small mobile tweaks

* feat: improve nav styles

* feat: improve embed styles

* fix: feedback items

* fix: make header sticky on mobile

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 19:36:09 -05:00
Tony Sullivan
7f57651686
fix: 🐛 ThemeToggle should initialize from localstorage immediately (#748)
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-19 16:18:02 -07:00
FredKSchott
054e79acd7 [ci] yarn format 2021-07-19 22:45:45 +00:00
Fred K. Schott
e002755309
add comparison docs (#718) 2021-07-19 15:44:15 -07:00
Fred K. Schott
488d13a90f small typo fix 2021-07-19 14:20:47 -07:00
Mats
f33c775b93
changed init example to correct template name (#744)
The correct template name is "with-tailwindcss"
2021-07-18 17:24:21 -05:00
Guilherme Siquinelli
35f7b474a1
fix: fixes prop href of author component in example blog, was url (#734) 2021-07-18 00:54:31 -05:00
FredKSchott
d55d8b8c6e [ci] yarn format 2021-07-17 19:48:01 +00:00
mundry
f74112798b
Fix typos in the documentation. (#731)
Co-authored-by: mundry <mundry@users.noreply.github.com>
2021-07-17 15:46:51 -04:00
Seanghay
234b175a19
closing style tag (#730) 2021-07-17 15:45:11 -04:00
Carter Snook
b8a90b1e7d
feat(parser): remove trim utils (#728) 2021-07-17 15:39:11 -04:00
Caleb Jasik
304e1c65e6 Fix githubEditUrl variable in examples/docs 2021-07-16 17:54:50 -05:00
FredKSchott
dae398100d [ci] yarn format 2021-07-16 17:42:16 +00:00
Fred K. Schott
ea27663f92 New getting started guide 2021-07-16 13:39:59 -04:00