Fix range test docs, update nav to remove showcase placeholder

This commit is contained in:
Garth Vander Houwen 2022-06-29 08:09:29 -07:00
parent 85b6e028f0
commit 070de7a0f1
2 changed files with 12 additions and 115 deletions

View file

@ -32,11 +32,11 @@ How long to wait between sending test packets. 0 is default which disables sendi
<Tabs
groupId="settings"
defaultValue="flasher"
defaultValue="cli"
values={[
{label: 'Android', value: 'android'},
{label: 'Apple', value: 'apple'},
{label: 'Command Line', value: 'cli'},
{label: 'CLI', value: 'cli'},
{label: 'Flasher', value: 'flasher'},
{label: 'Web', value: 'web'},
]}>
@ -64,19 +64,13 @@ All range test module config options are available in the python CLI. Example co
| range_test_module_save | `true`, `false` | `false` |
| range_test_module_sender | `integer` (Seconds) | `0` |
```shell title="Enable the module"
```shell title="Enable / Disable the range test"
meshtastic --set range_test_module_enabled true
meshtastic --set range_test_module_enabled false
```
```shell title="Disable the module"
meshtastic --set range_test_module_enabled true
```
```shell title="Enable range test save"
```shell title="Enable / Disable range test save"
meshtastic --set range_test_module_save true
```
```shell title="Disable range test save"
meshtastic --set range_test_module_save false
```
@ -134,89 +128,3 @@ http://198.168.0.15
| Long Alt | 30 |
| Medium | 15 |
| Short Fast | 15 |
## Examples
### Sender Node
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
]}>
<TabItem value="cli">
```shell title="Example - Sender Node"
meshtastic --set range_test_module_enabled true
meshtastic --set range_test_module_sender 60
```
</TabItem>
<TabItem value="android">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
</Tabs>
### Receiver Node
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
]}>
<TabItem value="cli">
```shell title="Example - Receiver Node"
meshtastic --set range_test_module_enabled true
meshtastic --set range_test_module_save true
```
</TabItem>
<TabItem value="android">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
</Tabs>

View file

@ -90,26 +90,15 @@ const config = {
label: 'Software',
to: 'docs/software',
},
{
label: 'Developers',
to: 'docs/developers',
},
],
},
{
label: 'Developers',
to: 'docs/developers',
},
{
label: 'Other',
items: [
{
label: 'Downloads',
to: 'downloads',
activeBasePath: 'downloads',
},
{
label: 'Showcase',
to: 'showcase',
activeBasePath: 'showcase',
},
],
label: 'Downloads',
to: 'downloads',
},
],
},