Skip to content

Host images locally #1

Description

@ajohn25

Is your feature request related to a problem? Please describe.
Currently many images are hosted on AWS from previous versions of the docs. The retention policy for these images is unclear, and we could theoretically lose the ability to pull them at any time.

Describe the solution you'd like
Write a script to:

  1. Download all images that are referenced in docs to a folder in this repo (ex. /static/img
  2. Replace all of the external links with links to the newly created image assets

Describe alternatives you've considered
We could host the images in our own GCP project or on another cloud provider. Not sure if this would provide any additional benefit over storing them in this repo.

Additional context
Note there are also some images which already cannot be accessed (ex. if they're hosted on lh6.googleusercontent.com). These will require a more manual process where we take new screenshots to fully replace (which will at least partially be completed when tackling #2). However, if the script used for this issue catches these images as well, there should be no impact on content displayed since the images already show up as empty.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions