Skip to content

Commit f34da62

Browse files
authored
chore(docs): deprecate ionic docs command (#4905)
1 parent cb0f91b commit f34da62

File tree

1 file changed

+2
-0
lines changed
  • packages/@ionic/cli/src/commands

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export class DocsCommand extends Command {
3131
const homepage = 'https://ion.link/docs';
3232
const url = this.project ? await this.project.getDocsUrl() : homepage;
3333

34+
this.env.log.warn(`The ${input('ionic docs')} command has been deprecated and will be removed in an upcoming major release of the Ionic CLI. Developers should bookmark ${url} in their browser for easy access.`);
35+
3436
try {
3537
const { req } = await createRequest('HEAD', url, this.env.config.getHTTPConfig());
3638
await req;

0 commit comments

Comments
 (0)