From e0fb8b1fad1131ee446f1d87576273ee4e028c8e Mon Sep 17 00:00:00 2001 From: Hasyimi Bahrudin Date: Tue, 7 Feb 2017 14:15:16 +0800 Subject: [PATCH] Add documentation for validate command --- website/source/docs/cli/validate.html.md | 20 ++++++++++++++++++++ website/source/layouts/docs.erb | 1 + 2 files changed, 21 insertions(+) create mode 100644 website/source/docs/cli/validate.html.md diff --git a/website/source/docs/cli/validate.html.md b/website/source/docs/cli/validate.html.md new file mode 100644 index 000000000..0c0646994 --- /dev/null +++ b/website/source/docs/cli/validate.html.md @@ -0,0 +1,20 @@ +--- +layout: "docs" +page_title: "vagrant validate - Command-Line Interface" +sidebar_current: "cli-validate" +description: |- + The "vagrant validate" command is used to validate your Vagrantfile. +--- + +# Up + +**Command: `vagrant validate`** + +This command validates your [Vagrantfile](/docs/vagrantfile/). + +## Examples + +```sh +$ vagrant validate +Vagrantfile validated successfully. +``` diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index ca0630679..ba0f9f0b1 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -62,6 +62,7 @@ >status >suspend >up + >validate >version >More Commands >Machine Readable Output