From 5342494ebbfdf85dcaa21c6a8c2578cb657c700c Mon Sep 17 00:00:00 2001 From: Martin Svoboda Date: Sun, 20 Oct 2024 20:47:51 +0200 Subject: [PATCH] Move docs to declaration files --- src/commands/{indexDocs.ts => index.ts} | 0 src/index.ts | 2 +- src/{indexDocs.ts => indexDocs.d.ts} | 2 +- typedoc.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/commands/{indexDocs.ts => index.ts} (100%) rename src/{indexDocs.ts => indexDocs.d.ts} (88%) diff --git a/src/commands/indexDocs.ts b/src/commands/index.ts similarity index 100% rename from src/commands/indexDocs.ts rename to src/commands/index.ts diff --git a/src/index.ts b/src/index.ts index 4b886cc6..b87c97a1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ export * as Util from './util'; -export * as Commands from './commands/indexDocs'; +export * as Commands from './commands'; export { Client } from './client'; export { Device } from './device'; diff --git a/src/indexDocs.ts b/src/indexDocs.d.ts similarity index 88% rename from src/indexDocs.ts rename to src/indexDocs.d.ts index bc6bac9d..18f7c3a1 100644 --- a/src/indexDocs.ts +++ b/src/indexDocs.d.ts @@ -1,4 +1,4 @@ -export * as Commands from './commands/indexDocs'; +export * as Commands from './commands'; export * as Client from './client'; export * as Logcat from './logcat'; export * as Util from './util/indexDocs'; diff --git a/typedoc.js b/typedoc.js index a8940e69..dd6bff91 100644 --- a/typedoc.js +++ b/typedoc.js @@ -6,7 +6,7 @@ module.exports = { excludePrivate: true, excludeProtected: true, out: './docs', - entryPoints: 'src/indexDocs.ts', + entryPoints: 'src/indexDocs.d.ts', githubPages: true, name: 'adb-ts' };