[docs:fix] correct keymap count calculation
This commit is contained in:
parent
1f9276ab48
commit
89da81ffa6
|
@ -12,7 +12,7 @@ Maddy's SurfingKeys Configuration
|
||||||
This is my configuration for the [SurfingKeys](https://github.com/brookhong/Surfingkeys) browser extension.
|
This is my configuration for the [SurfingKeys](https://github.com/brookhong/Surfingkeys) browser extension.
|
||||||
|
|
||||||
Its primary features include
|
Its primary features include
|
||||||
- 258 [Site-Specific Key Mappings](#site-specific-key-mappings) which **automate common actions** on many popular websites
|
- 128 [Site-Specific Key Mappings](#site-specific-key-mappings) which **automate common actions** on many popular websites
|
||||||
- 55 [Search Suggestion Engines](#search-suggestion-engines) providing **interactive search suggestions** from dozens of knowledge sources
|
- 55 [Search Suggestion Engines](#search-suggestion-engines) providing **interactive search suggestions** from dozens of knowledge sources
|
||||||
|
|
||||||
Table of Contents
|
Table of Contents
|
||||||
|
@ -30,7 +30,7 @@ Features
|
||||||
|
|
||||||
### Site-Specific Key Mappings
|
### Site-Specific Key Mappings
|
||||||
|
|
||||||
258 key mappings for 21 unique
|
128 key mappings for 21 unique
|
||||||
sites have been included which can help you perform some common actions:
|
sites have been included which can help you perform some common actions:
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
|
|
@ -223,7 +223,7 @@ task("docs", parallel(async () => {
|
||||||
.pipe(replace("<!--{{DISCLAIMER}}-->", disclaimer))
|
.pipe(replace("<!--{{DISCLAIMER}}-->", disclaimer))
|
||||||
.pipe(replace("<!--{{COMPL_COUNT}}-->", Object.keys(compl).length))
|
.pipe(replace("<!--{{COMPL_COUNT}}-->", Object.keys(compl).length))
|
||||||
.pipe(replace("<!--{{COMPL_TABLE}}-->", complTable))
|
.pipe(replace("<!--{{COMPL_TABLE}}-->", complTable))
|
||||||
.pipe(replace("<!--{{KEYS_MAPS_COUNT}}-->", Object.keys(keys.maps).reduce((acc, m) => acc + m.length, 0)))
|
.pipe(replace("<!--{{KEYS_MAPS_COUNT}}-->", Object.values(keys.maps).reduce((acc, m) => acc + m.length, 0)))
|
||||||
.pipe(replace("<!--{{KEYS_SITES_COUNT}}-->", Object.keys(keys.maps).length))
|
.pipe(replace("<!--{{KEYS_SITES_COUNT}}-->", Object.keys(keys.maps).length))
|
||||||
.pipe(replace("<!--{{KEYS_TABLE}}-->", keysTable))
|
.pipe(replace("<!--{{KEYS_TABLE}}-->", keysTable))
|
||||||
.pipe(replace("<!--{{SCREENSHOTS}}-->", screenshotList))
|
.pipe(replace("<!--{{SCREENSHOTS}}-->", screenshotList))
|
||||||
|
|
Loading…
Reference in New Issue