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

Only let browser search through source code until it's expanded #1181

Merged
merged 1 commit into from
Sep 30, 2024

Commits on Sep 28, 2024

  1. Only let browser search through source code until it's expanded

    Something that's been bothering me is that while the source code is
    not visible by default, the browser still jump to it when searching.
    Adding the `visible` property prevents this.
    
    Test it out yourself:
    * `bundle exec rdoc`
    * open `_site/index.html`
    * Search for `NameError`
    
    Before, you will get a match from `load_yaml` source code, after
    you only get the match when that methods source code is expanded.
    Earlopain committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    44f815b View commit details
    Browse the repository at this point in the history