Using doctor works best when you implement it on an automated CI/CD pipeline. For instance, each time you push a change to your source control system you use, let the pages rebuild themselves.

Azure DevOps and GitHub actions are a perfect choice for it, but doctor can run on any platform which allows you to run node.js CLI tools.

Azure DevOps

If you want to know more about setting up doctor on Azure DevOps, you can read the article from Elio at Using Doctor on Azure DevOps to generate your documentation.

GitHub Actions

If you want to use doctor in your GitHub Actions workflow, you can check out the following article from Elio: Using Doctor in GitHub Actions for your documentation.