Closed
Description
Bug report
All headings for the rust guide are Introduction
and not in order
OS information
- Mac Osx - Chrome
- IOS - Chrome
Steps to reproduce
Open rust docs > guide
More resources

Possible fix
Something like this?
def get_name
if slug.start_with?('book') || slug.start_with?('reference')
- name = at_css("#sidebar a[href='#{File.basename(slug)}']")
+ name = at_css("#sidebar a.active")
name ? name.content : 'Introduction'