Page MenuHomeElementl

[docs-infra] version images
ClosedPublic

Authored by yuhan on Apr 1 2021, 5:33 AM.

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)
yuhan requested review of this revision.Apr 1 2021, 5:55 AM
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.