forked from r-lib/pkgdown
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build_sitemap() improvements (r-lib#2583)
* Only message if sitemap changed * Simplify generation * Exclude redirects from sitemap. * Exclude invalid filenames from alias redirects Fixes r-lib#2582
- Loading branch information
Showing
7 changed files
with
66 additions
and
37 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# url_node gives informative error | ||
# build sitemap only messages when it updates | ||
|
||
Code | ||
url_node("<") | ||
Condition | ||
Error in `url_node()`: | ||
! Failed to wrap URL "<" | ||
Caused by error in `read_xml.raw()`: | ||
! StartTag: invalid element name [68] | ||
build_sitemap(pkg) | ||
Message | ||
-- Building sitemap ------------------------------------------------------------ | ||
Writing `sitemap.xml` | ||
Code | ||
build_sitemap(pkg) | ||
Message | ||
-- Building sitemap ------------------------------------------------------------ | ||
|
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