| @@ -100,21 +100,14 @@ module Docs · 99 unmodified lines |
| 100 | 100 | when 'queries-table-expressions' |
| 101 | 101 | entries.concat get_heading_entries('h3[id], .sect3[id] > h3:first-child') |
| 102 | 102 | entries.concat get_custom_entries('dt > .literal:first-child') |
| 103 | | − when 'functions-logical' |
| 104 | | − entries.concat get_custom_entries('> table td:first-child > code') |
| 105 | | − when 'functions-formatting' |
| 106 | | − entries.concat get_custom_entries('#FUNCTIONS-FORMATTING-TABLE td:first-child > code') |
| 107 | 103 | when 'functions-admin' |
| 108 | | − entries.concat get_custom_entries('.table td:first-child > code') |
| 109 | | − when 'functions-string' |
| 110 | | − entries.concat get_custom_entries('> div[id^="FUNC"] td:first-child > code') |
| 111 | | − entries.concat get_custom_entries('> div[id^="FORMAT"] td:first-child > code') |
| 104 | + entries.concat get_custom_entries('.table td:first-child > p:first-child > code.function') |
| 112 | 105 | else |
| 113 | 106 | if type && type.start_with?('Functions') |
| 114 | 107 | entries.concat get_custom_entries('> .table td:first-child > code.literal:first-child') |
| 115 | 108 | entries.concat get_custom_entries('> .table td:first-child > code.function:first-child') |
| 116 | 109 | entries.concat get_custom_entries('> .table td:first-child > code:not(.literal):first-child + code.literal') |
| 117 | | − entries.concat get_custom_entries('> .table td:first-child > p > code.literal:first-child') |
| 110 | + entries.concat get_custom_entries('> .table td:first-child > p:first-child > code.literal:first-child') |
| 118 | 111 | entries.concat get_custom_entries('> .table td:first-child > p > code.function:first-child') |
| 119 | 112 | entries.concat get_custom_entries('> .table td:first-child > p > code:not(.literal):first-child + code.literal') |
| 120 | 113 | if slug == 'functions-comparison' && !at_css('#FUNCTIONS-COMPARISON-PRED-TABLE') # before 9.6 |
| @@ -220,6 +213,7 @@ module Docs · 99 unmodified lines |
| 220 | 213 | unless entries.any? { |entry| entry[0] == name } |
| 221 | 214 | node['id'] = id |
| 222 | 215 | entries << [name, id] |
| 216 | + # puts [selector, name].join(' --> ') |
| 223 | 217 | end |
| 224 | 218 | end |
| 225 | 219 | end |