Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f9c2e583f9a0
Choose a base ref
...
head repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 707ad6f6b0fa
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 27, 2017

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    4c225dc View commit details
  2. Merge pull request #5047 from oprypin/doc-open

    Expand children of currently selected item in documentation
    asterite authored Sep 27, 2017
    Copy the full SHA
    707ad6f View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compiler/crystal/tools/doc/html/list_items.html
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/doc/html/list_items.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<% types.each do |type| %>
<li class="<%= (type.program? || type.types.empty?) ? "" : ("parent" + (type.parents_of?(current_type) ? " open" : "")) %> <%= type.current?(current_type) ? "current" : "" %>" data-id="<%= type.html_id %>" data-name="<%= type.full_name.downcase %>">
<li class="<%= (type.program? || type.types.empty?) ? "" : ("parent" + (type.current?(current_type) || type.parents_of?(current_type) ? " open" : "")) %> <%= type.current?(current_type) ? "current" : "" %>" data-id="<%= type.html_id %>" data-name="<%= type.full_name.downcase %>">
<a href="<%= type.path_from(current_type) %>"><%= type.name %></a>
<% unless type.program? || type.types.empty? %>
<%= ListItemsTemplate.new(type.types, current_type) %>