Skip to content

Commit 68cbe75

Browse files
committed
🙈
1 parent 1ab432d commit 68cbe75

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

R/build-llm.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ create_absolute_links <- function(main_html, pkg) {
8080
]
8181

8282
href_absolute <- xml2::url_absolute(xml2::xml_attr(a_internal, "href"), url)
83-
href_absolute <- path_ext_set(href_absolute, "md")
83+
href_absolute <- sub("html$", "md", href_absolute)
8484
xml2::xml_attr(a_internal, "href") <- href_absolute
8585
}
86+
8687
xml2::xml_attr(a, "class") <- NULL
8788
}
8889

tests/testthat/_snaps/build-llm/llm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ pkgdown is designed to make it quick and easy to build a website for
3535
your package. You can see pkgdown in action at
3636
<https://pkgdown.r-lib.org>: this is the output of pkgdown applied to
3737
the latest version of pkgdown. Learn more in
38-
[`vignette("pkgdown")`](https:/pkgdown.r-lib.org/articles/pkgdown.md) or
39-
[`?build_site`](https:/pkgdown.r-lib.org/reference/build_site.md).
38+
[`vignette("pkgdown")`](https://pkgdown.r-lib.org/articles/pkgdown.md)
39+
or [`?build_site`](https://pkgdown.r-lib.org/reference/build_site.md).
4040

4141
------------------------------------------------------------------------
4242

0 commit comments

Comments
 (0)