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 #2131 from hey-api/docs/banner-migrate

docs: add migration banner

authored by

Lubos and committed by
GitHub
265e68de 2b3700c1

+40 -2
+1 -1
.changeset/sixty-teachers-play.md
··· 2 2 '@hey-api/openapi-ts': patch 3 3 --- 4 4 5 - feat: allow patching specs with `input.patch` 5 + feat(parser): allow patching specs with `input.patch`
+1 -1
.changeset/weak-ways-kiss.md
··· 2 2 '@hey-api/openapi-ts': patch 3 3 --- 4 4 5 - fix(sdk): add `instance` option for instantiable SDKs 5 + feat(sdk): add `instance` option for instantiable SDKs
+10
docs/.vitepress/theme/Layout.vue
··· 29 29 </a> 30 30 </div> --> 31 31 </template> 32 + <template #home-features-before> 33 + <a 34 + aria-label="Send an email to Lubos" 35 + class="migration" 36 + href="mailto:lubos@heyapi.dev?subject=Migrate%20TypeScript%20SDKs" 37 + > 38 + <p>Migrate your existing TypeScript SDKs</p> 39 + <p>Contact us</p> 40 + </a> 41 + </template> 32 42 </Layout> 33 43 </template> 34 44
+28
docs/.vitepress/theme/custom.css
··· 235 235 max-width: initial; 236 236 } 237 237 238 + .migration { 239 + background-color: var(--vp-c-brand-3); 240 + border-radius: 10px; 241 + border: 1px solid transparent; 242 + column-gap: 3rem; 243 + display: flex; 244 + flex-direction: column; 245 + justify-content: space-between; 246 + margin: 0 auto 1rem; 247 + max-width: 392px; 248 + padding: 1rem; 249 + row-gap: 1rem; 250 + transition: border-color ease-out 250ms; 251 + width: auto; 252 + } 253 + 254 + a.migration:hover, 255 + a.migration:focus { 256 + border-color: var(--vp-c-brand-1); 257 + } 258 + 238 259 .VPFeatures.VPHomeFeatures > .container > .items { 239 260 gap: 1rem; 240 261 justify-content: center; ··· 251 272 .home-list > ul, 252 273 .sponsors-list > ul { 253 274 flex-direction: row; 275 + } 276 + } 277 + 278 + @media (min-width: 892px) { 279 + .migration { 280 + flex-direction: row; 281 + max-width: 798px; 254 282 } 255 283 } 256 284