Skip to content

Commit

Permalink
Fix docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Sep 5, 2021
1 parent b16765b commit 95ae56e
Show file tree
Hide file tree
Showing 5 changed files with 882 additions and 43,954 deletions.
2 changes: 1 addition & 1 deletion docgen/device_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const YAML = require('json2yaml');
const HomeassistantExtension = require('zigbee2mqtt/dist/extension/homeassistant');
const homeassistant = new HomeassistantExtension(null, null, null, null, {on: () => {}});
const assert = require('assert');
const devices = require('zigbee-herdsman-converters').devices;
const devices = require('zigbee2mqtt/node_modules/zigbee-herdsman-converters').devices;
const path = require('path');
const imageBase = path.join(__dirname, '..', 'docs', 'images', 'devices');

Expand Down
2 changes: 1 addition & 1 deletion docgen/docgen.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs');
const path = require('path');
const devices = require('zigbee-herdsman-converters').devices;
const devices = require('zigbee2mqtt/node_modules/zigbee-herdsman-converters').devices;
const utils = require('./utils');

const base = path.join(__dirname, '..', 'docs');
Expand Down
2 changes: 1 addition & 1 deletion docgen/supported-devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This script generates the supported devices page.
*/

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

Expand Down
Loading

0 comments on commit 95ae56e

Please sign in to comment.