Skip to content

Commit 5d7e324

Browse files
committed
Extend documentation for relative links
1 parent 22bca5a commit 5d7e324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/reusables/repositories/relative-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ A relative link is a link that is relative to the current file. For example, if
66
[Contribution guidelines for this project](docs/CONTRIBUTING.md)
77
```
88

9-
{% data variables.product.product_name %} will automatically transform your relative link or image path based on whatever branch you're currently on, so that the link or path always works. You can use all relative link operands, such as `./` and `../`.
9+
{% data variables.product.product_name %} will automatically transform your relative link or image path based on whatever branch you're currently on, so that the link or path always works. The path of the link will be relative to the current file. Links starting with `/` will be relative to the repository root. You can use all relative link operands, such as `./` and `../`.
1010

1111
Relative links are easier for users who clone your repository. Absolute links may not work in clones of your repository - we recommend using relative links to refer to other files within your repository.

0 commit comments

Comments
 (0)