Details
-
Bug
-
Resolution: Timed out
-
Medium
Description
I have a repository for testing relative-link syntax @ https://bitbucket.org/tlroche/rst_link_test with a wiki @ https://bitbucket.org/tlroche/rst_link_test/wiki/Home . The filetree of the project (which includes its wiki) is
rst_link_test/README.rst rst_link_test/file_in_project_root.txt rst_link_test/images/Jen_Sorensen_PandP-poster-ForWeb.png rst_link_test/subdir_level_1/file_in_folder_just_below_project_root.rst rst_link_test/wiki/another_wikipage_in_top-level_folder.rst rst_link_test/wiki/Home.rst rst_link_test/wiki/subdir_level_2/wikipage_in_child_folder.rst
As shown @ rst_link_test/wiki/Home.rst
- Home>ordinary file: I can successfully link from rst_link_test/wiki/Home to an ordinary file in the project's ./subdir_level_1/ with ../src/HEAD/subdir_level_1/file_in_folder_just_below_project_root.rst
- Home>image>downloads: I can successfully
{link to, display} an image in the parent project's Downloads from rst_link_test/wiki/Home with ../downloads/Jen_Sorensen_PandP-poster-ForWeb.png
# README>image>in project repo: several syntaxes work to allow this project's README to display a file in its ./images/
# Home>image>ordinary file: I cannot successfully {link to, display}an image in the project's ./images/ from rst_link_test/wiki/Home with ../src/HEAD/images/Jen_Sorensen_PandP-poster-ForWeb.png . In fact, I can't find any syntax that will allow a relative link from rst_link_test/wiki/Home to an image in rst_link_test/images/ .
But
- Both rst_link_test/subdir_level_1/ and rst_link_test/images/ are obviously peer directories/folders.
- rst_link_test/wiki/Home can display an image from its parent project's Downloads, so it's not like the wiki cannot display images outside its own pseudo-project.
So I assert that either (and this is a boolean or)
- The same relative-link syntax that works from a wiki file to an ordinary file in the wiki's parent project should work for image display.
- BB should enable some relative-link syntax to allow a wiki file to display an image in the wiki's parent project.