Operations
Take a finished site from your machine to a live address and keep it running there.
Once the content is written, this section gets it online and keeps it there: previewing changes on your machine, building and hosting the output, adding comments and analytics, upgrading the theme, and finding out why a build or a page went wrong.
Find it by task
| I want to… | Read |
|---|---|
| See my changes as I write | Local preview |
Build the public/ directory I deploy |
Local preview |
| Publish to GitHub Pages, Cloudflare Pages, Netlify or my own server | Deploy |
Serve the site under a subpath such as example.com/docs/ |
Deploy |
| Keep preview deployments out of search engines | Deploy |
| Let readers comment at the end of a page | Comments |
| Count visits with Google Analytics, Plausible or another service | Analytics and SEO |
| Check that search engines index the site correctly | Analytics and SEO |
| Upgrade OINK, or migrate from Docsy or OINK 0.4 | Upgrade |
| Fix a build error, empty search results or a 404 | Troubleshooting |