Skip to content
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

yard server ignores --query #1527

Open
krystof-k opened this issue Jan 9, 2024 · 0 comments
Open

yard server ignores --query #1527

krystof-k opened this issue Jan 9, 2024 · 0 comments

Comments

@krystof-k
Copy link

krystof-k commented Jan 9, 2024

yard server ignores --query parameter and renders everything.

Steps to reproduce

This is the minimal reproduction for the issue. I've done my best to remove
all extraneous code and unique environment state on my machine before providing
these steps:

  1. Run the following command: yard server --reload --query 'has_tag?(:todo)'
  2. Open browser at http://localhost:8808
  3. You see everything
  4. Run the following command: yard doc --query 'has_tag?(:todo)'
  5. Open browser at the doc/index.html
  6. You see only items tagged as @todo

Actual Output

yard server ignores the query, yard doc respects it.

Expected Output

Both yard server and yard doc behave the same and respects the query.

Environment details:

  • OS: macOS
  • Ruby version (ruby -v): ruby 3.1.4p223
  • YARD version (yard -v): yard 0.9.34

I have read the Contributing Guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant