Skip to content

Commit 70864e8

Browse files
committed
Also allow altdoc in pkgdown.yml
See etiennebacher/altdoc#341
1 parent 33dab5b commit 70864e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/buildtools.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ find_pkgdown_url <- function(package){
10841084
req <- curl::curl_fetch_memory(paste0(x, '/pkgdown.yml'))
10851085
if(req$status == 200){
10861086
yaml <- yaml:::yaml.load(rawToChar(req$content))
1087-
if(length(yaml$pkgdown)){
1087+
if(length(yaml$pkgdown) || length(yaml$altdoc)){
10881088
return(x)
10891089
}
10901090
}

0 commit comments

Comments
 (0)