Deploy
Make your website available for everyone.
Create production build
Smooth DOC is just a Gatsby theme, to create an optimized production build, run:
gatsby build
Read more about directly in Gatsby documentation
Deploy on Netlify
Smooth DOC is already optimized for Netlify. It does several things for you:
siteUrl
is automatically filled for you (in production and deploy preview)robots.txt
will disallow indexing for deploy preview
To deploy on Netlify, follow Gatsby guide.
Deploy on other providers
Since Smooth DOC is based on Gatsby and generates a static website, it can be deployed anywhere. Gatsby has a great documentation about deploying a project.
Be careful of having
NODE_ENV=production
when you deploy, else therobots.txt
will disallow indexing.