This is an automated email from the ASF dual-hosted git repository. dmagda pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/ignite-3.git
commit aa4951236ec7ff19b8809c87ee717b3a62976a82 Author: Denis Magda <dma...@gridgain.com> AuthorDate: Thu Dec 31 15:42:51 2020 -0800 ignite-13740: moved the curl command of Windows to an includes file (to avoid command duplicates on the getting started page). --- docs/_docs/includes/ignite-cli-download-windows.adoc | 18 ++++++++++++++++++ docs/_docs/quick-start/getting-started-guide.adoc | 5 ++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/docs/_docs/includes/ignite-cli-download-windows.adoc b/docs/_docs/includes/ignite-cli-download-windows.adoc new file mode 100644 index 0000000..5bee012 --- /dev/null +++ b/docs/_docs/includes/ignite-cli-download-windows.adoc @@ -0,0 +1,18 @@ +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// tag::command[] +curl https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha1-rc1/ignite.exe -o ignite.exe +// end::command[] diff --git a/docs/_docs/quick-start/getting-started-guide.adoc b/docs/_docs/quick-start/getting-started-guide.adoc index ca5c21b..10f1d11 100644 --- a/docs/_docs/quick-start/getting-started-guide.adoc +++ b/docs/_docs/quick-start/getting-started-guide.adoc @@ -70,15 +70,14 @@ curl https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha1-rc1/ignite -o ig tab:Windows (PowerShell)[] [source,shell] ---- -curl https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha1-rc1/ignite.exe -o ignite.exe +include::../includes/ignite-cli-download-windows.adoc[tag=command,indent=0] ---- tab:Windows (CMD)[] [source,shell] ---- -curl https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha1-rc1/ignite.exe -o ignite.exe +include::../includes/ignite-cli-download-windows.adoc[tag=command,indent=0] ---- - -- . Add your installation directory to the PATH environment variable: