mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
Sync RDoc 6.14.0
This commit is contained in:
parent
ca1ea95784
commit
03eb777c69
185 changed files with 2008 additions and 1655 deletions
|
@ -18,6 +18,21 @@
|
|||
</nav>
|
||||
|
||||
<main role="main" aria-labelledby="<%=h klass.aref %>">
|
||||
<%# If nesting level is 1, breadcrumb list is not needed %>
|
||||
<% if breadcrumb.size > 1 %>
|
||||
<ol role="navigation" aria-label="breadcrumb" class="breadcrumb">
|
||||
<% breadcrumb.each do |namespace| %>
|
||||
<li>
|
||||
<% if namespace[:self] %>
|
||||
<span><%= namespace[:name] %></span>
|
||||
<% else %>
|
||||
<a href="<%= namespace[:path] %>"><%= namespace[:name] %></a><span>::</span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ol>
|
||||
<% end %>
|
||||
|
||||
<h1 id="<%=h klass.aref %>" class="anchor-link <%= klass.type %>">
|
||||
<%= klass.type %> <%= klass.full_name %>
|
||||
</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue