Closes #472.
Unified · Split
| @@ -2,7 +2,12 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Angular |
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | 4 | def get_name |
| 5 | − name = at_css('header.hero h1').content.strip | |
| 5 | + if slug.start_with?('tutorial') || slug.start_with?('guide') | |
| 6 | + name = at_css('.nav-list-item.is-selected').content.strip | |
| 7 | + else | |
| 8 | + name = at_css('header.hero h1').content.strip | |
| 9 | + end | |
| 10 | + | |
| 6 | 11 | name = name.split(':').first |
| 7 | 12 | |
| 8 | 13 | if mod |
| @@ -42,7 +42,7 @@ module Docs · 41 unmodified lines | ||
| 42 | 42 | end |
| 43 | 43 | |
| 44 | 44 | version '2.0 TypeScript' do |
| 45 | − self.release = '2.0.0rc5' | |
| 45 | + self.release = '2.0.0rc6' | |
| 46 | 46 | self.base_url = "https://angular.io/docs/ts/latest/" |
| 47 | 47 | end |
| 48 | 48 | |