Stop Preview

Stop a running MkDocs preview server. Use when port 8000 is busy, switching tasks, or done editing documentation.

nextflow-io 231e656 782 B Updated

File contents

Stop the MkDocs preview server that is running in the background.

See ../shared/repo-conventions.md for directory structure.

This will:

  1. Find any running Docker containers with the training-mkdocs image
  2. Stop the container(s)
  3. Confirm the server has been stopped

If no preview server is running, you'll be notified.

Use the following steps:

  1. Run docker ps --filter "ancestor=ghcr.io/nextflow-io/training-mkdocs:latest" --format "{{.ID}}" to find running containers
  2. If any container IDs are found, stop them with docker stop <container_id>
  3. Confirm they have been stopped

nextflow-io/training/tree/main/.claude/skills/stop-preview commit 231e65678b

Frequently asked questions

npx skillmds@latest add nextflow-io/stop-preview