HomeElementl

[docs-infra] version images

Description

[docs-infra] version images

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

Reviewers: sashank

Reviewed By: sashank

Differential Revision: https://dagster.phacility.com/D7256

Details

Provenance
yuhanAuthored on Apr 6 2021, 11:56 PM
Reviewer
sashank
Differential Revision
D7256: [docs-infra] version images
Parents
R1:13990f2b1bae: add slack hooks to api docs
Branches
Unknown
Tags
Unknown