Create Docs: Guides “svelte-sveltekit”#148
Conversation
✅ Deploy Preview for decap-www ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
martinjagodic
left a comment
There was a problem hiding this comment.
@hatappo this it great, thanks! It goes into great detail on how to set up a new Svelte site, which is already covered in Svelte official docs. On Decap docs, we should mainly focus on how to add Decap to existing projects.
My suggestion for this doc structure:
- very briefly explain how to create a new Svelte site and link to their official docs where the process is explained.
- list options of adding Decap to a Svelte(kit) project. Preferably both the CDN and npm versions
- list auth possibilities (Github and Netlify for instance)
|
Hey @hatappo, pinging here again in case you didn't see @martinjagodic's suggestions! I would really appreciate if you had the time to bring those changes in. Otherwise, let me know and I'll take it over for you 🫡 |
|
I apologize for the late reply.
Unfortunatelly, although the official Svelte documentation describes how to set up pre-rendering, it does not seem to describe how to handle markdown content such as blogs. So, while I haven't removed those code examples, I have removed redundant explanations of interactions with the sv command.
Added instructions on how to add and initialize DecapCMS as an npm package.
Provided simple examples of how to configure authentication provider for GitHub and Netlify. Also, @yanthomasdev thanks for your pinging. |
Automatically generated by Decap CMSFirst, thank you for Decap CMS—I’ve been using it regularly and really appreciate the work
behind it. This PR proposes a
Svelte/SvelteKitguide. It walks through project creationwith
sv,mdsvexsetup, minimal blog rendering, Decap CMS integration, and GitHub authentication.I’d appreciate any suggestions on structure, accuracy, or wording.