You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, changing the version of the document does not load images from specific branch.
i.e. all versions share the same image source from CDN https://download.pingcap.com
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
For each version maintained, have corresponding CDN path that stores the images from their branch
Take docs v5.2 as example:
In current docs scenario, it's better to keep image consist. It is beneficial to the reuse of static resources. Besides, it's a big mission for doc team to update all image references.
But your advice is still very suitable for our next doc website idea. It's clear and helpful if we maintain common/versioned static media files for doc.
Describe the bug
Currently, changing the version of the document does not load images from specific branch.
i.e. all versions share the same image source from CDN https://download.pingcap.com
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For each version maintained, have corresponding CDN path that stores the images from their branch
Take docs v5.2 as example:
Screenshots
dev
v5.2
The src of the image is always the same
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Related code:
website-docs/packages/download/utils.js
Line 17 in e612ad0
The text was updated successfully, but these errors were encountered: