diff --git a/packages/docs/content/docs/netlify-cms-migration-guide.mdx b/packages/docs/content/docs/netlify-cms-migration-guide.mdx index aac3d409..101d7526 100644 --- a/packages/docs/content/docs/netlify-cms-migration-guide.mdx +++ b/packages/docs/content/docs/netlify-cms-migration-guide.mdx @@ -14,13 +14,13 @@ To migrate, simply replace Netlify CMS with Static CMS, then address the changes Netlify CMS: -```js +```html ``` Static CMS: -```js +```html ``` @@ -93,3 +93,33 @@ import CMS from '@staticcms/core'; ## Beta Features All beta features from Netlify CMS that were kept, remain in beta and may not fully function in their current state. Please [submit an issue](https://github.com/StaticJsCMS/static-cms/issues) for any bugs you find. + +## Platform Changes + +### Gatsby + +If you are using Gatsby you will need to change out your CMS plugin. + +```bash +# Uninstall Netlify CMS plugin +npm uninstall gatsby-plugin-netlify-cms + +# Install Static CMS plugin +npm install gatsby-plugin-static-cms +``` + +## Local Development Changes + +If you are using the local backend you will need to switch the proxy server package you are using. + +Netlify CMS: + +```bash +npx netlify-cms-proxy-server +``` + +Static CMS: + +```bash +npx @staticcms/proxy-server +``` diff --git a/packages/docs/src/pages/_app.tsx b/packages/docs/src/pages/_app.tsx index ab6049f9..ceb76449 100644 --- a/packages/docs/src/pages/_app.tsx +++ b/packages/docs/src/pages/_app.tsx @@ -25,6 +25,7 @@ require('prismjs/components/prism-toml'); require('prismjs/components/prism-markup-templating'); require('prismjs/components/prism-handlebars'); require('prismjs/components/prism-markdown'); +require('prismjs/components/prism-bash'); function MyApp({ Component, pageProps }: AppProps) { const [mode, setMode] = useState('dark');