* create script to fix easy-to-fix frontmatter errors in translation
* improve reset-translated-file.js: allow reverting to the same file from `main` branch
* fix release-notes as well
* also lints liquid in frontmatter
* Add markdown parsing dependencies
* Use it for the link test
* Use ast tests for hard-coded language
* Dedupe visiting for links
* Add new mdast utils to check-deps exclusions
* Move site search to use an endpoint
* Update browser.js
* Update search.js
* Update lib/search/versions.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Fix URLs
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Prevent overly verbose broken link logging from linkinator
* Reduce unnecessary second 'map' call
* Be VERY sure we aren't logging the failureDetails in case the linkinator implementation changes
* Really smoosh that '.map' call down to size
* Create a release script to soft-purge all rendered pages from the Redis cache
* Set NODE_ENV
* Pass the Redis database number as an option rather than in the URL
* Change key scanning pattern based on Heroku metadata presence
* Shorten purge TTL to 30 minutes
* Only fail hard on Heroku production releases
* Don't return TOO early or else we forget to resume the scanStream!
* Correct ioredis command casing to all lowercase
* Add unexpectedly necessary exit
* Tweak wording of dry run logging
* Add some polish
* Prevent accidental soft-purging of the current release's keys
* Simplify the key check
* Fix lint error
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'
Update all existing references to use 'loadPages' for now
* Remove explicit Promise resolutions on loadPage* methods
* Condense reduction method into its now-singular usage spot
* Opt for for-of instead of forEach
* Make require of pages in warm-server more explicit
* Be more explicit about find-page using a pageMap
* Be more explicit about find-page-in-version using a pageMap
* Be more explicit about site-tree using a pageMap
* Extract the map creation from loadPageMap
* Be more explicit about using a pageMap
* Update redirects precompile to take two arguments: pageList, pageMap
* Rename internal loadPages method to loadPageList
* Clarify pageMap is what is stored in context.pages
* Use loadPageMap in tests and stuff