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:
siteUrlis automatically filled for you (in production and deploy preview)robots.txtwill 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=productionwhen you deploy, else therobots.txtwill disallow indexing.