Merge branch 'master' into i18n

This commit is contained in:
Thomas Göttgens 2023-05-15 15:21:18 +02:00 committed by GitHub
commit a0079472a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 126 additions and 59 deletions

View file

@ -12,6 +12,5 @@ The recommended method for firmware flashing is the [Web-Based Installer.](https
## Flashing Method for ESP32 Devices
1. The [Web-Based Installer](/docs/getting-started/flashing-firmware/esp32/web-flasher.mdx) requires either Chrome or Edge browsers but is an excellent choice for quickly flashing devices. **This method is highly recommended for firmware flashing, especially for new users of the project, as it is easy to use.**
2. The [Python Flasher](/docs/software/python/flasher) does a lot under the hood to prevent you from needing to use the terminal.
3. The [CLI Script](/docs/getting-started/flashing-firmware/esp32/cli-script) is considered the "manual process" for flashing firmware.
4. Flashing your device using an [external serial adapter](/docs/getting-started/flashing-firmware/esp32/external-serial-adapter) should only be attempted as a last resort if no other method has been successful.
2. The [CLI Script](/docs/getting-started/flashing-firmware/esp32/cli-script) is considered the "manual process" for flashing firmware.
3. Flashing your device using an [external serial adapter](/docs/getting-started/flashing-firmware/esp32/external-serial-adapter) should only be attempted as a last resort if no other method has been successful.

View file

@ -2,7 +2,7 @@
id: buttons
title: Hardware Buttons
sidebar_label: Buttons
sidebar_position: 3
sidebar_position: 1
---
## Functionality

View file

@ -2,7 +2,7 @@
id: enclosures
title: Enclosures
sidebar_label: Enclosures
sidebar_position: 3
sidebar_position: 2
---
import Tropho from "/img/enclosures/3dp-tropho-heltec32.png";

View file

@ -145,9 +145,20 @@ Not recommended because of design issues! Support is being phased out. Use V3 in
## Features
- no display
- User and Reset switches
- No GPS
- No display.
- User and Reset switches.
- Additional GPIO availability.
- No GPS.
### Meshtastic I2C Definitions
- SCL: GPIO47
- SDA: GPIO48
### Pin Map
![HTIT-WSL_V3_PIN_MAP](/img/hardware/HTIT-WSL_V3_PIN_MAP.png)
Image Source: [Heltec](https://resource.heltec.cn/download/Wireless_Stick_Lite_V3/HTIT-WSL_V3.png)
## Resources

View file

@ -10,6 +10,12 @@ import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import Link from "@docusaurus/Link";
:::caution
This method is no longer supported. Please use a [supported method](/docs/getting-started/flashing-firmware).
:::
***
:::caution
Make sure not to power the radio on without first attaching the antenna! You could damage the radio chip!
:::

View file

@ -7,6 +7,7 @@
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"serve": "docusaurus serve",
"clear": "docusaurus clear",
"write-translations": "docusaurus write-translations",
@ -19,6 +20,7 @@
"@docusaurus/core": "2.4.0",
"@docusaurus/plugin-content-docs": "2.4.0",
"@docusaurus/preset-classic": "2.4.0",
"@docusaurus/theme-common": "^2.4.0",
"@docusaurus/theme-mermaid": "^2.4.0",
"@headlessui/react": "^1.7.14",
"@heroicons/react": "^2.0.18",
@ -42,10 +44,10 @@
"@docusaurus/module-type-aliases": "2.4.0",
"@tailwindcss/typography": "^0.5.9",
"@tsconfig/docusaurus": "^1.0.7",
"@types/node": "^20.1.3",
"@types/node": "^20.1.4",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"rome": "^12.0.0",
"rome": "^12.1.0",
"typescript": "^5.0.4"
}
}

View file

@ -16,6 +16,9 @@ dependencies:
'@docusaurus/preset-classic':
specifier: 2.4.0
version: 2.4.0(@algolia/client-search@4.17.0)(@types/react@18.2.6)(react-dom@17.0.2)(react@17.0.2)(typescript@5.0.4)
'@docusaurus/theme-common':
specifier: ^2.4.0
version: 2.4.0(@docusaurus/types@2.4.0)(react-dom@17.0.2)(react@17.0.2)(typescript@5.0.4)
'@docusaurus/theme-mermaid':
specifier: ^2.4.0
version: 2.4.0(react-dom@17.0.2)(react@17.0.2)(typescript@5.0.4)
@ -82,8 +85,8 @@ devDependencies:
specifier: ^1.0.7
version: 1.0.7
'@types/node':
specifier: ^20.1.3
version: 20.1.3
specifier: ^20.1.4
version: 20.1.4
'@types/react':
specifier: ^18.2.6
version: 18.2.6
@ -91,8 +94,8 @@ devDependencies:
specifier: ^18.2.4
version: 18.2.4
rome:
specifier: ^12.0.0
version: 12.0.0
specifier: ^12.1.0
version: 12.1.0
typescript:
specifier: ^5.0.4
version: 5.0.4
@ -2521,7 +2524,7 @@ packages:
'@jest/schemas': 29.4.3
'@types/istanbul-lib-coverage': 2.0.4
'@types/istanbul-reports': 3.0.1
'@types/node': 20.1.3
'@types/node': 20.1.4
'@types/yargs': 17.0.24
chalk: 4.1.2
dev: false
@ -2697,48 +2700,48 @@ packages:
resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==}
dev: false
/@rometools/cli-darwin-arm64@12.0.0:
resolution: {integrity: sha512-kEFCzU6cgy6vfY0mkMzq57ea3srqV5X2wyCAxjVfA2JF7fioq695uWhy7yOCBW+nUUFIz62N9v1nf/aYqX8XkA==}
/@rometools/cli-darwin-arm64@12.1.0:
resolution: {integrity: sha512-U9trIXqE+WVsPUQRE8vooh97jNcyC1cvhNO91Q31FfWgccfbiJbfiQzPewpQ1+UseyJIdpWFAYLs8VFykhAl3g==}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/@rometools/cli-darwin-x64@12.0.0:
resolution: {integrity: sha512-YDevVPKrkRFdjjM/3zOpOWI5mEY2ivjKM2eR8Yqv9xH3SZhyD/t67f/xo7Azp6NkGUVXSnHLGdkmIg+qrYgz5A==}
/@rometools/cli-darwin-x64@12.1.0:
resolution: {integrity: sha512-ePyRJwprT+POsGue1gdqPYOHojXfDz/OJI18renU0NI2CHeeeMhnquu+MZJaiBGyBd1ezIgWZWiQ4DhLFOaCUg==}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/@rometools/cli-linux-arm64@12.0.0:
resolution: {integrity: sha512-n2LJg6eAZENUcJF99wjDeqQCr/40IqGUJDbX7NwiU1RvCy+RBZNmhcmSAaKOc6rCoLUcM9W5q+H4jfn4bWfJBA==}
/@rometools/cli-linux-arm64@12.1.0:
resolution: {integrity: sha512-j/pF6pF+lKihw7CIvwQZqQG9gpaUy2FyO9+nu5dvCChblXNEaA2zMnpLnDlCue0B7xY0jZkk1EZdF49ztEZZFA==}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@rometools/cli-linux-x64@12.0.0:
resolution: {integrity: sha512-VuQO4eOrKmfrLrc8KzMaZypz3i1rD9FXRxwOFk6ha16DNHV+17dRQYm7jRZ1p+HrXdjAJYTScxR/E03yGLThlQ==}
/@rometools/cli-linux-x64@12.1.0:
resolution: {integrity: sha512-zh6tW0JumP/rQkFDdsg6FEDBv0ZPvPLFirfHqzJA8VDNRBHkOTq27oVCbTJIGyUCGm9VvIzG8sJFVKkYpxkl2g==}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@rometools/cli-win32-arm64@12.0.0:
resolution: {integrity: sha512-lvOh5/B8YuQdI2ieGJnJ6CUMZxvVwA8+1VDkEZJyl5IEF8AXzbXYx4k6SFA5a79cfXEL9tJuJy0rn+Zs/+1yJQ==}
/@rometools/cli-win32-arm64@12.1.0:
resolution: {integrity: sha512-ggug6gUWFnO2QK0KC5XsYRhuZ22jeLksebdHMnkaHzZBtxXnKMC7yXnYwU/Lg2fGAwmMsluIbaqFYgen4+c8RA==}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/@rometools/cli-win32-x64@12.0.0:
resolution: {integrity: sha512-yTfz71k8+9QIDzglKnMbEMMv1JUk30qfeSomgEUG2v0qDSbSq0Gs1ff0H0dysYOHLvZZmWA3IheOY/SC8fj1nA==}
/@rometools/cli-win32-x64@12.1.0:
resolution: {integrity: sha512-TnurdnlzBwcvRSsgmNz9Gorffnjr5cS8TdHo9w+3pT4GdSsrLZqvd1IV2tj4uRKkNn6OJtSqW3tZ5SiTrf0LuA==}
cpu: [x64]
os: [win32]
requiresBuild: true
@ -2959,26 +2962,26 @@ packages:
resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==}
dependencies:
'@types/connect': 3.4.35
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/bonjour@3.5.10:
resolution: {integrity: sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/connect-history-api-fallback@1.3.5:
resolution: {integrity: sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==}
dependencies:
'@types/express-serve-static-core': 4.17.33
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/connect@3.4.35:
resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/eslint-scope@3.7.4:
@ -2999,7 +3002,7 @@ packages:
/@types/express-serve-static-core@4.17.33:
resolution: {integrity: sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
'@types/qs': 6.9.7
'@types/range-parser': 1.2.4
dev: false
@ -3029,7 +3032,7 @@ packages:
/@types/http-proxy@1.17.10:
resolution: {integrity: sha512-Qs5aULi+zV1bwKAg5z1PWnDXWmsn+LxIvUGv6E2+OOMYhclZMO+OXd9pYVf2gLykf2I7IV2u7oTHwChPNsvJ7g==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/istanbul-lib-coverage@2.0.4:
@ -3054,7 +3057,7 @@ packages:
/@types/keyv@3.1.4:
resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/mdast@3.0.11:
@ -3071,8 +3074,8 @@ packages:
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
dev: false
/@types/node@20.1.3:
resolution: {integrity: sha512-NP2yfZpgmf2eDRPmgGq+fjGjSwFgYbihA8/gK+ey23qT9RkxsgNTZvGOEpXgzIGqesTYkElELLgtKoMQTys5vA==}
/@types/node@20.1.4:
resolution: {integrity: sha512-At4pvmIOki8yuwLtd7BNHl3CiWNbtclUbNtScGx4OHfBd4/oWoJC8KRCIxXwkdndzhxOsPXihrsOoydxBjlE9Q==}
/@types/parse-json@4.0.0:
resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}
@ -3129,7 +3132,7 @@ packages:
/@types/responselike@1.0.0:
resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/retry@0.12.0:
@ -3139,7 +3142,7 @@ packages:
/@types/sax@1.2.4:
resolution: {integrity: sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/scheduler@0.16.3:
@ -3155,13 +3158,13 @@ packages:
resolution: {integrity: sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==}
dependencies:
'@types/mime': 3.0.1
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/sockjs@0.3.33:
resolution: {integrity: sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/unist@2.0.6:
@ -3171,7 +3174,7 @@ packages:
/@types/ws@8.5.4:
resolution: {integrity: sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
dev: false
/@types/yargs-parser@21.0.0:
@ -4997,7 +5000,7 @@ packages:
resolution: {integrity: sha512-EzV94NYKoO09GLXGjXj9JIlXijVck4ONSr5wiCWDvhsvj5jxSrzTmRU/9C1DyB6uToszLs8aifA6NQ7lEQdvFw==}
engines: {node: '>= 0.8'}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
require-like: 0.1.2
dev: false
@ -6069,7 +6072,7 @@ packages:
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/types': 29.5.0
'@types/node': 20.1.3
'@types/node': 20.1.4
chalk: 4.1.2
ci-info: 3.8.0
graceful-fs: 4.2.11
@ -6080,7 +6083,7 @@ packages:
resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
engines: {node: '>= 10.13.0'}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
merge-stream: 2.0.0
supports-color: 8.1.1
@ -6088,7 +6091,7 @@ packages:
resolution: {integrity: sha512-NcrQnevGoSp4b5kg+akIpthoAFHxPBcb5P6mYPY0fUNT+sSvmtu6jlkEle3anczUKIKEbMxFimk9oTP/tpIPgA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@types/node': 20.1.3
'@types/node': 20.1.4
jest-util: 29.5.0
merge-stream: 2.0.0
supports-color: 8.1.1
@ -7952,18 +7955,18 @@ packages:
resolution: {integrity: sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==}
dev: false
/rome@12.0.0:
resolution: {integrity: sha512-w/tLvLj5PGUCx3R+Kna08BMq4zL83Xzh9spvrqoWa3Nkzk16SkD8JSpyWWP9WhI2r3qv3Xvc7FnYZ4QDnjAiYg==}
/rome@12.1.0:
resolution: {integrity: sha512-inIBYc2/Das6LDXcw8IQp7yeXth6Rhmj9y8sS/Y/0g5/29Lyzr785SjCmKyiN2No4MNsaP3YJNm2QZAs2UpR2w==}
engines: {node: '>=14.*'}
hasBin: true
requiresBuild: true
optionalDependencies:
'@rometools/cli-darwin-arm64': 12.0.0
'@rometools/cli-darwin-x64': 12.0.0
'@rometools/cli-linux-arm64': 12.0.0
'@rometools/cli-linux-x64': 12.0.0
'@rometools/cli-win32-arm64': 12.0.0
'@rometools/cli-win32-x64': 12.0.0
'@rometools/cli-darwin-arm64': 12.1.0
'@rometools/cli-darwin-x64': 12.1.0
'@rometools/cli-linux-arm64': 12.1.0
'@rometools/cli-linux-x64': 12.1.0
'@rometools/cli-win32-arm64': 12.1.0
'@rometools/cli-win32-x64': 12.1.0
dev: true
/rtl-detect@1.0.4:

View file

@ -318,7 +318,7 @@ export const FrequencyCalculator = (): JSX.Element => {
>
{Array.from(Array(numChannels).keys()).map((key) => (
<option key={key} value={key}>
{key}
{key + 1}
</option>
))}
</select>

View file

@ -96,13 +96,24 @@ const SocialCards: SocialCardProps[] = [
),
},
{
color: "bg-[#ffffff]",
color: "bg-[#4A99E9]",
link: "https://twitter.com/TheMeshtastic",
children: (
<img
alt="twitter"
className="m-auto h-10"
src="/img/homepage/Twitter-logo.svg"
className="m-auto h-14"
src="/img/homepage/Twitter-Logo-White.svg"
/>
),
},
{
color: "bg-[#3875EA]",
link: "https://facebook.com/themeshtastic",
children: (
<img
alt="facebook"
className="m-auto h-14"
src="/img/homepage/f_logo_RGB-White_1024.png"
/>
),
},

2
src/theme/NotFound.d.ts vendored Normal file
View file

@ -0,0 +1,2 @@
/// <reference types="react" />
export default function NotFound(): JSX.Element;

33
src/theme/NotFound.js Normal file
View file

@ -0,0 +1,33 @@
import React from "react";
import Translate, { translate } from "@docusaurus/Translate";
import { PageMetadata } from "@docusaurus/theme-common";
import Layout from "@theme/Layout";
export default function NotFound() {
return (
<>
<PageMetadata
title={translate({
id: "theme.NotFound.title",
message: "Page Not Found",
})}
/>
<Layout>
<main className="container margin-vert--xl">
<div className="row">
<div className="col col--6 col--offset-3">
<h1 className="hero__title">
<Translate
id="theme.NotFound.title"
description="The title of the 404 page"
>
404 - Page Not Found
</Translate>
</h1>
<img src="/design/chirpy.png" alt='Chirpy' />
</div>
</div>
</main>
</Layout>
</>
);
}

@ -1 +1 @@
Subproject commit a5c2cbe93724ae32e101cae1edf9ae9dffbfe2ac
Subproject commit 2865a55d39dea5f6d9f2c09ac1ec485666a833da

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 400 400" viewBox="0 0 400 400"><path d="M400 200c0 110.5-89.5 200-200 200S0 310.5 0 200 89.5 0 200 0s200 89.5 200 200zM163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8" style="fill:#fff"/></svg>

After

Width:  |  Height:  |  Size: 761 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 248 204"><path fill="#1d9bf0" d="M221.95 51.29c.15 2.17.15 4.34.15 6.53 0 66.73-50.8 143.69-143.69 143.69v-.04c-27.44.04-54.31-7.82-77.41-22.64 3.99.48 8 .72 12.02.73 22.74.02 44.83-7.61 62.72-21.66-21.61-.41-40.56-14.5-47.18-35.07a50.338 50.338 0 0 0 22.8-.87C27.8 117.2 10.85 96.5 10.85 72.46v-.64a50.18 50.18 0 0 0 22.92 6.32C11.58 63.31 4.74 33.79 18.14 10.71a143.333 143.333 0 0 0 104.08 52.76 50.532 50.532 0 0 1 14.61-48.25c20.34-19.12 52.33-18.14 71.45 2.19 11.31-2.23 22.15-6.38 32.07-12.26a50.69 50.69 0 0 1-22.2 27.93c10.01-1.18 19.79-3.86 29-7.95a102.594 102.594 0 0 1-25.2 26.16z"/></svg>

Before

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB