I’ll try to address all your questions at once, sorry if this is a bit of a ramble!
If you go to your Site Dashboard, you’ll see a guide which will walk you through the steps of creating a configuration file, and it will even intelligently suggest some good starter config. You can also see this guide described in our docs here: Create your CloudCannon Configuration File | CloudCannon Documentation
I think the biggest change you’re probably seeing is the release of our new configuration format, Unified Config.
- With our legacy config format, we would have automatically scanned your site during the build process to determine some configuration for you, and merge this with any config you’ve explicitly defined.
- In our newer Unified Config format (released in late 2024), all your configuration needs to be explicitly defined in your config file.
This means your config isn’t tied to your build process, which means you can tweak your config and see the results immediately without even needing to save the file. It also gives you greater clarity about exactly how the Site is going to behave, since you’ve defined it all yourself.
Older Organizations have the option to switch between the two formats, for backwards compatibility. You might see a checkbox to turn on Unified Config while creating a Site, and you can toggle it in your Site Settings under “Flags”.
Configuration Mode is only available with Unified Config, which might be why you’re not seeing the switch on your Dashboard. You also need to have a configuration file already, even if it’s empty.
See here for a full description of the motivations behind Unified Config, why it’s preferable over our legacy config, and a complete step-by-step guide for migrating older sites:
Unified Configuration Migration Guide
Nothing needs to be added to your build settings
as long as your site is building, and outputs static HTML with the correct data attributes, it can be visually edited.
CloudCannon config is the same for all SSGs, including static HTML
the config only determines how your site is presented / edited within the CC UI.
So, what config do you need to edit static HTML?
- Your editors can only edit source files via Collections, so you’ll need to configure at least one collection. If you just wanted them to have access to visually edit all HTML files on your site, you might add something like this:
collections_config:
pages:
path: '/'
glob: ['**/*.html']
_enabled_editors: ['visual']
- In order for the Visual Editor to work, CloudCannon needs to know which source file maps to which output path on the live site. By default, it does some heuristic-based guess work to determine this which often works quite well. However, if you find some of your files aren’t loading in the Visual Editor, you can configure the
url field on your collection to tell CloudCannon exactly where to find the output path for each source file. Check out this guide for a much more detailed breakdown about this: Confirm your output URLs | CloudCannon Documentation
collections_config:
pages:
path: '/'
glob: ['**/*.html']
url: /[slug]/
_enabled_editors: ['visual']
That’s pretty much all the config you need to start editing. From there, you can add more configuration to more carefully scope out the ways that editors/team members interact with your site… or just let them at it!
Does that all make some sense?
Let me know!