Page MenuHomeElementl

[docs-infra] version images
ClosedPublic

Authored by yuhan on Apr 1 2021, 5:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 13, 5:00 PM
Unknown Object (File)
Fri, Aug 12, 11:32 AM
Unknown Object (File)
Tue, Aug 9, 12:54 PM
Unknown Object (File)
Sun, Aug 7, 3:22 AM
Unknown Object (File)
Fri, Aug 5, 11:56 AM
Unknown Object (File)
Tue, Aug 2, 4:16 AM
Unknown Object (File)
Jul 14 2022, 6:06 PM
Unknown Object (File)
Jul 12 2022, 5:15 AM
Subscribers
None

Details

Summary

versioned images in next/public/.versioned_images/

added a new step version_images in update_version which will copy the public/images/ to next/public/.versioned_images/<version>

we will only version an image when:

  • use <Image> component in mdx
  • on non-master version
  • in public/images/ dir

so we don't need to backfill for the old versions - as the old mdx don't use <Image> component

Test Plan
python update_version.py --version 0.11.3
python update_version.py --version 0.11.4

https://dagster-qvphij3ji-elementl.vercel.app/getting-started

see "i'm 0.11.3" and "i'm 0.11.4"

NOTE: will delete the new versioned content and image folders before landing

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yuhan edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Apr 6 2021, 2:13 PM

add 0.11.3 versioned images

This revision was automatically updated to reflect the committed changes.