Stackbit Documentation example is outdated: Global styles | Netlify Docs
The declaration of GlobalStyles object is missing required fields like “name”, the same applies to the example of adding sidebarButtons: , which is also missing required fields like srcType, srcProjectId.
Even with addition of the missing attributes, the editor does render the extra button, however clicking on it, yields error:
## Content not found
We couldn't find the content linked to this button. Please check your project configuration file.
message with Troubleshooting button that leads to a 404 page:
https://docs.netlify.com/visual-editor/features/visual-editing/sidebar-buttons?_gl=1*r7qd5*_gcl_au*ODA2OTg3MDk3LjE3MjQ3MTYzMzM.#troubleshooting-custom-buttons
Also there’s no mention of how to tweak existing global styles that are baked into stackbit. Would be great if the documentation was made to be more coherent and easier to follow.