﻿---
title: Documentation Set Commands
description: An isolated build means building a single documentation set. A Documentation Set is defined as a folder containing a docset.yml file. These commands are...
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/cli/docset
---

# Documentation Set Commands
An isolated build means building a single documentation set.
A `Documentation Set` is defined as a folder containing a [docset.yml](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/configure/content-set) file.
These commands are typically what you interface with when you are working on the documentation of a single repository locally.

## Isolated build commands

`build` is the default command so you can just run `docs-builder` to build a single documentation set. `docs-builder` will
locate the `docset.yml` anywhere in the directory tree automatically and build the documentation.
- [build](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/cli/docset/build) - build a single documentation set (incrementally)
- [serve](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/cli/docset/serve) - partial build and serve documentation as needed at http://localhost:3000
- [index](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/cli/docset/index-command) - ingest a single documentation set to an Elasticsearch index.


## Refactor commands

- [mv](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/cli/docset/mv) - move a file or folder to a new location. This will rewrite all links in all files too.
- [diff validate](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/cli/docset/diff-validate) - validate that local changes are reflected in [redirects.yml](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2842/contribute/redirects)