Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tothero committed Jun 11, 2024
1 parent 844a695 commit 1f51295
Show file tree
Hide file tree
Showing 49 changed files with 120 additions and 100 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

`npm start`r
`npm start`
Starts the development server.

`npm run build`
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 1 addition & 5 deletions docs/platform/_category_.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"label": "IoT Platform",
"position": 2,
"link": {
"type": "generated-index",
"description": "Knowledge Base"
}
"position": 2
}
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/products/metering-gateways/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Metering Gateways",
"position": 0,
"collapsed": true
}
5 changes: 5 additions & 0 deletions docs/products/metering-gateways/wired-mbus/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Wired M-BUS",
"position": 2,
"collapsed": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Hybrid Gateway",
"position": 2,
"collapsed": true
}
5 changes: 5 additions & 0 deletions docs/products/metering-gateways/wireless-mbus/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Wireless M-BUS",
"position": 1,
"collapsed": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Gateway Concentrator",
"position": 6
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Gateway DinRail",
"position": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Discontinued",
"position": 100
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "LoRaWAN Bridge V2",
"position": 8
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Gateway V2",
"position": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Discontinued Gateways

:::info
These products have been discontinued and are no longer available for sale.
:::

* [LoRaWAN Bridge V2](./bridge-v2/index.md)
* [NB-IoT Gateway V2](./gw-v2/index.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Gateway V3",
"position": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Gateway V4",
"position": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 1
:::warning
This product has been discontinued and functionally replaced by the wMBUS gateway V3 / V4.
:::
# Description
# Description2

## Getting Started

Expand Down
47 changes: 47 additions & 0 deletions docs/products/metering-gateways/wireless-mbus/gw-v4/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
sidebar_position: 1
---
:::warning
This product has been discontinued and functionally replaced by the wMBUS gateway V3 / V4.
:::
# Wmbus Gateway V4

## Getting Started

Get started by **creating a new site**.

Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.

### What you'll need

- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.

## Generate a new site

Generate a new Docusaurus site using the **classic template**.

The classic template will automatically be added to your project after you run the command:

```bash
npm init docusaurus@latest my-website classic
```

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

The command also installs all necessary dependencies you need to run Docusaurus.

## Start your site

Run the development server:

```bash
cd my-website
npm run start
```

The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Gateway Solar",
"position": 5
}
9 changes: 0 additions & 9 deletions docs/products/smart-metering/_category_.json

This file was deleted.

9 changes: 0 additions & 9 deletions docs/products/smart-metering/wired-mbus/_category_.json

This file was deleted.

9 changes: 0 additions & 9 deletions docs/products/smart-metering/wireless-mbus/_category_.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const config: Config = {
{
type: 'dropdown',
label: 'Community',
position: 'left',
position: 'right',
items: [
{
label: 'Facebook',
Expand All @@ -102,9 +102,9 @@ const config: Config = {
},
{
type: 'docSidebar',
sidebarId: 'smartMeteringSidebar',
sidebarId: 'MeteringGwSidebar',
position: 'left',
label: 'Smart Metering Gateways',
label: 'Metering Gateways',
},
/*
{
Expand Down
14 changes: 7 additions & 7 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const sidebars: SidebarsConfig = {
productsSidebar: [
{
type: 'category',
label: 'Products',
label: 'Products-sb',
items: [
{type: 'autogenerated', dirName: 'products'},
],
Expand All @@ -30,20 +30,20 @@ const sidebars: SidebarsConfig = {
wmbusGwSidebar: [
{
type: 'category',
label: 'Wireless M-BUS Gateways',
label: 'Wireless M-BUS Gateways-sb',
items: [
{type: 'autogenerated', dirName: 'products/smart-metering/wireless-mbus'},
{type: 'autogenerated', dirName: 'products/metering-gateways/wireless-mbus'},
],
},
],


smartMeteringSidebar: [
MeteringGwSidebar: [
{
type: 'category',
label: 'Smart Metering Gateways',
label: 'Metering Gateways-sb',
items: [
{type: 'autogenerated', dirName: 'products/smart-metering'},
{type: 'autogenerated', dirName: 'products/metering-gateways'},
],
},
],
Expand All @@ -53,7 +53,7 @@ const sidebars: SidebarsConfig = {
platformSidebar: [
{
type: 'category',
label: 'IoT Platform',
label: 'IoT Platform-sb',
items: [
{type: 'autogenerated', dirName: 'platform'},
],
Expand Down

0 comments on commit 1f51295

Please sign in to comment.