fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1465 from hey-api/docs/sponsors-stainless-update-2

docs: use jpeg in README to look nicer in dark mode

authored by

Lubos and committed by
GitHub
0d90435d 24a0d09a

+19 -14
+1 -1
.github/FUNDING.yml
··· 1 1 github: 2 - - hey-api 3 2 - mrlubos 3 + - hey-api
+2 -2
README.md
··· 19 19 20 20 Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. 21 21 22 - ## Sponsoring 22 + ## Sponsors 23 23 24 24 Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). 25 25 26 26 <p> 27 27 <a href="https://kutt.it/pkEZyc" target="_blank"> 28 - <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.png" /> 28 + <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg" /> 29 29 </a> 30 30 </p> 31 31
docs/public/images/stainless-logo-1200w.jpeg

This is a binary file and will not be displayed.

docs/public/images/stainless-logo-480w.jpeg

This is a binary file and will not be displayed.

docs/public/images/stainless-logo-768w.jpeg

This is a binary file and will not be displayed.

docs/public/images/stainless-logo-wordmark-1200w.jpeg

This is a binary file and will not be displayed.

docs/public/images/stainless-logo-wordmark-480w.jpeg

This is a binary file and will not be displayed.

docs/public/images/stainless-logo-wordmark-768w.jpeg

This is a binary file and will not be displayed.

+9 -4
docs/scripts/optimize-images.js
··· 35 35 const outputFileName = `${baseName}-${size}w.${format}`; 36 36 const outputPath = path.join(outputDir, outputFileName); 37 37 38 - await sharp(inputPath) 39 - .resize(size) 40 - .toFormat(format, { quality: 80 }) 41 - .toFile(outputPath); 38 + let image = sharp(inputPath).resize(size).toFormat(format, { 39 + quality: 80, 40 + }); 41 + 42 + if (format === 'jpeg') { 43 + image = image.flatten({ background: '#ffffff' }); 44 + } 45 + 46 + await image.toFile(outputPath); 42 47 43 48 console.log(`Generated: ${outputFileName}`); 44 49 }
+1 -1
docs/sponsorship.md
··· 1 - ## Sponsoring 1 + ## Sponsors 2 2 3 3 Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). 4 4
+2 -2
packages/client-axios/README.md
··· 20 20 21 21 Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. 22 22 23 - ## Sponsoring 23 + ## Sponsors 24 24 25 25 Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). 26 26 27 27 <p> 28 28 <a href="https://kutt.it/pkEZyc" target="_blank"> 29 - <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.png" /> 29 + <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg" /> 30 30 </a> 31 31 </p> 32 32
+2 -2
packages/client-fetch/README.md
··· 20 20 21 21 Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. 22 22 23 - ## Sponsoring 23 + ## Sponsors 24 24 25 25 Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). 26 26 27 27 <p> 28 28 <a href="https://kutt.it/pkEZyc" target="_blank"> 29 - <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.png" /> 29 + <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg" /> 30 30 </a> 31 31 </p> 32 32
+2 -2
packages/openapi-ts/README.md
··· 19 19 20 20 Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. 21 21 22 - ## Sponsoring 22 + ## Sponsors 23 23 24 24 Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). 25 25 26 26 <p> 27 27 <a href="https://kutt.it/pkEZyc" target="_blank"> 28 - <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.png" /> 28 + <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg" /> 29 29 </a> 30 30 </p> 31 31