This commit adds the code necessary to generate a new
en/developre-glossary page with entry pages in the en/glossary/
directory, e.g. en/glossary/51-percent-attack.
The glossary page and the individual term pages feature a JavaScript
search engine (no CGI) for just glossary terms. This search box has
also been added to the following pages:
* Developer Documentation (the index page)
* Developer Guide
* Developer Reference
* Developer Examples
The search box requires the following MIT-licensed libraries:
* JQuery
* JQuery UI
* JQuery UI CSS stylesheet
These allow our JS code to be almost trivially simple in js/devsearch.js
This commit adds only code. Actual glossary entry data will be added in
a subsequent commit.
Greatly simplify layout
Increase visibility for "you need to know" and "secure your wallet" pages
Providing increased transparency about security and zero-trust model for each wallet
Encourage diversity and decentralization by
not recommending two single wallets anymore
rotating wallets daily by "zero-trust levels" (full nodes followed by SPV wallets followed by hybrid & multisig wallets followed by web wallets)
Display screenshots
Increase visibility for Bitcoin Core by
recommending it in other wallets' disclaimers as a full node and deterministic build app
making it always the first desktop wallet displayed
better promoting it as a good secure / zero-trust wallet
Prepare layout for hardware wallets
Prevent confusing duplicate listing
Allow layout to scale with increasing number of wallets
Fix layout issues with translations and hyphenation
Simplify the process of adding new wallets by storing information in a single location using a consistent format
Thanks @harding for reviews and feedback on the first draft
Thanks also (in alphabetical order) to @cbeams, @mikehearn, and
@tgeller, among others.
The last pre-squash commit was: c2b8d562aa107c7b68c60946cea14cdccc5159ad
Use text-align:left on mobiles instead of justify
Use hyphenator.js to hyphenate wallet's description
(CSS hyphenation will need to support hyphenate-limit-zone
to be used while not generating too much hyphens)
Add translated page redirections using _redirects.yml
Redirect for bitcoin-for-press to press
Redirect bitcoin-for-enthusiasts to innovation
Ignore page redirections in sitemap.rb plugin
Move template plugin to template.rb instead of translate.rb
Add a small documentation in the template plugin
All strings, urls and anchors are now in a single yml files for each language
Translated html pages are generated by a jekyll plugin based on unified templates
Add a new sitemap generator plugin for the new translation structure
Update french translations