Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(en): merge developer.chrome.com/main into developer.chrome.com/main @ aa234378 #382

Open
wants to merge 1,057 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1057 commits
Select commit Hold shift + click to select a range
9844fe0
ua reduction changes (#7360)
nancymic2 Sep 25, 2023
6450900
Update video link WNDT 116 (#7380)
jecfish Sep 26, 2023
ea6bc74
Update video link WNDT 117 (#7381)
jecfish Sep 26, 2023
7770349
Add Silvia Eremia and Ioana Forfota (#7359)
silviaeremia7 Sep 26, 2023
ba8885e
Add date that was forgotten before (#7386)
jpmedley Sep 26, 2023
8b9b38c
Remove old extensions samples page and redirect to new one (#7376)
AmySteam Sep 26, 2023
ecb29fe
Refactor 'Improve extension security'. (#7247)
jpmedley Sep 26, 2023
5a06411
Bulk update from '関連性と測定' to '広告関連' (#7368)
agektmr Sep 27, 2023
cb2935b
a few more origin trial mentions (#7352)
nancymic2 Sep 27, 2023
d17a624
Add Protected Audience reporting doc (#7389)
kevinkiklee Sep 27, 2023
893072f
Add documentation on storage partitioning and partitioned cookies (#6…
oliverdunk Sep 27, 2023
19d6354
Fix invalid link (#7366)
NiedziolkaMichal Sep 27, 2023
f1a7db6
Make the definition of site more precise (#7395)
csharrison Sep 27, 2023
3095381
Adding FedCM Change Log of Chrome 116/117 (#7314)
JackJey Sep 28, 2023
2ea8904
Correct shortcut in index.md (#7378)
ar-assad Sep 28, 2023
5ae33dc
Renew Speculation Rules Origin Trial (#7361)
tunetheweb Sep 28, 2023
17c763c
Bump web-vitals to 3.5.0 (#7406)
tunetheweb Sep 28, 2023
6ad11e6
Update deprecation notice for apps. (#6387)
jpmedley Sep 28, 2023
eaef0ae
VT case studies article (#7409)
rachelandrew Sep 29, 2023
a393767
[Deprecating Web SQL article] Update deprecation timeline (#7404)
tomayac Sep 29, 2023
039ac18
Add information about active debugger sessions and SWs. (#7387)
jpmedley Sep 29, 2023
baa9540
Add sample search announcement to 'What's new'. (#7413)
jpmedley Sep 29, 2023
f9e86af
Fixes navigation preload 'after' image size per @tunetheweb. (#7416)
malchata Sep 29, 2023
127e7b2
rename FPS (#7379)
nancymic2 Sep 29, 2023
030d58e
Add Debugging Chrome Extensions video (#7405)
jecfish Sep 29, 2023
99db418
Updated DevTools page (#7307)
wizardofdocs Oct 2, 2023
d4b45e9
Add guidance for Publishing an MV3 extension (#7223)
AmySteam Oct 2, 2023
30a8a62
Fixed typo in Chrome extension reference article (#7420)
mighty-odewumi Oct 2, 2023
0f7b3d8
Update index.md (#7425)
jecfish Oct 3, 2023
1cc799c
What's New in WebGPU (Chrome 118) (#7257)
beaufortfrancois Oct 3, 2023
46b7ea5
Passkeys on iCloud Keychain blog post (#7382)
agektmr Oct 3, 2023
955b757
Update ARA updates index.md (#7393)
nancymic2 Oct 3, 2023
5afe856
ARA dev guide landing page (#7253)
nancymic2 Oct 3, 2023
a6f4ec3
add grant testing faqs (#7415)
nancymic2 Oct 3, 2023
6ecdf93
Update WNDT 118 video link (#7438)
jecfish Oct 4, 2023
c24425c
Update fedcm-developer guide (#7402)
JackJey Oct 4, 2023
9e6488b
Link old popover blogpost to new one (#7429)
bramus Oct 4, 2023
a8c78fd
Bump @mdn/browser-compat-data from 5.3.6 to 5.3.20 (#7437)
dependabot[bot] Oct 4, 2023
025e373
Add @scope article (#7427)
bramus Oct 4, 2023
d6fb028
Update fps.md (#7435)
nancymic2 Oct 4, 2023
6d38e3e
chore: update webdev-infra to 1.0.57
matthiasrohmer Oct 4, 2023
df5f709
DevTools tips 27: Debugging Chrome extensions, promo post (#7433)
sofiayem Oct 5, 2023
667f301
Updated Storage reference page (#7399)
wizardofdocs Oct 5, 2023
feec4b9
Consolidate action material (#7398)
jpmedley Oct 5, 2023
605132d
Update for per-item privacy policy. (#7446)
jpmedley Oct 5, 2023
59986fb
Fix dates on privacy policy updates (#7447)
jpmedley Oct 6, 2023
74b32d4
[JA] Privacy Sandbox translations (#7448)
ilyaspiridonov Oct 6, 2023
8d375e9
[JA] Fix ja localized content for bounce tracking mitigations doc (#7…
aplio Oct 6, 2023
df214d6
Update index.md (#7450)
rajpalsaurabh Oct 6, 2023
d9efb9c
Remove tweets embded pipeline (#7453)
devnook Oct 6, 2023
127afbc
Updated Offscreen page (#7397)
wizardofdocs Oct 6, 2023
95f656f
Make download link more prominent (#7456)
jpmedley Oct 6, 2023
57538ff
Fix naming and linking issues surrounding single purpose policy. (#7452)
jpmedley Oct 6, 2023
cf4c605
post (#7463)
rachelandrew Oct 7, 2023
65970ca
Add error handling to Protected Audience example (#7455)
samdutton Oct 7, 2023
6003c46
Add error handling to Topics example (#7454)
samdutton Oct 7, 2023
2c72733
Update date on storage and cookies article (#7407)
oliverdunk Oct 9, 2023
8b8b475
Add fullscreen popup OT article (#7374)
tomayac Oct 9, 2023
a7c5580
Update index.md (#7457)
JackJey Oct 9, 2023
c74f0cf
Update DevTools Overview panel images (#7445)
alexandrascript Oct 9, 2023
2d5a56a
Add file locking article (#7476)
tomayac Oct 9, 2023
4558b8a
Scope article: Fix className (#7475)
bramus Oct 9, 2023
e88f93b
Use standard heading grammer (#7458)
jpmedley Oct 9, 2023
99e1ca1
Make this tutorial consistent with others. (#7459)
jpmedley Oct 9, 2023
9263d1c
[Chrome beta 119] Add OT link (#7477)
tomayac Oct 9, 2023
5e07a80
Add Storage and Cookies doc to What's New (#7423)
oliverdunk Oct 10, 2023
b33e408
Oct 2023 Chrome-facilitated testing updates (#7485)
rowan-m Oct 10, 2023
4fa4d2b
Update author entry for rowan_m (#7493)
rowan-m Oct 10, 2023
b8468a1
DevTools 118: @property, overrides, search, and workspace (#7337)
sofiayem Oct 10, 2023
abd6117
prefers-reduced-transparency (#7383)
sofiayem Oct 10, 2023
5f9d6bd
October 2023 CrUX Release (for September data) (#7484)
tunetheweb Oct 10, 2023
98a36ab
New in Chrome 118 posts (#7460)
tropicadri Oct 10, 2023
4265a43
What's new in DevTools 119 (#7492)
sofiayem Oct 11, 2023
647b72b
Fix typos in cdp-command-editor blog post (#7222)
wolfib Oct 11, 2023
e262dd2
queueing vs stalled clarification (#7507)
sofiayem Oct 11, 2023
b537dc2
Add isUrlFilterCaseSensitive change to What's New (#7482)
oliverdunk Oct 11, 2023
0d3eb46
Protected Audience worklet caching (#7392)
kevinkiklee Oct 11, 2023
06f806f
Blog post "Preparing for the end of third-party cookies" (#7509)
rowan-m Oct 11, 2023
b24e519
Add callout about percentage rollout and new users (#7508)
oliverdunk Oct 11, 2023
4f949d3
`new post` - CSS relative color syntax (#7483)
argyleink Oct 11, 2023
9b10eeb
Misc updates to 103 early hints article (#7510)
tunetheweb Oct 11, 2023
e6f895a
Update web.dev links to new format (#7513)
tunetheweb Oct 11, 2023
bc9bc2c
Rough in 'Support and feedback' section. (#7263)
jpmedley Oct 11, 2023
f8e06f9
Add missing descriptions to support and feedback. (#7517)
jpmedley Oct 12, 2023
4c3875b
Homepage updates (#7522)
rachelandrew Oct 12, 2023
d07af2b
Report Issues Link Fix (#7519)
nberg79 Oct 12, 2023
3b10444
Replace irrelevant :scope documentation link in New in Chrome 118 (#7…
vkrol Oct 12, 2023
1b0e2cf
Fix list items in file a bug (#7526)
AmySteam Oct 12, 2023
8b26c82
Update index.md (#7518)
jpmedley Oct 12, 2023
00a9203
Add documentation on testing Chrome Extensions (#7479)
oliverdunk Oct 12, 2023
b007fca
Update API features statuses (#7480)
nancymic2 Oct 12, 2023
7d06991
Update Storage Partitioning articles to reflect feature status (#7512)
miketaylr Oct 12, 2023
f3a5515
Update index.md (#7516)
jpmedley Oct 12, 2023
3eddaaa
Move permissions policy to articles (#7523)
anusmitaray Oct 13, 2023
9ebf9cb
Add Serial over Bluetooth blog post (#7531)
beaufortfrancois Oct 13, 2023
6795959
[Manifest ID article] Fix future-looking language and add constraints…
tomayac Oct 13, 2023
0a3b0e8
Passkeys landing page (#7491)
mihajlija Oct 13, 2023
ca1ea22
Update where available section of PS overview (#7525)
nancymic2 Oct 13, 2023
9ff33aa
Add some clarifying text to 'File a bug'. (#7530)
jpmedley Oct 13, 2023
0862d8f
putting feature back on homepage (#7534)
rachelandrew Oct 13, 2023
eda2249
fixes spec typo from color 4 to color 5 (#7536)
argyleink Oct 13, 2023
be1db12
Remove aside from Commands API (#7496)
AmySteam Oct 13, 2023
4df35b3
Fix typo `function` is `func` (#7532)
Oct 13, 2023
80bf478
Fix alignment of search icons on extension samples and fugu pages (#7…
oliverdunk Oct 16, 2023
b992059
DevTools: Refresh overview (#7549)
sofiayem Oct 16, 2023
3d1bc26
Add requires policy tag (#7548)
oliverdunk Oct 16, 2023
040c36b
issue tracker blog post (#7535)
rachelandrew Oct 16, 2023
7e0f5c4
move origin trial concepts in nav
alexandrascript Oct 16, 2023
d2dbc16
Revert "move origin trial concepts in nav"
alexandrascript Oct 16, 2023
4939082
Blog post "Sanitizer API deprecation" (#7521)
JackJey Oct 17, 2023
16970f7
Update broken link (#7557)
jecfish Oct 17, 2023
56d9499
Copyedits to Cookies reference (#7502)
wizardofdocs Oct 17, 2023
6aa6ee1
Update Known issues (#7558)
AmySteam Oct 17, 2023
2a36093
Add remotely-hosted code advice to 'What's New' (#7560)
jpmedley Oct 17, 2023
859a711
Revert "Update Known issues (#7558)" (#7561)
jpmedley Oct 17, 2023
a1fb713
Known issues update (#7562)
jpmedley Oct 17, 2023
4b21104
What's Happening October edition (#7500)
AmySteam Oct 17, 2023
4d76407
Update date of What's happening in extensions (#7566)
oliverdunk Oct 17, 2023
fa7c040
Add What's New (#7567)
oliverdunk Oct 17, 2023
377bed1
Updated History reference and cleaned up navigation type table (#7537)
wizardofdocs Oct 18, 2023
98b1e4e
Add theme categories to web store docs. (#7177)
jpmedley Oct 18, 2023
fbb1eb5
Split CWS publish article (#7559)
AmySteam Oct 18, 2023
5b22445
fix: grammar error in tut-quick-reference/index.md (#7552)
willieho Oct 18, 2023
5088763
Incorporate text that was in the FAQ (#7584)
jpmedley Oct 18, 2023
a8261b8
Fix links (#7585)
AmySteam Oct 18, 2023
055ca78
fix: increase memory limit for external data 11ty build
matthiasrohmer Oct 19, 2023
e31cdcf
Add note on reloading unpacked extensions (#7595)
oliverdunk Oct 19, 2023
beaeb09
Add a new storage procedure to migration guide (#7598)
jpmedley Oct 19, 2023
72e5b94
Use corp standard title. (#7592)
jpmedley Oct 20, 2023
fd63fe7
Change to corp standard title (#7591)
jpmedley Oct 20, 2023
cd2b4f6
Remove superfluous heading (#7589)
jpmedley Oct 20, 2023
1de8673
RWS: minor fixes (#7604)
samdutton Oct 20, 2023
ece66e3
Fix titles. (#7590)
jpmedley Oct 20, 2023
805fc8b
fix screenshot (#7602)
AmySteam Oct 20, 2023
47a45b7
Updated header in UI customization guide (#7564)
wizardofdocs Oct 20, 2023
f5e3e40
Remove an old stray document. (#7608)
jpmedley Oct 20, 2023
0ad5ffa
Added new intent extras to interactivity guide (#7556)
wizardofdocs Oct 20, 2023
beb7225
blog: css-relative-color-syntax typo "complement" (#7528)
dsamarin Oct 21, 2023
343f2d9
Update index.md (#7538)
shhnjk Oct 21, 2023
bcec09f
chore(footer): fix broken case studies and podcasts links (#7577)
theDavidBarton Oct 21, 2023
0c767b1
Correct critical rendering path links (#7630)
tunetheweb Oct 23, 2023
d6953bb
Adds post: hr in select for Chrome 119 (#7609)
una Oct 23, 2023
0a00171
`new post` CSS text-wrap: pretty (#7581)
argyleink Oct 23, 2023
7f9bd2d
Update the k-anonymity section (#7444)
kevinkiklee Oct 23, 2023
35817d6
Add What's New on testing documentation (#7596)
oliverdunk Oct 23, 2023
412205f
What's New in WebGPU (Chrome 119) (#7527)
beaufortfrancois Oct 24, 2023
1951eb4
s/no-focus-change/focus-capturing-application/g (#7326)
beaufortfrancois Oct 24, 2023
5fc9d01
Disable smooth scrolling (#7637)
oliverdunk Oct 24, 2023
16f912e
Update k-anon lookback window (#7639)
kevinkiklee Oct 24, 2023
66c3a22
Updated code examples in interactivity guide (#7631)
wizardofdocs Oct 24, 2023
9150a1f
Set up redirect from examples/ to samples/ (#7632)
jpmedley Oct 24, 2023
2b36114
Added SEND_TO_EXTERNAL_HANDLER to prefetch guide (#7600)
wizardofdocs Oct 24, 2023
dedc27e
Updated declare_permissions (#7249)
wizardofdocs Oct 24, 2023
355bc76
Remove link on known issues page (#7644)
AmySteam Oct 24, 2023
0078cdd
Fix feature detection. (#7643)
jpmedley Oct 24, 2023
6b03a96
Updated Match Patterns (#7215)
wizardofdocs Oct 25, 2023
bcf2b00
Updated Action reference (#7501)
wizardofdocs Oct 25, 2023
e65d737
Update documentation on static ruleset limits (#7636)
oliverdunk Oct 25, 2023
ddf2bbe
Mention Ephemeral mode in minimum_chrome_version docs (#7655)
oliverdunk Oct 25, 2023
fd74c72
Add notRestoredReasons empty case information (#7494)
chrisdavidmills Oct 25, 2023
7057a24
Update index.md (#7436)
vanderhoop Oct 25, 2023
460f622
fixed complext typo (#7400)
nick-w-nick Oct 25, 2023
6eca685
add section with links to other color level 5 posts (#7647)
argyleink Oct 25, 2023
47390aa
migration from docs (#7660)
argyleink Oct 25, 2023
615be88
Update index.md (#7487)
siddharth-sahoo Oct 25, 2023
b00b06f
Add link to WebSQL deprecation trial (#7373)
jecfish Oct 26, 2023
af5de4d
Replace Chrome OS with enterprise in description of ephemeral (#7664)
oliverdunk Oct 26, 2023
ae3bdde
`patch` - adds note about the additive strategy and support timing (#…
argyleink Oct 26, 2023
c2c30b8
Add What's New for Matt Frisbie interview video (#7666)
oliverdunk Oct 26, 2023
392c0a7
Updated Messaging page (#7343)
wizardofdocs Oct 26, 2023
b6b29da
Split CWS Manage Store listing (#7648)
AmySteam Oct 26, 2023
ed445dc
Add missing information (#7670)
jpmedley Oct 26, 2023
a3a45b4
[JA] October translations (#7673)
ilyaspiridonov Oct 27, 2023
7db0c28
Create PS Q3 feedback report (#7667)
nancymic2 Oct 27, 2023
006bf16
Move policy related FAQs to webstore/program-policies/ (#7669)
AmySteam Oct 27, 2023
4a7af47
Updated outdated link to code sample (#7652)
bennycode Oct 29, 2023
78333b3
Correct `first-letter` being pseudo-element and not pseudo-class (#7367)
NiedziolkaMichal Oct 29, 2023
917ca0d
Remove scripting media query from 118 release notes with correction (…
lukewarlow Oct 29, 2023
5050ac4
fix "Privacy State Tokens" typo (#7539)
michaelficarra Oct 29, 2023
1283a4f
Fix syntax error in code examples (#7478)
Markshall Oct 29, 2023
0b43d25
changed the deadlink (#7231)
subhadipbhowmik Oct 29, 2023
dc20874
fix: remove redundant "update" in index.md (#7676)
Luiz-N Oct 29, 2023
21089d8
add https to form-problems.glitch.me link (#6338)
jennschiffer Oct 29, 2023
96d3120
typo fix: The newly supported CSS units have an r prefix (#5231)
simevidas Oct 29, 2023
7cb2ea2
Fix name of strategy (#6655)
chrisbirster Oct 30, 2023
0fface9
Adjust order of linked libraries to fix Ubuntu compilation (#7684)
beaufortfrancois Oct 30, 2023
d794b6c
Update index.md (#7299)
meistudioli Oct 30, 2023
5e4cfcb
Remove a redundant calc() (#6413)
xiaochengh Oct 30, 2023
8a3516d
Update index.md: replace Edge browser version placeholder (#7172)
josephmarkus Oct 30, 2023
f3b2245
Privacy Sandbox feedback article: typos (#7668)
samdutton Oct 30, 2023
03e59bb
Change service worker to content script (#7687)
sebastianbenz Oct 30, 2023
2eb38aa
ES translation for phasing out third party cookies, plus fixing a lin…
tropicadri Oct 30, 2023
928b2af
Minor change (#7597)
konfirmed Oct 30, 2023
43c3e34
Add What's New item on Privacy Policy change (#7691)
oliverdunk Oct 30, 2023
cda1829
CWS internationalize refactor (#7689)
AmySteam Oct 30, 2023
cf9cb23
Updated refs to renamed features (#2091)
LukeScales1 Oct 31, 2023
8f4012c
Syntax Error on line 190 (#4154)
nazar-primac Oct 31, 2023
e3156fd
Add WasmGC article (#7439)
tomayac Oct 31, 2023
afc2049
New in Chrome 119 post (#7671)
tropicadri Oct 31, 2023
c181e43
DevTools 119, @property (#7635)
sofiayem Oct 31, 2023
c2bbced
Add note about Chrome on Android (#4010)
samdutton Oct 31, 2023
02544f5
correct info about fenced frames. (#7709)
rachelandrew Nov 1, 2023
b9230ec
Move single-purpose FAQ to Web Store (#7700)
AmySteam Nov 1, 2023
9176282
Call out minimum alarm interval update (#7645)
sebastianbenz Nov 1, 2023
a010a48
Add Reading List API reference (#7606)
oliverdunk Nov 1, 2023
e8c1318
FedCM Chrome 120 updates (#7707)
agektmr Nov 1, 2023
1c2a378
Consolidate Complaint CWS FAQs and CWS Review Process (#7701)
AmySteam Nov 1, 2023
94e4789
Chrome beta post (#7710)
rachelandrew Nov 1, 2023
3fe1112
[WasmGC article] Add Flutter demo (#7704)
tomayac Nov 2, 2023
bd7cf56
upd hero img (#7720)
sofiayem Nov 2, 2023
032d67b
fix: escape HTML tag-like syntax in header (#7717)
simevidas Nov 2, 2023
4666148
Fix incorrect API use in index.md (#7719)
yi-gu Nov 2, 2023
384ec70
Add file handler documents (#7711)
jpmedley Nov 2, 2023
198ffee
Fix spelling (#7721)
tomayac Nov 2, 2023
3696f36
Tidied up reference landing page introduction (#7715)
wizardofdocs Nov 2, 2023
78c92e7
Update docs to mention that <all_urls> is valid for externally_connec…
patrickkettner Nov 2, 2023
5f067bf
Update known issues page for Chrome 120 (#7731)
sebastianbenz Nov 2, 2023
1c71a1d
New blog: Chrome 120 for extensions (#7732)
sebastianbenz Nov 2, 2023
8fb6737
Update index.md (#7301)
JackJey Nov 3, 2023
f0fe6ca
Link V8 article (#7730)
tomayac Nov 3, 2023
b2142c8
Add "A change to the default durability mode in IndexedDB" article (#…
tomayac Nov 3, 2023
ec41770
fix: change fir to fire (#7738)
rustyzone Nov 3, 2023
8f163bf
Add userscript documentation. (#7488)
jpmedley Nov 3, 2023
55e995e
fix image size (#7734)
sebastianbenz Nov 3, 2023
39c1849
clarify requestStorageAccess and requestStorageAccessFor (#7725)
nancymic2 Nov 3, 2023
1911841
[DO NOT MERGE] Privacy Sandbox events: added Protected Audience webin…
samdutton Nov 3, 2023
119beea
CWS faqs removal and new CWS TOC (#7742)
AmySteam Nov 3, 2023
12e8222
Fix first sentence order (#7746)
tomayac Nov 4, 2023
4ee8646
[WasmGC article] Add Flutter aside (#7744)
tomayac Nov 6, 2023
2817c55
Fix links in ARA dev guide landing (#7748)
nancymic2 Nov 6, 2023
9097ee7
Fix broken links. (#7714)
jpmedley Nov 6, 2023
b6d5338
what's new update: 120 crx udpate (#7754)
sebastianbenz Nov 6, 2023
3c10719
Consolidate CWS API reference (#7757)
AmySteam Nov 6, 2023
e3cc4f2
Update index.md (#7424)
owlcode Nov 6, 2023
8f84964
Update 3PCD timeline (#7762)
mihajlija Nov 7, 2023
1465bee
Revise: action.isEnabled() and action.setBadgeTextColor() shipped in …
hanguokai Nov 7, 2023
0443ee9
Update README.md (#7764)
rachelandrew Nov 8, 2023
9fe5d82
Update pull_request_template.md (#7769)
rachelandrew Nov 8, 2023
f120ac8
add storage.session in "What's new in extensions" (#7761)
hanguokai Nov 8, 2023
f56837e
Add Topics enhancements blog post for November 2023 (#7702)
samdutton Nov 8, 2023
59bb760
Updated Topics bucket assignment link (#7772)
samdutton Nov 8, 2023
6364c03
Updated Topics enhancement post subhead (#7773)
samdutton Nov 8, 2023
14a172c
What's new in DevTools 120 (#7771)
sofiayem Nov 9, 2023
642e0b9
WNDT 120 fix date (#7777)
sofiayem Nov 9, 2023
22db3a6
New Post - CSS Relaxed Nesting Update (#7766)
argyleink Nov 9, 2023
763ef08
Update CFT timings information (#7750)
samdutton Nov 9, 2023
a2117bc
Add WebGPU ecosystem blog post (#7779)
beaufortfrancois Nov 9, 2023
eb9d7aa
add a Service Worker Static Routing API blog post (#7783)
brendankenny Nov 10, 2023
aa23437
Update the unload deprecation timelines (#7781)
tunetheweb Nov 13, 2023
22b29a3
docs(en): merging all conflicts
docschina-bot Nov 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .cloudbuild/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ steps:
env:
- 'NODE_OPTIONS="--max_old_space_size=8192"' # https://github.com/GoogleChrome/developer.chrome.com/issues/2439

- name: node:16.14.2
entrypoint: npm
args: ['run', 'algolia']

- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: 'bash'
args:
Expand Down
19 changes: 14 additions & 5 deletions .cloudbuild/external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ steps:
entrypoint: npm
args: ['ci']

- name: node:16.14.2
id: 'Configure secrets'
entrypoint: npm
args: ['run', 'cloud-secrets']

- name: node:16.14.2
id: 'Build external data'
entrypoint: npm
Expand All @@ -34,6 +29,8 @@ steps:
- name: node:16.14.2
id: 'Build eleventy in dev mode to confirm'
entrypoint: npm
env:
- 'NODE_OPTIONS="--max_old_space_size=8192"'
args: ['run', 'eleventy']
# This does NOT set `NODE_ENV=production`, as we don't need the full build.

Expand All @@ -49,3 +46,15 @@ options:
env:
- 'PROJECT_ID=$PROJECT_ID'
- 'NODE_OPTIONS=--unhandled-rejections=strict'
secretEnv: ['GITHUB_APP_ID', 'GITHUB_APP_KEY', 'GITHUB_APP_INSTALLATION_ID', 'YOUTUBE_API_KEY']

availableSecrets:
secretManager:
- versionName: projects/chrome-apps-doc/secrets/GITHUB_APP_ID/versions/1
env: 'GITHUB_APP_ID'
- versionName: projects/chrome-apps-doc/secrets/GITHUB_APP_KEY/versions/4
env: 'GITHUB_APP_KEY'
- versionName: projects/chrome-apps-doc/secrets/GITHUB_APP_INSTALLATION_ID/versions/1
env: 'GITHUB_APP_INSTALLATION_ID'
- versionName: projects/chrome-apps-doc/secrets/YOUTUBE_API_KEY/versions/1
env: 'YOUTUBE_API_KEY'
8 changes: 4 additions & 4 deletions .cloudbuild/stage.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
timeout: 2700s # Set build timeout to 45 mins
steps:
- id: 'install'
name: node:18
name: node:16
entrypoint: npm
args: ['ci']

- id: 'prepare'
name: node:18
name: node:16
entrypoint: bash
args:
- '-c'
Expand All @@ -15,7 +15,7 @@ steps:
npm run stage:github announceDeploymentStart

- id: 'build'
name: node:18
name: node:16
env:
- 'CI=true'
- 'NODE_OPTIONS="--max_old_space_size=8192"'
Expand Down Expand Up @@ -52,7 +52,7 @@ steps:
fi

- id: 'finalize'
name: node:18
name: node:16
entrypoint: bash
args:
- '-c'
Expand Down
25 changes: 25 additions & 0 deletions .cloudbuild/stagingCleanUp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Runs in dcc-staging and cleans up stale instances and bucket items by comparing open
# PRs to currently deployed instances/folders
timeout: 2700s
steps:
- id: 'install'
name: node:18
entrypoint: npm
args: ['ci']

- id: 'clean'
name: node:18
entrypoint: bash
args:
- '-c'
- |
npm run stage:github cleanUpGoogleCloud

availableSecrets:
secretManager:
- versionName: projects/dcc-staging/secrets/GITHUB_APP_ID/versions/1
env: 'GITHUB_APP_ID'
- versionName: projects/dcc-staging/secrets/GITHUB_APP_KEY/versions/1
env: 'GITHUB_APP_KEY'
- versionName: projects/dcc-staging/secrets/GITHUB_APP_INSTALLATION_ID/versions/1
env: 'GITHUB_APP_INSTALLATION_ID'
21 changes: 21 additions & 0 deletions .cloudbuild/updateAlgoliaIndex.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
timeout: 600s # set build timeout to 10 mins
steps:
- name: node:16.14.2
entrypoint: npm
args: ['ci']

- name: node:16.14.2
entrypoint: npm
args: ['run', 'cloud-secrets']

- name: node:16.14.2
entrypoint: npm
args: ['run', 'algolia']

substitutions:
_EXTRA_GCLOUD_ARGS: # default empty

options:
machineType: 'E2_HIGHCPU_32'
env:
- 'PROJECT_ID=$PROJECT_ID'
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const {DetailsSummary} = require('./site/_shortcodes/DetailsSummary');
const {Empty} = require('./site/_shortcodes/Empty');
const {IFrame} = require('./site/_shortcodes/IFrame');
const {Glitch} = require('./site/_shortcodes/Glitch');
const {AndroidBrowserSupportTable} = require('./site/_shortcodes/AndroidBrowserSupportTable');
const {Hreflang} = require('./site/_shortcodes/Hreflang');
const {Img} = require('./site/_shortcodes/Img');
const {Label} = require('./site/_shortcodes/Label');
Expand Down Expand Up @@ -133,6 +134,7 @@ module.exports = eleventyConfig => {
eleventyConfig.addNunjucksAsyncFilter('minifyHtml', minifyHtml);

// Add shortcodes
eleventyConfig.addShortcode('AndroidBrowserSupportTable', AndroidBrowserSupportTable);
eleventyConfig.addShortcode('InlineCss', InlineCss);
eleventyConfig.addShortcode('Codepen', Codepen);
eleventyConfig.addShortcode('IFrame', IFrame);
Expand Down
46 changes: 29 additions & 17 deletions .github/chrome-devrel-bot.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"check_name" : "Content team approval",
"teams" : [],
"users" : [
"PaulKinlan",
"malchata",
"rachelandrew",
"heyawhite",
"jpmedley",
"mihajlija",
"sofiayem",
"AaronForinton",
"nancymic2",
"anusmitaray",
"IanStanion-google",
"AmySteam"
],
"paths" : [
Expand All @@ -26,35 +26,38 @@
"users" : [
"PaulKinlan",
"matthiasrohmer",
"devnook"
"devnook",
"tunetheweb"
],
"paths" : [
"*.js",
"*.json",
"*.css",
"*.scss",
"*.html",
"*.htm",
"*.njk",
"*.toml",
"*.sh"
"**/*.js",
"**/*.json",
"**/*.css",
"**/*.scss",
"**/*.html",
"**/*.htm",
"**/*.njk",
"**/*.toml",
"**/*.sh"
]
},
{
"check_name" : "Eng or Content team approval",
"teams" : [],
"users" : [
"PaulKinlan",
"jeffposnick",
"devnook",
"malchata",
"rachelandrew",
"heyawhite",
"jpmedley",
"mihajlija",
"sofiayem",
"AaronForinton",
"matthiasrohmer"
"nancymic2",
"anusmitaray",
"AmySteam",
"matthiasrohmer",
"devnook",
"tunetheweb"
],
"paths" : [
"site/_data/**.yml",
Expand All @@ -64,9 +67,18 @@
]
},
{
"check_name" : "Content (es) team approval",
"check_name" : "Content team or Spanish reader approval",
"teams" : [],
"users" : [
"malchata",
"rachelandrew",
"heyawhite",
"jpmedley",
"mihajlija",
"sofiayem",
"nancymic2",
"anusmitaray",
"AmySteam",
"tropicadri"
],
"paths" : [
Expand Down
4 changes: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<!-- Due to an upcoming migration of this site we are no longer merging pull requests for changes to existing content. Please raise content issues at https://issuetracker.google.com/issues/new?component=1400036&template=1897236 -->

Fixes #SOME_ISSUE_NUMBER

Changes proposed in this pull request:

-
-
-
-
2 changes: 1 addition & 1 deletion .huskyrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
hooks: {
"pre-push": "npm run lint"
"pre-commit": "npx lint-staged"
}
};
6 changes: 6 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"*.scss": "npm run lint:scss",
"*.ts": "npm run lint:types",
"*.md": "npm run lint:md",
"*.js": "npm run lint:js"
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**Note:** This site is migrating to a new platform and as of 7 November we are not merging new pull requests for changes to existing content. Please raise content issues in the new [issue tracker](https://issuetracker.google.com/issues/new?component=1400036&template=1897236), and they will be addressed in the migrated copy.

For urgent content updates, contact rachelandrew@.

# developer.chrome.com

developer.chrome.com is the ultimate resource for developers of all backgrounds
Expand Down
15 changes: 12 additions & 3 deletions algolia.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
* limitations under the License.
*/
require('dotenv').config();

const {default: algoliasearch} = require('algoliasearch');
const fs = require('fs');
const {default: fetch} = require('node-fetch');
const {sizeof} = require('sizeof');

const algoliaIndexSource = 'https://developers.chrome.com/algolia.json';

const maxChunkSizeInBytes = 10000000; // 10,000,000

/**
Expand Down Expand Up @@ -53,8 +56,14 @@ async function index() {
return;
}

const raw = fs.readFileSync('dist/algolia.json', 'utf-8');
const algoliaData = JSON.parse(raw);
let algoliaData = [];
try {
const raw = await fetch(algoliaIndexSource);
algoliaData = await raw.json();
} catch (err) {
console.error('Could not load algolia index from prod.', err);
return;
}

// Set date of when object is being added to algolia
algoliaData.map(e => {
Expand Down
Loading
Loading