Puru Vijay
b569018fef
feat(site-2): Split docs ( #8435 )
...
* Update links
* Move blog to site/content
* Update site/content/docs/02-component-format.md
* Fix docs links
* Add global prettierrc
* Auto format
* Fix git merge artifact
* Fix errors
* Update html to svelte(remaining ones)
* Add 2 blog posts
* Modify prettierrc
* Minor design fix
* Switch package lock to spaces, prettier ignore
* Regenerate package lock
* prettier format
* Push
* Remove console.logs
* Minor fixes
* Fix search
* Fix heading <code> style
* Fix search some more
* Code cleanup
* Update deps
* Move content around
* Allow drafts
* Redirect logic
* Don't render anything on docs if /docs
* Shorten the regex patterns
* Fix some more
* Hack the build into working
* Modernize docs links
* Add content to introduction
* Modify the content
* fix content links
* Reduce duplication in redirect regex
* Differences from Kit page
* Fix link
* Make OnThisPage visible on all docs
* Misc changes
* Move differences page to introduction
* Run prettier
* Prerender examples api routes
* Modify introdution page
* replace positions of readonly and get
* Minor blog style enhancement
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2 years ago
Puru Vijay
db2d07f236
feat(site-2): Update links, move blog out of SK folder to content ( #8289 )
...
* Update links
* Move blog to site/content
* Update site/content/docs/02-component-format.md
* Fix docs links
* Add global prettierrc
* Auto format
* Fix git merge artifact
* Fix errors
* Update html to svelte(remaining ones)
* Add 2 blog posts
* Modify prettierrc
* Minor design fix
* Switch package lock to spaces, prettier ignore
* Regenerate package lock
* prettier format
* Update deps
* Hack the build into working
* add missing blog post
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
2 years ago
Cavit Ertuğrul Sırt
7e9e78b37c
docs: Tutorial body had <svelte:body /> even though <svelte:document /> was the subject ( #8396 )
2 years ago
Henrik Giesel
4b0b471ee1
feat: add back `<svelte:document>` ( #7149 )
...
Closes #3310
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
brunnerh
e3e912ab58
Fix accessibility of options tutorial. ( #8308 )
...
Use button instead of non-interactive element (div).
(Removes a Svelte a11y warning.)
2 years ago
Janosh Riebesell
8b462fd7da
[docs] Fix 3.52.0 a11y warning in svelte-self tutorial ( #7988 )
...
* fix svelte 3.52 a11y warning
* replace span with button and drop on:keyup
2 years ago
schelv
f3f3d074c5
[docs] use KeyboardEvent.code ( #7809 )
3 years ago
Yuichiro Yamashita
e0d93254fd
[feature] Dynamic elements implementation <svelte:element> ( #6898 )
...
Closes #2324
Co-authored-by: Alfred Ringstad <alfred.ringstad@hyperlab.se>
Co-authored-by: Simon Holthausen <simon.holthausen@accso.de>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
3 years ago
Ignatius Bagus
04890c73d2
[docs] absolute and future proof links ( #7038 )
3 years ago
Simon Scharf
f99deeb67b
docs: remove type property from special elements tutorial ( #4715 )
...
Instead, determine type based on the existence of the files property. Removes console warnings
4 years ago
Debargha Roy
8f6bb14e69
Minor update to svelte:body-tutorial ( #6376 )
...
Switch style/html order
4 years ago
Ajit Krishna
b11f5b12f5
Update <svelte:options> copy ( #6339 )
...
<svelte:options> is not the last lesson in "Special Elements"
4 years ago
Walker Lockard
19e4a4fdf3
Update tutorial text.md ( #6329 )
...
The component referenced in text.md is no longer on line 33 of the provided code.
4 years ago
BabakFP
ec2540787a
Changing tutorial/example order from script-style-html to script-html-style ( #6213 )
...
Also change button style in one tutorial
4 years ago
Stephane
47e1eeed56
Add documentation and tutorial for svelte:fragment ( #6097 )
4 years ago
João Paulo
a0ed7040f1
site: clarify file -> module in <svelte:self> tutorial ( #5171 )
5 years ago
red-meadow
3174d3cc59
Minor tutorial fix ( #3843 )
5 years ago
Richard Harris
729fc4e891
link directly to event modifier tutorial
6 years ago
Philipp_Lypniakov
b3b830d21a
Update text.md
...
Added a suggestion for a user to add the preventDefault modifier so they could press any key uninterrupted by the default behavior of a key or key combination.
6 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
6 years ago
Conduitry
011b33181e
site: fix immutable tutorial and example on Firefox ( #2601 )
6 years ago
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
6 years ago
Richard Harris
520f69f7cb
document the accessors option - closes #2382
6 years ago
Richard Harris
771d9eed06
update/remove some more stuff
6 years ago
Rich Harris
4541d58798
Add a tutorial ( #2132 )
6 years ago