remove dev site

This commit is contained in:
Koushik Dutta
2024-10-26 16:19:46 -05:00
parent d3df5742e6
commit a61c06b607
6 changed files with 6 additions and 74 deletions

3
.gitmodules vendored
View File

@@ -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

39
sdk/package-lock.json generated
View File

@@ -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",

View File

@@ -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"
}

View File

@@ -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"
}

View File

@@ -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');