0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-25 09:09:35 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Ravi van Rooijen
1ed9182025
docs: mention {#await} on non-Promise values short-circuiting to the fullfilled branch (#9324)
Fixes #9323
2023-10-19 09:27:47 +02:00
Puru Vijay
1a28d58b5d
feat: Copy code button (#8995)
* Push

* Bump site-kit

* Add headers to primary snippets

* Update deps

* Bump deos

* redploy

* Back to normal

* Push

* Bump deps

* site: fix rendering of promise in deprecation warning (#9191)

* copy: true

* Bump site-kit

* Use cache
2023-09-16 20:00:16 +05:30
Jack Farley
9073241daa
docs: mention escaping of curly braces (#8560) 2023-09-15 16:26:19 -07:00
Andy Pan
037b6ce312
docs: Fix a regression for a quoted-attribute example (#9103)
* Fix a doc regression for a quoted-attribute example

* Prettier ignore

---------

Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com>
2023-08-13 13:26:29 +05:30
Alpay
ea2b5700ca
docs: fix link (#9071) 2023-08-04 14:54:54 +05:30
Ben McCann
ce047651e5
docs: update component directives page (#9040) 2023-07-28 12:11:14 +02:00
Ben McCann
d6abd0a604
docs: clarify performance concerns around props and restProps (#9047)
* docs: clarify performance concerns around props and restProps

* Update documentation/docs/02-template-syntax/02-basic-markup.md
2023-07-27 20:50:46 +02:00
Kai Erik Niermann
5cd4f7750e
docs: add parenthesis back to regex literal example (#9027)
* fix: added parenthesis to literal notation example

* add prettier-ignore

---------

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2023-07-24 10:47:52 +05:45
Dana Woodman
398904894e
docs: Make "unquoted" example actually unquoted (#8937) 2023-07-10 10:33:03 +02:00
Puru Vijay
70426be84a
feat(site): Deploy to edge (#8873)
* Try edge

* Fix errors

* Improvements

* Minor fixes

* Simplify docs layout logic

* Persist session true

* try regions all

* Push new promise-based infra

* pnpm install

* Remote debugging

* Refine

* try to disable prerender for examples

* text

* Weird hack

* url

* log params

* Try param matcher

* try some restructuring

* Leftover

* remove console log

* More async, remove node-fetch

* Fix

* New fixes

* Undo changes

* back to site-kit next 18
2023-07-06 19:22:57 +05:30
Gwang Jin Kim
d3297e2a25
docs: Remove duplicate note (#8843) 2023-06-25 16:06:46 +02:00
Cesar Napoleon Mejia Leiva
a83e438b5e
docs: fix style directive with important modifier example (#8802) 2023-06-23 14:49:36 +02:00
Martin Hobert
5ddf4ca779
docs: fix attribute example in basic markup (#8813)
---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-06-23 12:23:18 +02:00
Puru Vijay
3c8a07136a
fix(site): renderer new link format (#8787)
* adapt

* Uncomment

* Push

* Bump site-kit
2023-06-22 08:42:09 +05:30
Puru Vijay
67b4e4ff1c
docs: normalize svelte compiler headings (#8755)
The `svelte.` prefix was a remnant of CJS times
2023-06-19 14:13:34 +02:00
Simon H
4e569d1895
docs: Svelte 3/4 differences (#8740)
note some inline, drive-by-fix in custom element docs
closes #8703
2023-06-16 15:08:05 +02:00
Puru Vijay
aa5bb4a3db
feat: Better docs nav (#8605)
* DocsNav

* Push

* Nav title on each page

* Install jridgewell sourcemap codec. Why it breaking suddenly

* Use theme store

* Use $nav_title

* use $page.data.nav_title

* Disable global prerendering

* Fix Suppprters section

* use new method

* Initially hidden nav functionality

* Minor fixes

* Simplify into one single nav

* Accomodate to the bottom nav

* Minor fixes

* nit

* Add selected to other pages as well

* New way of passing to navbar

* Code cleanup

* Directly pass list instead of components

* 14 days

* Fix comment

* Discord icon

* Bump site-kit finally
2023-06-12 21:59:34 +05:30
Rich Harris
27538fc598
tweak docs content (#8675)
* update intro

* update tutorial links

* unitalicise code spans

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-01 15:44:16 -04:00
Puru Vijay
bd51e6f3ea Merge remote-tracking branch 'origin/version-4' into sites 2023-05-28 01:19:27 +05:30
Puru Vijay
4cde4eaada
docs(site-2): Action, TypeScript (#8588) 2023-05-26 21:15:44 -07:00
Puru Vijay
993b40201c
feat(site-2): New Markdown renderer, FAQ, Blog, Tutorial, Docs, (#8603)
* New FAQ, new renderer

* Push blog stuff

* Fix blog posts

* Add tutorial to be rendered

* Update documentation/content/blog/2023-03-09-zero-config-type-safety.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Update documentation/content/blog/2023-03-09-zero-config-type-safety.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Revamp a lot of renderer, make it (soft) compatible with sveltekit

* Remove markdown types

* Clean up faq +page

* Document stuff

* Make the options more explicity

* chore(site-2): Restructure docs pt 2 (#8604)

* Push

* Update readme

* Push

* inor accessibility fix

* minr stuff

* Add prepare

* Run prettier

* Remove test script

* pnpm update

* Update sites/svelte.dev/src/routes/examples/[slug]/+page.svelte

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Update sites/svelte.dev/package.json

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-05-25 18:19:38 +05:30