From da23c4e949a9eb45b0515fd66f635f2b18f9e1a6 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Wed, 2 Oct 2019 09:41:11 -0400 Subject: [PATCH] template CLI install documentation into a separate file --- awxkit/awxkit/cli/docs/source/install.rst | 7 +++++++ awxkit/awxkit/cli/docs/source/usage.rst | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 awxkit/awxkit/cli/docs/source/install.rst diff --git a/awxkit/awxkit/cli/docs/source/install.rst b/awxkit/awxkit/cli/docs/source/install.rst new file mode 100644 index 0000000000..2e74380594 --- /dev/null +++ b/awxkit/awxkit/cli/docs/source/install.rst @@ -0,0 +1,7 @@ +The preferred way to install the AWX CLI is through pip: + +.. code:: bash + + pip install "https://github.com/ansible/awx/archive/$VERSION.tar.gz#egg=awxkit&subdirectory=awxkit" + +...where ``$VERSION`` is the version of AWX you're running. To see a list of all available releases, visit: https://github.com/ansible/awx/releases diff --git a/awxkit/awxkit/cli/docs/source/usage.rst b/awxkit/awxkit/cli/docs/source/usage.rst index 11ee5e18b9..0633bb9840 100644 --- a/awxkit/awxkit/cli/docs/source/usage.rst +++ b/awxkit/awxkit/cli/docs/source/usage.rst @@ -4,13 +4,7 @@ Basic Usage Installation ------------ -The preferred way to install the AWX CLI is through pip: - -.. code:: bash - - pip install "https://github.com/ansible/awx/archive/$VERSION.tar.gz#egg=awxkit&subdirectory=awxkit" - -...where ``$VERSION`` is the version of AWX you're running. To see a list of all available releases, visit: https://github.com/ansible/awx/releases +.. include:: install.rst Synopsis