adding pip installation link to downloads and removed codeblocks

This commit is contained in:
Foster Irwin 2022-02-03 16:28:23 -07:00
parent ba3bf2bb36
commit 224bcb9cc7
2 changed files with 2 additions and 8 deletions

View file

@ -10,6 +10,7 @@ import TabItem from '@theme/TabItem';
Install Meshtastic Flasher by either [downloading the executable file](https://github.com/meshtastic/Meshtastic-gui-installer/releases) or installing using `pip`. The following operating systems are: Windows, Mac, and Ubuntu.
### Install using `pip`
<Tabs
groupId="operating-system"
defaultValue="linux"

View file

@ -4,7 +4,6 @@ import useSWR from 'swr';
// import { Endpoints } from '@octokit/types';
import Layout from '@theme/Layout';
import CodeBlock from '@theme/CodeBlock';
import { Release } from '../../utils/github';
import { fetcher } from '../../utils/swr';
@ -47,13 +46,7 @@ const Firmware = (): JSX.Element => {
buttonText="Download Meshtastic Flasher"
url="https://github.com/meshtastic/Meshtastic-gui-installer/releases/latest"
notes={[
"To download using ", <code>pip</code>, " use the following:",
<CodeBlock className="language-bash" title="Install meshtastic-flasher">
{"pip install meshtastic-flasher"}
</CodeBlock>,
<CodeBlock className="language-bash" title="Running meshtastic-flasher">
{"meshtastic-flasher"}
</CodeBlock>,
"To download using ", <code>pip</code>, " follow ",<a href="https://meshtastic.org/docs/getting-started/meshtastic-flasher#install-using-pip">these instructions</a>,"."
]}
/>
</div>