Skip to content

Commit

Permalink
docs: remove a few redundant doc descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Dec 9, 2024
1 parent 4e0d1f5 commit 87f223e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions documentation/commands/categories.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ FLAG DESCRIPTIONS
--version=<value> ReadMe project version
Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project
version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions
If running command in a CI environment and this option is not passed, the main project version will be used. See our
docs for more information: https://docs.readme.com/main/docs/versions
```

## `rdme categories create TITLE`
Expand Down Expand Up @@ -87,6 +87,6 @@ FLAG DESCRIPTIONS
--version=<value> ReadMe project version
Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project
version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions
If running command in a CI environment and this option is not passed, the main project version will be used. See our
docs for more information: https://docs.readme.com/main/docs/versions
```
8 changes: 4 additions & 4 deletions documentation/commands/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ FLAG DESCRIPTIONS
--version=<value> ReadMe project version
Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project
version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions
If running command in a CI environment and this option is not passed, the main project version will be used. See our
docs for more information: https://docs.readme.com/main/docs/versions
```

## `rdme docs prune FOLDER`
Expand Down Expand Up @@ -105,6 +105,6 @@ FLAG DESCRIPTIONS
--version=<value> ReadMe project version
Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project
version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions
If running command in a CI environment and this option is not passed, the main project version will be used. See our
docs for more information: https://docs.readme.com/main/docs/versions
```
7 changes: 3 additions & 4 deletions documentation/commands/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,12 @@ FLAG DESCRIPTIONS
--update Bypasses the create/update prompt and automatically updates an existing API definition in ReadMe.
Bypasses the create/update prompt and automatically updates an existing API definition in ReadMe. Note that this
flag only works if there's only one API definition associated with the current version.
Note that this flag only works if there's only one API definition associated with the current version.
--version=<value> ReadMe project version
Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project
version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions
If running command in a CI environment and this option is not passed, the main project version will be used. See our
docs for more information: https://docs.readme.com/main/docs/versions
```

## `rdme openapi convert [SPEC]`
Expand Down
2 changes: 1 addition & 1 deletion src/commands/openapi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class OpenAPICommand extends BaseCommand<typeof OpenAPICommand> {
}),
update: Flags.boolean({
description:
"Bypasses the create/update prompt and automatically updates an existing API definition in ReadMe. Note that this flag only works if there's only one API definition associated with the current version.",
"Note that this flag only works if there's only one API definition associated with the current version.",
summary: 'Bypasses the create/update prompt and automatically updates an existing API definition in ReadMe.',
}),
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const titleFlag = Flags.string({
*/
export const versionFlag = Flags.string({
description:
'Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions',
'If running command in a CI environment and this option is not passed, the main project version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions',
summary: 'ReadMe project version',
});

Expand Down

0 comments on commit 87f223e

Please sign in to comment.