Puru Vijay
3b4ab35b4e
feat(site-2): Use entries ( #8570 )
...
* Push
* Image stuff
* Use entries
* Update deps
* Update kit
2023-05-09 21:39:07 +05:30
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>
2023-04-03 14:18:50 -04:00
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>
2023-04-02 11:24:33 -04:00
Puru Vijay
5976de8f82
feat(site-2): Fully remove api.svelte.dev ( #8432 )
...
* Localize the examples dependents
* Localize FAQ
* Try to fix examples API
* Remove examples api
* Prerender, use vercel adapter, disable PUT action for now
* Don't call get_examples_data on top
* Move repl PUT to its own routew
* Don't prerender REPL page
* Change console warn
* Prerender tutorial the smart way
* Use getContext in root
* work around some weird content encoding glitch
* Try the pre-generate route
* Apply the suggestions
* Fix embed examples
* Remove comment
* remove commented-out code
* Update sites/svelte.dev/src/routes/_components/Demo.svelte
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* remove unused code
* add note to self, remove ts-ignore
* move adapter-vercel to devDependencies
* remove some unused deps
* huh we need flexsearch after all? weird
* we need sourcemap-codec as well — what the hell. are these deps missing from a dep?
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2023-04-02 10:35:10 -04:00
Puru Vijay
35e7a852fc
feat(site-2): Local tutorial ( #8427 )
...
* feat(docs): Local tutorial
* Refactor some stuff
* Better error handling
* Fix search imports
* Prerender tutorial
* try prerendering hack
* fix super stupid display hidden bug
* Shorten the rendered URL
* Shorten URL code even more
2023-03-29 14:07:21 +02:00
Puru Vijay
69349319eb
feat: multi-page docs ( #8253 )
...
* Rename markdown to blog
* Multi-page docs
* Ignore missing ID for now
* heading
* Add code snippets(temporary)
* /docs redirects to introduction
* Remove ukraine petition
* OnThisPage
* Remove console.log
* Update deps
* Fix accessibility warning
* Update site-kit
2023-02-07 16:28:30 +05:30
Puru Vijay
60806f74b9
[feat]: Move svelte.dev here ( #8237 )
...
* Push
* Remove `rootDir`
* Use tsconfig instead of jsconfig
* Push recent changes
* Better dark mode
* empty commit to try and trigger a deploy
* bump kit
* Fix site-kit dep
* Comment out blurb
* Update site-kit to 3.2.1
* Externalise sourcemap-codec
* Install sourcemap-codec as dep
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
2023-02-02 15:45:09 -05:00
Puru Vijay
ae2a089221
feat: Initialize sites
2023-01-25 14:37:21 +05:30