Skip to content

fix(@angular/cli): correctly handle --search option in ng doc #23164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2022

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented May 18, 2022

When the --search option is passed to ng doc, it should open a URL that does a search across the whole website (instead of the default behavior of limiting the search to API docs).
Fix the ng doc command to implement the iteded behavior (previously, it did the opposite).

When the `--search` option is passed to `ng doc`, it should open a URL
that does a search across the whole website (instead of the default
behavior of limiting the search to API docs).
Fix the `ng doc` command to implement the iteded behavior (previously,
it did the opposite).
@gkalpak gkalpak added type: bug/fix area: @angular/cli action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels May 18, 2022
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 18, 2022
@alan-agius4 alan-agius4 marked this pull request as ready for review May 18, 2022 11:42
@alan-agius4
Copy link
Collaborator

@gkalpak, this doesn't apply cleanly on the patch branch. Hence I will change the target to rc.

@alan-agius4 alan-agius4 added target: rc This PR is targeted for the next release-candidate and removed target: patch This PR is targeted for the next patch release labels May 18, 2022
@clydin clydin added this to the v14 milestone May 18, 2022
@clydin clydin merged commit 9f5550e into angular:main May 18, 2022
@gkalpak gkalpak deleted the fix-cli-doc-search branch May 18, 2022 16:19
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/cli target: rc This PR is targeted for the next release-candidate type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants