|
| 1 | +name: Sublime Merge |
| 2 | +package: sublime-merge |
| 3 | +index: docs/index.html |
| 4 | +icon32x32: ../../sublime-merge-icon.png |
| 5 | +allowJS: false |
| 6 | +ExternalURL: 'https://www.sublimemerge.com' |
| 7 | +ignore: |
| 8 | + - id |
| 9 | + - id0 |
| 10 | + - id1 |
| 11 | + - id2 |
| 12 | + |
| 13 | +# https://github.com/technosophos/dashing?tab=readme-ov-file#usage |
| 14 | +# https://kapeli.com/docsets#supportedentrytypes |
| 15 | +selectors: |
| 16 | + |
| 17 | +###[ GLOBAL ]################################################################## |
| 18 | + |
| 19 | + # Each pages' header |
| 20 | + title: |
| 21 | + type: Guide |
| 22 | + matchpath: '\.html$' |
| 23 | + |
| 24 | + # Page subheadings |
| 25 | + h2: |
| 26 | + type: Section |
| 27 | + matchpath: '\.html$' |
| 28 | + |
| 29 | +###[ FAQ ]##################################################################### |
| 30 | +###[ GETTING STARTED ]######################################################### |
| 31 | +###[ DIFF CONTEXT ]############################################################ |
| 32 | +###[ KEY BINDINGS ]############################################################ |
| 33 | + |
| 34 | + # Binding settings |
| 35 | + 'section:has(#bindings) h3[id]': |
| 36 | + type: Setting |
| 37 | + matchpath: '/key_bindings\.html$' |
| 38 | + |
| 39 | + # "context" modifiers |
| 40 | + 'dt': |
| 41 | + type: Filter |
| 42 | + matchpath: '/key_bindings\.html$' |
| 43 | + |
| 44 | +###[ COMMAND PALETTE ]######################################################### |
| 45 | +###[ CUSTOM COMMANDS ]######################################################### |
| 46 | +###[ COMMAND LINE ]############################################################ |
| 47 | +###[ THEMES ]################################################################## |
| 48 | + |
| 49 | + # Attributes |
| 50 | + 'dl.attribute > dt': |
| 51 | + type: Attribute |
| 52 | + matchpath: '/themes\.html$' |
| 53 | + |
| 54 | + # Settings |
| 55 | + 'dl.settings > dt': |
| 56 | + type: Setting |
| 57 | + matchpath: '/themes\.html$' |
| 58 | + |
| 59 | + # Properties |
| 60 | + 'dl.properties > dt': |
| 61 | + type: Property |
| 62 | + matchpath: '/themes\.html$' |
| 63 | + |
| 64 | + # Theme elements |
| 65 | + 'dl.elements > dt': |
| 66 | + type: Element |
| 67 | + matchpath: '/themes\.html$' |
| 68 | + |
| 69 | + # Element properties |
| 70 | + # TODO: Maybe split these into attributes and properties |
| 71 | + 'dl.elements > dd > dl dt code': |
| 72 | + type: Property |
| 73 | + matchpath: '/themes\.html$' |
| 74 | + |
| 75 | +###[ MENUS ]################################################################### |
| 76 | + |
| 77 | + # Settings |
| 78 | + '.primary section:has(#entries) dt': |
| 79 | + type: Setting |
| 80 | + matchpath: '/menus\.html$' |
| 81 | + |
| 82 | + # Variables |
| 83 | + '.primary section:has(#available_menus) dl.enum > dt': |
| 84 | + requiretext: '\$' |
| 85 | + type: Variable |
| 86 | + matchpath: '/menus\.html$' |
| 87 | + |
| 88 | + # Menus |
| 89 | + # (Extra trailing space to avoid JSON dict key overload) |
| 90 | + '.primary section:has(#available_menus) dl.enum > dt ': |
| 91 | + requiretext: '.sublime-menu' |
| 92 | + type: File |
| 93 | + matchpath: '/menus\.html$' |
| 94 | + |
| 95 | +###[ PACKAGES ]################################################################ |
| 96 | + |
| 97 | + # Files |
| 98 | + 'dl dd': |
| 99 | + type: File |
| 100 | + matchpath: '/packages\.html$' |
| 101 | + |
| 102 | +###[ MINIHTML REFERENCE ]###################################################### |
| 103 | + |
| 104 | + # Variables |
| 105 | + 'li code:first-child': |
| 106 | + requiretext: 'var' |
| 107 | + type: Variable |
| 108 | + matchpath: '/minihtml\.html$' |
| 109 | + |
0 commit comments