Skip to content

Commit 0b57e92

Browse files
authored
fix: missing newline in agent install codeblocks (#519)
because these are defined in a JSX CodeBlock and not a MD block, the newlines were not preserved and the commands didn't work.
1 parent 6717f1c commit 0b57e92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/agent-binary.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You can download the latest agent binary release for your architecture from our
88
<WithVersions language="bash">
99
{ versions =>
1010
<CodeBlock className="language-bash">
11-
curl -sL https://github.com/parca-dev/parca-agent/releases/download/{versions.agent}/parca-agent_{versions.agent.substring(1)}_`uname -s`_`uname -m` -o parca-agent && \
11+
curl -sL https://github.com/parca-dev/parca-agent/releases/download/{versions.agent}/parca-agent_{versions.agent.substring(1)}_`uname -s`_`uname -m` -o parca-agent && \{'\n'}
1212
chmod +x parca-agent
1313
</CodeBlock>
1414
}

docs/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import CodeBlock from '@theme/CodeBlock';
4343
<WithVersions language="bash">
4444
{ versions =>
4545
<CodeBlock className="language-bash">
46-
curl -sL https://github.com/parca-dev/parca-agent/releases/download/{versions.agent}/parca-agent_{versions.agent.substring(1)}_`uname -s`_`uname -m`
46+
curl -sL https://github.com/parca-dev/parca-agent/releases/download/{versions.agent}/parca-agent_{versions.agent.substring(1)}_`uname -s`_`uname -m` && \{'\n'}
4747
chmod +x ./parca-agent*
4848
</CodeBlock>
4949
}

0 commit comments

Comments
 (0)