You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2020/07/23 03:26:00 UTC

[jira] [Commented] (YUNIKORN-297) move doc images to relative URLs

    [ https://issues.apache.org/jira/browse/YUNIKORN-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163192#comment-17163192 ] 

Weiwei Yang commented on YUNIKORN-297:
--------------------------------------

Looks like the current version of docusaurus doesn't support using versioned assets yet. Looks like we have to live with this until the next version is released. I only found the related doc in the {{next}} version doc: https://v2.docusaurus.io/docs/next/markdown-features#assets.

> move doc images to relative URLs
> --------------------------------
>
>                 Key: YUNIKORN-297
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-297
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Weiwei Yang
>            Priority: Blocker
>
> The images in the docs all use absolute URLs.
> Based on the [docusaurus docs|https://docusaurus.io/docs/en/doc-markdown#linking-to-images-and-other-assets] they should be relative links.
> The relative links are needed to make sure that the images and other static resources work with versioning. The current setup means that we can not have a newer version of an image or update an image without breaking versioned docs.
> This will also require the move of images from docs out of the {{static/img}} directory in the repo.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org