-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes broken links by leveraging
pkgdown
autodetection of function …
…use in inline code (#1435) #### Changes description - Change absolute paths to `insightsengineering.github.io/teal/...` to `fun_name()` - downside: - `knitr` keeps the inline code as is, so CRAN's vignettes don't have the links - upside: - pkgdown is smart to detect and create a link to the reference page (see within) - `urlcheck` CI doesn't fail on `main` and PRs with unreleased code - Articles in version-specific documentation don't suddenly take you to `latest-tag` #### Alternatives considered Using relative links (`../reference`), but this will break CRAN vignettes as well --------- Signed-off-by: André Veríssimo <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]>
- Loading branch information
1 parent
47f651f
commit 2603560
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters