* Add new video properties frontmatter
* Handle video links in the middleware
* Video links don't have intros, authors, or full titles
* Make videos available from context
* Add default video heading
* Add basic tests for videos
* tmp videos test
* Remove stray test debugging
* more tmp videos testing
* Add videos test fixture
* Revert "more tmp videos testing"
This reverts commit 382946a5603ff217014797f77f37216bb8bb6c9c.
* Revert "tmp videos test"
This reverts commit 8767d0eaf08bd4ca04e2dacd12d476a2506c0367.
* Update render-page.js
* Update render-page.js
* Update render-page.js
* Update render-page.js
* Consistently use const path = req.pagePath || req.path
* Update render-page.js
* Run memory cache even on test and CI
* feedbacked
* Add an exception for caching the GraphQL Explorer
See https://github.com/github/docs-internal/pull/19611
* pretty-fy
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Static assets should set ETag and Last-Modified
* tests to prevent this ever happening again
* fix tests
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
* cache asset images more aggressively
* more careful about which gets the manual surrogate key
* fix rendered-content-link-checker script too
* feedbacked
* 301 redirects should not set-cookie
Part of #1316
* Update release-notes.js
* No public facing doc changes (#23355)
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
* New translation batch for pt (#23362)
* Add crowdin translations
* Run script/i18n/homogenize-frontmatter.js
* Run script/i18n/fix-translation-errors.js
* Run script/i18n/lint-translation-files.js --check parsing
* Run script/i18n/lint-translation-files.js --check rendering
* run script/i18n/reset-known-broken-translation-files.js
* Check in pt CSV report
* 24h cache all internal redirects without language prefix (#23354)
Part of #1271
* Redirects for root path should not set-cookie in all supported languages (#23377)
* test: add case when unsupported language is specified in redirect
* test: assert root redirects to appropriate language preference if specified
* refactor: remove redundant unit test
* refactor: re-order units starting with affirmative case
* refactor: remove single-use variable from unit
* fix: re-include previous unit with udpated description
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rogan Ferguson <40493721+roferg@users.noreply.github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
* Experiment with making the tarball smaller
Part of #1248
* try this
* stop debugging
* delete translations too
* delete heavy search indexes too
* push and popd
* try this hack
* delete but leave directory
* debug more
* faster delete of translations
* less loud
* async await
* async await
* no tree
* simplify
* experimenting more
* unfinished
* only the large files
* change order
* brotli with level 6
* cope better with decorated rest json files
* tidying
* keep images
* cleaning
* cleaning up
* refactored function
* try this
* better comment
* remove console logging
* more important changes
* make lib/rest/index.js callable
Part of #1177
* memoize
* remove console logging