Fix tabs for c++ getting started (#2529)
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
This commit is contained in:
parent
afc548769f
commit
2d1f7cfe73
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
weight: 2
|
weight: 2
|
||||||
|
spelling:
|
||||||
|
cSpell:ignore Bazel libcurl openssl xcode DBUILD DWITH helloworld tracestate
|
||||||
|
traceparent devel
|
||||||
---
|
---
|
||||||
|
|
||||||
Welcome to the OpenTelemetry C++ getting started guide! This guide will walk you
|
Welcome to the OpenTelemetry C++ getting started guide! This guide will walk you
|
||||||
|
|
@ -19,32 +22,32 @@ You can build OpenTelemetry C++ on Windows, macOS or Linux. First you need to
|
||||||
install some dependencies:
|
install some dependencies:
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
{{< ot-tabs "Linux (apt)" "Linux (yum)" "Linux (alpine)" "MacOS (homebrew)">}}
|
{{< tabpane lang=shell persistLang=false >}}
|
||||||
|
|
||||||
{{< ot-tab lang="shell">}}
|
{{< tab "Linux (apt)" >}}
|
||||||
sudo apt-get install git cmake g++ libcurl4-openssl-dev
|
sudo apt-get install git cmake g++ libcurl4-openssl-dev
|
||||||
{{< /ot-tab >}}
|
{{< /tab >}}
|
||||||
|
|
||||||
{{< ot-tab lang="shell">}}
|
{{< tab "Linux (yum)" >}}
|
||||||
sudo yum install git cmake g++ libcurl-devel
|
sudo yum install git cmake g++ libcurl-devel
|
||||||
{{< /ot-tab >}}
|
{{< /tab >}}
|
||||||
|
|
||||||
{{< ot-tab lang="shell">}}
|
{{< tab "Linux (alpine)" >}}
|
||||||
sudo apk add git cmake g++ make curl-dev
|
sudo apk add git cmake g++ make curl-dev
|
||||||
{{< /ot-tab >}}
|
{{< /tab >}}
|
||||||
|
|
||||||
{{< ot-tab lang="shell">}}
|
{{< tab "MacOS (homebrew)" >}}
|
||||||
xcode-select —install
|
xcode-select —install
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
brew install git cmake
|
brew install git cmake
|
||||||
{{< /ot-tab >}}
|
{{< /tab >}}
|
||||||
|
|
||||||
{{< /ot-tabs >}}
|
{{< /tabpane >}}
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
Get the `opentelementry-cpp` source:
|
Get the `opentelemetry-cpp` source:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone --recursive https://github.com/open-telemetry/opentelemetry-cpp
|
git clone --recursive https://github.com/open-telemetry/opentelemetry-cpp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue