[docs:fix] correct keymap count calculation

This commit is contained in:
Maddison Hellstrom 2020-06-09 07:30:18 -07:00
parent 1f9276ab48
commit 89da81ffa6
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ Maddy's SurfingKeys Configuration
This is my configuration for the [SurfingKeys](https://github.com/brookhong/Surfingkeys) browser extension.
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
Table of Contents
@ -30,7 +30,7 @@ Features
### 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:
<table>

View File

@ -223,7 +223,7 @@ task("docs", parallel(async () => {
.pipe(replace("<!--{{DISCLAIMER}}-->", disclaimer))
.pipe(replace("<!--{{COMPL_COUNT}}-->", Object.keys(compl).length))
.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_TABLE}}-->", keysTable))
.pipe(replace("<!--{{SCREENSHOTS}}-->", screenshotList))