@tisto...
Is it safe to say that the "authoritative docs" are located at https://docs.voltocms.com/ and that we should be careful of dated documentation in other locations?
Quick background story.
I discoverd issues with my src/config.js
. I was unable to change settings, even though I was following the example in the comments.
- My
src/config.js
comments suggested a different approach to updating configuration than what I saw at https://docs.voltocms.com. - My
src/config.js
did not include the applyConfig function at the end of the file. Something mentioned here: What is configurable? - Volto Developer Documentation
I generated my app last week using create-volto-app
based on instructions found here: 3. Bootstrapping A Volto Project — Plone Training 2021 documentation.
Apparently this approach is deprecated.
Just to confirm the issue, I went ahead and generated another Volto app using the "deprecated" create-volto-app and surely enough it gave me an older style src/config.js
.
Moral of the story seems to be ... stick to docs.voltocms.com
More background here: Volto on an existing Plone 5.1.x project - #4 by pigeonflight