Also fix it's --> its in code comments
Unified · Split
| @@ -18,11 +18,11 @@ module Docs · 17 unmodified lines | ||
| 18 | 18 | # Remove image cards pointing to entries of the manual |
| 19 | 19 | css('.manual-cards').remove |
| 20 | 20 | |
| 21 | − # Pull the header out of it's container | |
| 21 | + # Pull the header out of its container | |
| 22 | 22 | header = at_css('h1') |
| 23 | 23 | header.parent.parent.parent.add_previous_sibling header |
| 24 | 24 | else |
| 25 | − # Pull the header out of it's container | |
| 25 | + # Pull the header out of its container | |
| 26 | 26 | header = at_css('h1') |
| 27 | 27 | header.parent.add_previous_sibling header |
| 28 | 28 | end |
| @@ -46,11 +46,6 @@ module Docs · 17 unmodified lines | ||
| 46 | 46 | pre['data-language'] = 'typescript' if node['class'] == 'lang-ts' |
| 47 | 47 | end |
| 48 | 48 | |
| 49 | − # Add syntax highlighting to source files | |
| 50 | − css('pre.raw-source-code').each do |node| | |
| 51 | − node['data-language'] = 'javascript' | |
| 52 | − end | |
| 53 | − | |
| 54 | 49 | # Return the cleaned-up document |
| 55 | 50 | doc |
| 56 | 51 | end |