Skip to content

Comments

Create Docs: Guides “svelte-sveltekit”#148

Open
hatappo wants to merge 3 commits intodecaporg:mainfrom
hatappo:cms/hatappo/decap-website/docs_guides/svelte-sveltekit
Open

Create Docs: Guides “svelte-sveltekit”#148
hatappo wants to merge 3 commits intodecaporg:mainfrom
hatappo:cms/hatappo/decap-website/docs_guides/svelte-sveltekit

Conversation

@hatappo
Copy link

@hatappo hatappo commented Jan 10, 2026

Automatically generated by Decap CMS

First, thank you for Decap CMS—I’ve been using it regularly and really appreciate the work
behind it. This PR proposes a Svelte/SvelteKit guide. It walks through project creation
with sv, mdsvex setup, minimal blog rendering, Decap CMS integration, and GitHub authentication.
I’d appreciate any suggestions on structure, accuracy, or wording.

@netlify
Copy link

netlify bot commented Jan 10, 2026

Deploy Preview for decap-www ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0d62e79
🔍 Latest deploy log https://app.netlify.com/projects/decap-www/deploys/698b769bb599cb000856d1a6
😎 Deploy Preview https://deploy-preview-148--decap-www.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@martinjagodic martinjagodic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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)

@yanthomasdev
Copy link
Contributor

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 🫡

@hatappo hatappo closed this Feb 10, 2026
@hatappo hatappo reopened this Feb 10, 2026
@hatappo
Copy link
Author

hatappo commented Feb 10, 2026

I apologize for the late reply.
@martinjagodic thanks for the advice. I've made the changes you suggested.

  • very briefly explain how to create a new Svelte site and link to their official docs where the process is explained.

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.

  • list options of adding Decap to a Svelte(kit) project. Preferably both the CDN and npm versions

Added instructions on how to add and initialize DecapCMS as an npm package.

  • list auth possibilities (Github and Netlify for instance)

Provided simple examples of how to configure authentication provider for GitHub and Netlify.

Also, @yanthomasdev thanks for your pinging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants