aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Budzenski <jbudz@users.noreply.github.com>2018-06-01 10:25:38 -0500
committerGitHub <noreply@github.com>2018-06-01 10:25:38 -0500
commita2f3922f03fd5b5617f97d928e3e15cf7c185d6f (patch)
tree89e23e201940aafd73f7c25949ad0cfcc636687b
parent9ce082b1f4034ebf00fc05c1ef05f99639db3d0d (diff)
Revert "fix docs cli command (#19501)" (#19579)
This reverts commit 735bda343db8462563f5919d4892dbc01fda33f8.
-rw-r--r--src/docs/docs_repo.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/docs/docs_repo.js b/src/docs/docs_repo.js
index a6959ea69..7c415f58d 100644
--- a/src/docs/docs_repo.js
+++ b/src/docs/docs_repo.js
@@ -27,14 +27,7 @@ export function buildDocsScript(cmd) {
export function buildDocsArgs(cmd) {
const docsIndexFile = resolve(kibanaDir, 'docs', 'index.asciidoc');
- const xpackDocsPath = resolve(kibanaDir, 'x-pack', 'docs');
- let args = [
- '--doc',
- docsIndexFile,
- '--resource',
- xpackDocsPath,
- '--chunk=1',
- ];
+ let args = ['--doc', docsIndexFile, '--chunk=1'];
if (cmd.open) {
args = [...args, '--open'];
}