* conditionally clone docs-early-access by branchname
* fix path
* right api
* the correct use of Octokit
* try that
* destructuring total_count
* test early access with fs.existsSync
* debugging
* bad lookup
* better lookup technique
* trying something
* always check it out
* with debugging
* with token
* with path
* better
* go for it
* only on docs-internal
* better name
* formatting
* tidying up
* correct octokit
* feedbacked
* correct hopefully
* final version
* disable test that checks for perfect translation-to-English file parity
* Accidentally committed in the wrong branch.
This reverts commit adee780718ea7414934e2257d17b0c004bd804af.
* match the azure-preview-env-deploy.yml
* Change code-example test to not use Actions
* Use discussions instead
* Use code-security, but make the 'more' test not an exact number
* Removed references to actions/code-examples.yml
* Update tests/browser/browser.js
Co-authored-by: Robert Sese <robert.sese@gmail.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com>
* Search on submit
* Should be a ul
* Fix broken link
* No search on change event
* Add translation strings
* Add role for the 0 results message
* Update test with new search behavior
* Make search input a controlled component
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Trim whitespace in search text
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Better variable names
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Update visible results count in useEffect
* Control the input's value with the typed state
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Inline the submit handler
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Adjust heading level and only heading with intro text
* Adjust heading level
* Adjust code example and guide card heading levels
* Adjust tests for new heading levels
* Adjust rendering test for new heading levels
* Add crowdin translations
* Run script/i18n/homogenize-frontmatter.js
* Run script/i18n/lint-translation-files.js --check parsing
* run script/i18n/reset-files-with-broken-liquid-tags.js --language=ja
* run script/i18n/reset-known-broken-translation-files.js
* Check in ja CSV report
* correct fixture usage
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Adding Codespaces prebuilds
* Adding permissions
* Use pinned SHA for github/codespaces-precache action
* Add comments
* Add codespaces-precache repo to reference allow list
Co-authored-by: James M. Greene <jamesmgreene@github.com>
* 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.
* check for redirect orphans
Part of #1303
* timeout
* avoid external redirects in redirects_from too
* delete content/admin/advanced-security/viewing-your-github-advanced-security-usage.md
* remove from children: too
* remove some trailing slashes in redirect_froms
* fix a few more trailing slash redirects
* delete orphan pages
* 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>
* Add crowdin translations
* Run script/i18n/homogenize-frontmatter.js
* Run script/i18n/lint-translation-files.js --check parsing
* Run script/i18n/lint-translation-files.js --check rendering
* run script/i18n/reset-files-with-broken-liquid-tags.js --language=ja
* run script/i18n/reset-known-broken-translation-files.js
* Check in ja CSV report
* Skip test to unblock translation batch
See docs-engineering #923
* Remove console log
Co-authored-by: Marcelo Jacobus <marcelo.jacobus@gmail.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
* Working on tool picker
* Start on react version of tool picker
* Update ToolPicker.tsx
* Update tool-switcher.html
* Get it working
* Update browser.js
* Update browser.js
* Update ToolPicker.tsx