Skip to content

Commit 95ae56e

Browse files
committed
Fix docgen
1 parent b16765b commit 95ae56e

File tree

5 files changed

+882
-43954
lines changed

5 files changed

+882
-43954
lines changed

docgen/device_page.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const YAML = require('json2yaml');
88
const HomeassistantExtension = require('zigbee2mqtt/dist/extension/homeassistant');
99
const homeassistant = new HomeassistantExtension(null, null, null, null, {on: () => {}});
1010
const assert = require('assert');
11-
const devices = require('zigbee-herdsman-converters').devices;
11+
const devices = require('zigbee2mqtt/node_modules/zigbee-herdsman-converters').devices;
1212
const path = require('path');
1313
const imageBase = path.join(__dirname, '..', 'docs', 'images', 'devices');
1414

docgen/docgen.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fs = require('fs');
22
const path = require('path');
3-
const devices = require('zigbee-herdsman-converters').devices;
3+
const devices = require('zigbee2mqtt/node_modules/zigbee-herdsman-converters').devices;
44
const utils = require('./utils');
55

66
const base = path.join(__dirname, '..', 'docs');

docgen/supported-devices.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This script generates the supported devices page.
33
*/
44

5-
const devices = [...require('zigbee-herdsman-converters').devices];
5+
const devices = [...require('zigbee2mqtt/node_modules/zigbee-herdsman-converters').devices];
66
const path = require('path');
77
const imageBase = path.join(__dirname, '..', 'docs', 'images', 'devices');
88

0 commit comments

Comments
 (0)