* sync serialize sitedata to disk
* use os.tmpdir
* refactor tests
* debugging
* use log
* debugging
* louder about syntax errors
* warn-before-tests
* louder about disk-caching redirects
* less loud
* only in development again
* throw if no value not found in indented_data_reference
* better comment
* deliberate writer-error saple
* all strings are truthy'ish
* undo
* fix tests
* Track category child types
* Test that category children are all of the same type
* Add custom error message
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Grace Park <gracepark@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
* 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
* 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>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
* pull changes from docs-playground
* cleanup, add callout banner
* cleanup linting and test fixes
* add discussion link
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Clear out some non-fn references to Algolia
* Update .github/workflows/dry-run-sync-search-indices.yml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update contributing/search.md
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* turn article.scss into a module + componentized
* Update Survey to use only component styles, add cancel button
* Update GenericError + 404 page to use only standard classes
* update LearningTrack to not use markdown-body
* remove / consolidate stylesheets
* cleanup Graphiql explorer page and scss
* Componentize Breadcrumb styles
* Componentize DeprecationBanner styles
* scope h2 a link style to markdown-body
* cleanup nav, organize page-header and page-footer components
* remove unused scroll-button.scss
* organize LanguagePicker and ProductPicker
* add declarations file
* remove featured-links.scss, update tests
* update list utility and toc test
* fix bad merge resolution
* update breadcrumbs test
* Update some readFileSync to await readFile with top level await
* More updates
* Update all-products.js
* Use 'lib/readfile-async.js' in runtime files for better performance
* Remove unnecessary use of 'for await...of' loops
* Revert to importing 'fs/promises'
Co-authored-by: James M. Greene <jamesmgreene@github.com>
* First run of script
* Get the app running --- ish
* Get NextJS working
* Remove `node:`
* Get more tests passing in unit directory
* Update FailBot test to use nock
* Update test.yml
* Update Dockerfile
* tests/content fixes
* Update page.js
* Update build-changelog.js
* updating tests/routing
* Update orphan-tests.js
* updating tests/rendering
* Update .eslintrc.js
* Update .eslintrc.js
* Install jest/globals
* "linting" tests
* staging update to server.mjs
* Change '.github/allowed-actions.js' to a ESM export
* Lint
* Fixes for the main package.json
* Move Jest to be last in the npm test command so we can pass args
* Just use 'npm run lint' in the npm test command
* update algolia label script
* update openapi script
* update require on openapi
* Update enterprise-algolia-label.js
* forgot JSON.parse
* Update lunr-search-index.js
* Always explicitly include process.cwd() for JSON file reads pathed from project root
* update graphql/update-files.js script
* Update other npm scripts using jest to pass ESM NODE_OPTIONS
* Update check-for-enterprise-issues-by-label.js for ESM
* Update create-enterprise-issue.js for ESM
* Import jest global for browser tests
* Convert 'script/deploy' to ESM
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>