Skip to content

Commit

Permalink
Revert last commit, add pinned pkgdown version
Browse files Browse the repository at this point in the history
  • Loading branch information
froggleston committed Jul 29, 2024
1 parent 1b76bd7 commit 22615f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ Description: We provide tools to build a Carpentries-themed lesson repository
lesson author needs to focus on is writing the content of the actual lesson.
License: MIT + file LICENSE
Imports:
pkgdown (>= 1.6.0),
pkgdown (> 1.6.0),
pkgdown (<= 2.0.9),
pegboard (>= 0.7.0),
cli (>= 3.4.0),
commonmark,
Expand Down
5 changes: 3 additions & 2 deletions R/utils-xml.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ add_anchors <- function(nodes, ids) {

# fix for pkgdown 2.1.0 now adding in anchors for <section> tags
# rename our workbench translated sections <workbench-section>
sections <- xml2::xml_parent(heading)
xml2::xml_set_name(sections, "workbench-section")
# this would require a lot more downstream work
# sections <- xml2::xml_parent(heading)
# xml2::xml_set_name(sections, "workbench-section")
}
}

Expand Down

0 comments on commit 22615f9

Please sign in to comment.