diff --git a/.gitmodules b/.gitmodules index dc945de15..ab6deb7a3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -11,9 +11,6 @@ [submodule "external/werift"] path = external/werift url = ../../koush/werift-webrtc -[submodule "sdk/developer.scrypted.app"] - path = sdk/developer.scrypted.app - url = ../../koush/developer.scrypted.app [submodule "plugins/sample-cameraprovider"] path = plugins/sample-cameraprovider url = ../../koush/scrypted-sample-cameraprovider diff --git a/sdk/developer.scrypted.app b/sdk/developer.scrypted.app deleted file mode 160000 index 21de09308..000000000 --- a/sdk/developer.scrypted.app +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 21de09308466777d879af037d7aec91f441310ae diff --git a/sdk/package-lock.json b/sdk/package-lock.json index df66eb758..03909b545 100644 --- a/sdk/package-lock.json +++ b/sdk/package-lock.json @@ -37,9 +37,7 @@ "@types/stringify-object": "^4.0.5", "stringify-object": "^3.3.0", "ts-node": "^10.9.2", - "typedoc": "^0.26.10", - "typedoc-plugin-markdown": "^4.2.9", - "typedoc-vitepress-theme": "^1.0.2" + "typedoc": "^0.26.10" } }, "developer.scrypted.app/typedoc-master": { @@ -2844,27 +2842,6 @@ "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x" } }, - "node_modules/typedoc-plugin-markdown": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.2.9.tgz", - "integrity": "sha512-Wqmx+7ezKFgtTklEq/iUhQ5uFeBDhAT6wiS2na9cFLidIpl9jpDHJy/COYh8jUZXgIRIZVQ/bPNjyrnPFoDwzg==", - "dev": true, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "typedoc": "0.26.x" - } - }, - "node_modules/typedoc-vitepress-theme": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typedoc-vitepress-theme/-/typedoc-vitepress-theme-1.0.2.tgz", - "integrity": "sha512-6RUW4FBsGolOU3M92F7qz9ILKjL0oq8aHyQ5Q39tIpzapimJ2qX+ChLqzcBP7/aAtEoPYezIivjjZN9oZ4Ghvg==", - "dev": true, - "peerDependencies": { - "typedoc-plugin-markdown": ">=4.1.0" - } - }, "node_modules/typedoc/node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -5226,20 +5203,6 @@ } } }, - "typedoc-plugin-markdown": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.2.9.tgz", - "integrity": "sha512-Wqmx+7ezKFgtTklEq/iUhQ5uFeBDhAT6wiS2na9cFLidIpl9jpDHJy/COYh8jUZXgIRIZVQ/bPNjyrnPFoDwzg==", - "dev": true, - "requires": {} - }, - "typedoc-vitepress-theme": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typedoc-vitepress-theme/-/typedoc-vitepress-theme-1.0.2.tgz", - "integrity": "sha512-6RUW4FBsGolOU3M92F7qz9ILKjL0oq8aHyQ5Q39tIpzapimJ2qX+ChLqzcBP7/aAtEoPYezIivjjZN9oZ4Ghvg==", - "dev": true, - "requires": {} - }, "typescript": { "version": "5.5.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", diff --git a/sdk/package.json b/sdk/package.json index 00b81d12d..5725b6e46 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -12,8 +12,6 @@ "scripts": { "prepublishOnly": "npm run build && cd types && npm version patch && npm publish", "prebuild": "cd types && npm run build", - "predocs": "npm run build", - "docs": "typedoc", "build": "rimraf dist && tsc", "webpack": "webpack-cli --config webpack.config.js", "test": "echo \"Error: no test specified\" && exit 1" @@ -49,9 +47,7 @@ "@types/stringify-object": "^4.0.5", "stringify-object": "^3.3.0", "ts-node": "^10.9.2", - "typedoc": "^0.26.10", - "typedoc-plugin-markdown": "^4.2.9", - "typedoc-vitepress-theme": "^1.0.2" + "typedoc": "^0.26.10" }, "types": "dist/src/index.d.ts" } diff --git a/sdk/typedoc.json b/sdk/typedoc.json deleted file mode 100644 index 2aaad3c95..000000000 --- a/sdk/typedoc.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "entryPoints": [ - "./src" - ], - "sort": ["source-order"], - "name": "Scrypted Documentation", - "tsconfig": "./tsconfig.json", - "out": "./developer.scrypted.app/gen", - "categorizeByGroup": false, - "defaultCategory": "Device Interfaces Reference", - "excludePrivate": true, - "disableSources": true, - "categoryOrder": [ - "Core Reference", - "Device Provider Reference", - "Media Reference", - "Webhook and Push Reference", - "Mixin Reference", - "WebRTC Reference" - ], - "plugin": ["typedoc-plugin-markdown", "typedoc-vitepress-theme"], - "readme": "./README.md" -} diff --git a/sdk/types/src/build.ts b/sdk/types/src/build.ts index b55df9c2f..de7575263 100644 --- a/sdk/types/src/build.ts +++ b/sdk/types/src/build.ts @@ -1,8 +1,8 @@ -import stringifyObject from 'stringify-object'; -import { ScryptedInterface, ScryptedInterfaceDescriptor } from "./types.input"; -import path from 'path'; import fs from "fs"; -import { DeclarationReflection, ProjectReflection, ReflectionKind, SomeType } from 'typedoc'; +import path from 'path'; +import stringifyObject from 'stringify-object'; +import { DeclarationReflection, ProjectReflection, ReflectionKind } from 'typedoc'; +import { ScryptedInterface, ScryptedInterfaceDescriptor } from "./types.input"; const schema = JSON.parse(fs.readFileSync(path.join(__dirname, '../gen/schema.json')).toString()) as ProjectReflection; const packageJson = require('../package.json');