Skip to content

Commit e624258

Browse files
authored
refactor(docs): remove ionic docs command (ionic-team#4969)
BREAKING CHANGE: The `ionic docs` command has been removed. See ionic-team#4905 for an alternative.
1 parent 13568b1 commit e624258

4 files changed

Lines changed: 0 additions & 58 deletions

File tree

packages/@ionic/cli/src/commands/docs.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

packages/@ionic/cli/src/commands/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ export class IonicNamespace extends Namespace {
6363
return new CommandMap([
6464
['build', async () => { const { BuildCommand } = await import('./build'); return new BuildCommand(this); }],
6565
['completion', async () => { const { CompletionCommand } = await import('./completion'); return new CompletionCommand(this); }],
66-
['docs', async () => { const { DocsCommand } = await import('./docs'); return new DocsCommand(this); }],
6766
['generate', async () => { const { GenerateCommand } = await import('./generate'); return new GenerateCommand(this); }],
6867
['help', async () => { const { HelpCommand } = await import('./help'); return new HelpCommand(this); }],
6968
['info', async () => { const { InfoCommand } = await import('./info'); return new InfoCommand(this); }],

packages/@ionic/cli/src/definitions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ export interface IProject {
363363
readonly config: BaseConfig<IProjectConfig>;
364364
readonly details: import('./lib/project').ProjectDetailsResult;
365365

366-
getDocsUrl(): Promise<string>;
367366
getSourceDir(sourceRoot?: string): Promise<string>;
368367
getDefaultDistDir(): Promise<string>;
369368
getDistDir(): Promise<string>;

packages/@ionic/cli/src/lib/project/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,6 @@ export abstract class Project implements IProject {
528528
}
529529
}
530530

531-
async getDocsUrl(): Promise<string> {
532-
return 'https://ion.link/docs';
533-
}
534-
535531
async getSourceDir(): Promise<string> {
536532
return path.resolve(this.directory, 'src');
537533
}

0 commit comments

Comments
 (0)