Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download images for Help Center folder architecture #31

Merged

Conversation

ricardoaerobr
Copy link
Contributor

Issue 83

1º Download the file from the original folder (Contentful) to the folder of each article.
2º Update the image reference link inside each article.

Copy link
Contributor

@PedroAntunesCosta PedroAntunesCosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have commented on minor issues, but I would also like to point out that I think we should be mindful of the URLs assembled in the else if and else conditions.

  1. In what situations will they be triggered? It is not clear to me.
  2. Given they are triggered, are those the URLs we want to be returned? It seems to me they are not.

docs-utils/update-images.js Outdated Show resolved Hide resolved
docs-utils/update-images.js Outdated Show resolved Hide resolved
docs-utils/update-images.js Outdated Show resolved Hide resolved
docs-utils/update-images.js Outdated Show resolved Hide resolved
docs-utils/update-images.js Outdated Show resolved Hide resolved
Copy link
Contributor

@PedroAntunesCosta PedroAntunesCosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ricardoaerobr ricardoaerobr merged commit b454803 into main Sep 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants