Rachael Sewell
b552180c04
remove unused properties from decorated rest schemas ( #29881 )
2022-08-12 00:09:41 +00:00
Sarah Schneider
9236898431
add support for passing an option to open sections by default
2022-08-11 11:21:20 -04:00
Sarah Schneider
db6f3c8890
change toc filenames to index.html
2022-08-10 15:26:13 -04:00
Sarah Schneider
af50d6e859
re-add the dev toc in script/static form
2022-08-10 15:05:23 -04:00
Rachael Sewell
f6d34d019c
atomically update index alias and delete old indexes ( #29742 )
2022-08-09 01:02:55 +00:00
Peter Bengtsson
a1e3866fa5
don't get available languages from session ( #29715 )
...
* don't get available languages from session
* update useSession
* one more fix
2022-08-08 11:13:27 -04:00
Peter Bengtsson
f8f20605f4
search api with elasticsearch ( #29053 )
...
* indexing records into Elasticsearch
* @elastic/elasticsearch@8.2.0
* mv
* fix the code
* pipe
* lfs
* use sha
* change how index names work
* search api with Elasticsearch
* works
* refactor client
* better snowballing
* remove dbg
* wip
* highlights and fuzzy search
* improvements and upgrade
* also upgrade
* wip
* index more explicitly
* better validation
* change max size
* popularity by ordinal ranking instead
* playing
* fix package-lock
* rearranging
* catchMiddlewareError
* fix indexing
* match_phrase_prefix on wrapped search
* refactorings
* escape html in content
* wip
* search by URL
* update lock file
* v1 api
* inroads on jest testing the search
* valid yaml hopefully
* index fixtures into local elasticsearch
* specific versions to index only
* small fixes
* feedbacked
* fix tests
* use the npm script
2022-08-05 19:40:38 +00:00
Peter Bengtsson
2c8e07843b
github/github link checker got config ( #29617 )
2022-08-04 11:27:39 -04:00
Rachael Sewell
3cbd7103da
Remove top-level categories on graphql queries page ( #29592 )
2022-08-03 20:01:38 +00:00
Rachael Sewell
467459af7c
Reactify graphql pages ( #28547 )
2022-08-03 10:51:21 -07:00
Grace Park
b5f8a6089f
Fix REST decorator script ( #29542 )
...
* fix decorator script
* run on node 16
Co-authored-by: Grace Park <lugraciecy@gmail.com >
2022-08-03 17:35:02 +00:00
github-openapi-bot
2255a2c8f7
Update OpenAPI Descriptions ( #29408 )
...
* Update OpenAPI Descriptions
* Add decorated OpenAPI schema files
* Add new pages override (#29446 )
* update decorated files
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com >
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
Co-authored-by: Rachael Sewell <rachmari@github.com >
2022-07-28 13:40:47 -07:00
Kevin Heis
2182ff28f3
Next12 now supports ESM ( #29295 )
...
* Next12 now supports ESM
* No more michael jackson script extensions
* Fix test running
* Update jest-puppeteer.config.cjs
* Update package.json
2022-07-26 17:53:23 +00:00
Peter Bengtsson
ad4c835316
only sync search records without lunr and no br compression ( #29156 )
...
* refactor sync-search-indices
* tidying
* only sync search records without Lunr and no .br compression
* works
* oops
2022-07-20 18:57:34 +00:00
Peter Bengtsson
b0746325db
nicer timestamps in Elasticearch index names ( #29155 )
2022-07-19 15:35:29 +00:00
Peter Bengtsson
44a91fdec5
refactor sync-search-indices ( #29152 )
...
* refactor sync-search-indices
* tidying
2022-07-19 15:13:34 +00:00
Peter Bengtsson
b7b22d1685
read search records from any directory ( #29153 )
2022-07-19 12:24:46 +00:00
Peter Bengtsson
9abd3b7929
remove leftover debugging in index script ( #29145 )
2022-07-18 20:27:58 +00:00
Peter Bengtsson
e61d71f42f
HTML to plain text is broken in various places ( #29006 )
...
* HTML to plain text is broken in various places
* remove comment
2022-07-13 21:29:55 +00:00
Peter Bengtsson
88f0b1686f
delete script/content-migrations/deduplicate-enterprise-assets.js ( #29011 )
...
* delete script/content-migrations/deduplicate-enterprise-assets.js
* update package-lock
2022-07-13 20:48:09 +00:00
Peter Bengtsson
721e68f4ab
Index records into Elasticsearch ( #27819 )
...
* indexing records into Elasticsearch
* @elastic/elasticsearch@8.2.0
* mv
* fix the code
* pipe
* lfs
* use sha
* change how index names work
* better snowballing
* improvements and upgrade
* index more explicitly
* wip
* no need to save space with elasticsearch
* update package-lock
* Revert "no need to save space with elasticsearch"
This reverts commit 9cdd4d8f4fa7be822bdef3976091c3c640519dec.
* adding a comment
* better comment
* a better comment
* feedbacked
* more comment
2022-07-13 20:32:22 +00:00
Hector Alfaro
95e6f3d3ab
Deprecate GHES 3.1 ( #28798 )
...
* add 3.1 to deprecated versions
* rewrite img src to use azure blob storage in archive script
Co-authored-by: rachmari <rachmari@users.noreply.github.com >
* remove static files for ghes 3.1
* remove liquid conditionals and content for ghes 3.1
* remove outdated hardware reqs reusable
* Fix liquid conditional uncaught by script
* Close liquid conditionals missed by script
* Apply @mattpollard's suggestions
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
Co-authored-by: rachmari <rachmari@users.noreply.github.com >
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
2022-07-11 21:17:09 +00:00
Kevin Heis
05fe4c60cb
Upgrade commander ( #28613 )
...
* Upgrade commander
* Change import
2022-06-17 16:43:02 +00:00
Bishal Das
139b4f231c
"or not" is added
2022-06-15 15:46:54 +05:30
Bishal Das
e6e14dd47b
UPDATE the Typos in script/README.md
2022-06-13 17:34:52 +05:30
Robert Sese
b3af722730
Fix daily link checker ( #28346 )
...
* reduce linkinator concurrency from 300 to 100
* reduce it and use self-hosted
* try again
* actually do concurrency of 10
* move the override to the Action workflow
* Trying `DISABLE_RENDERING_CACHE`
* back to 100?
* super low concurrency
* 3??
* 1??
* try self-hosted + 100 concurrency
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2022-06-09 16:48:02 -05:00
Sarah Schneider
14c8fc570e
add script
2022-06-06 18:11:17 -04:00
Sarah Schneider
1500b84cd2
support passing an array of file extensions
2022-06-06 18:08:03 -04:00
Mike Surowiec
b4608a86d8
fix: remove usage of readFileAsync ( #28053 )
...
* fix: remove usage of readFileAsync
* fix: use same import style
* fix: update tests
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2022-06-01 14:49:30 +00:00
Peter Bengtsson
31c3fc36b2
don't fail on posting comment from English link checker ( #28059 )
...
* don't fail on posting comment from English link checker
* small correction on line break and longer timeout patience
* feedbacked
2022-05-31 18:05:39 +00:00
Peter Bengtsson
7783171b56
get popularity from article path ( #28016 )
2022-05-26 21:27:09 +00:00
Peter Bengtsson
8d4e1cda62
use shorthand notation ( #27919 )
2022-05-23 18:22:44 +00:00
Peter Bengtsson
18504871b9
cache full rendering ( #25424 )
...
* cache full rendering
* still not working with gzip
* progress progress progress
* smaller
* hacky progress
* small fixes
* wip
* lock file
* wip
* wip
* package-lock updates
* wip
* search DOM in lowercase
* simplify
* with instrument
* improve test coverage
* mutateCheeriobodyByRequest
* fix
* remove renderContentCacheByContex
* disable render caching in sync-search
* diables things in github/github link checker
* gzip lru
* tidying up
* updated
* correct tests
* fix: move userLanguage to LanguagesContext
* Revert "fix: move userLanguage to LanguagesContext"
This reverts commit d7c05d958c71eaad496eb46764eb845d80b866ca.
* contexts ftw
* fixed rendering tests
* oops for got new file
* nits addressed
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com >
2022-05-23 12:12:09 +00:00
Peter Bengtsson
d5cef9c5d6
run link checker against localhost:4000 instead of prod ( #27757 )
...
* run link checker against localhost:4000 instead of prod
* exclude docs.github.com
* print output if possible
* upload broken_links.md as artifact
* debug broken_links.md
2022-05-19 13:12:07 +00:00
Hector Alfaro
6cbe4d131e
clean up unnecessary conditional code
2022-05-13 12:40:07 -04:00
Hector Alfaro
807e8b5509
bring conditional removal back into main block
2022-05-13 12:40:07 -04:00
Hector Alfaro
2d184b705b
squash bug with indices not updating appropriately
2022-05-13 12:40:06 -04:00
Hector Alfaro
80ff57ff47
squash bug missing nested conditionals
2022-05-13 12:40:05 -04:00
Hector Alfaro
67c4c193a9
handle unnecessary conditionals, those with all versions
2022-05-13 12:40:05 -04:00
Peter Bengtsson
5733237c00
remove add-tags-to-articles script ( #27639 )
2022-05-12 10:51:40 -04:00
Grace Park
2e821f52ff
REST subcategory/category rendering test and refactor test-open-api-schema ( #27138 )
...
* first stage of test
* update test
* add rest test for categories and subcategories rendering
* update timeout back to original
* remove export
* remove testing
* refactor test-open-api-schema
* remove function
* remove check
* remove slash
* remove comment
* rearrange
* update getting the categories and maptopic levels
* update tests
* update copy
* add error message task
2022-05-10 17:09:47 +00:00
Rachael Sewell
14111129e2
display dictionary type body parameters ( #27483 )
2022-05-04 21:50:49 +00:00
Grace Park
f2c6004aaa
REST API Pages: fix links of endpoints-available-for-github-apps page ( #27425 )
2022-05-04 00:56:04 +00:00
Rachael Sewell
5f4f858b94
REST two-pane layout ( #26954 )
2022-05-02 10:10:33 -07:00
Matt Pollard
2dbfef88bc
Improve YAML file handling for script to toggle lightweight feature flags for GitHub AE ( #27170 )
...
* Refactor for YAML files
* Accommodate strings in YAML files
* feedbacked
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2022-04-28 18:48:13 +00:00
Baoshuo Ren
685a69703b
chore: remove git.io ( #17417 )
...
All links on git.io will stop redirecting after April 29, 2022.
- https://github.blog/changelog/2022-04-25-git-io-deprecation/
2022-04-27 06:43:01 -07:00
Rachael Sewell
749efd7b99
Rest redirect endpoint ( #27027 )
2022-04-25 16:14:04 +00:00
Rachael Sewell
434f49afe0
remove prerendered request description ( #27185 )
2022-04-25 16:09:48 +00:00
Grace Park
bb2e234238
update openapi test ( #27127 )
2022-04-21 19:56:30 +00:00
Robert Sese
78ebd2e483
openapi: render example request and response descriptions ( #27057 )
...
* Render code example response descriptions
* Add updated decorated files
* Pluralize
* Also render example request descriptions
* Add updated decorated files
2022-04-20 17:51:13 -05:00