ruby/lib/rdoc/generator
Earlopain 5ed67f4826 [ruby/rdoc] Only let browser search through source code until it's
expanded
(https://github.com/ruby/rdoc/pull/1181)

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.

003126cc23
2024-09-30 11:32:45 +00:00
..
pot [ruby/rdoc] Improve rubocop setup 2024-07-17 20:43:08 +00:00
template [ruby/rdoc] Only let browser search through source code until it's 2024-09-30 11:32:45 +00:00
darkfish.rb Sync rdoc 2024-08-13 09:10:15 -04:00
json_index.rb [ruby/rdoc] Use flat_map for better performance 2023-06-14 23:47:25 +00:00
markup.rb [ruby/rdoc] Auto-correct trailing new lines 2023-06-03 01:42:29 +00:00
pot.rb [ruby/rdoc] [DOC] nodoc for probably internal methods 2023-12-16 00:26:39 +09:00
ri.rb [ruby/rdoc] Auto-correct trailing new lines 2023-06-03 01:42:29 +00:00