Skip to content

Commit

Permalink
documentation update, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
derduher committed Feb 11, 2021
1 parent bb011c0 commit f891611
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.3.6

- bump dependencies

## 6.3.5

- Add option to silence or redirect logs from parse #337
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ const sms = new SitemapAndIndexStream({
// for it to write the sitemap urls to and the expected url where that sitemap will be hosted
getSitemapStream: (i) => {
const sitemapStream = new SitemapStream({ hostname: 'https://example.com' });
const path = `./sitemap-${i}.xml`;
// if your server automatically serves sitemap.xml.gz when requesting sitemap.xml leave this line be
// otherwise you will need to add .gz here and remove it a couple lines below so that both the index
// and the actual file have a .gz extension
const path = `./sitemap-${i}.xml`;

sitemapStream
.pipe(createGzip()) // compress the output of the sitemap
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sitemap",
"version": "6.3.5",
"version": "6.3.6",
"description": "Sitemap-generating lib/cli",
"keywords": [
"sitemap",
Expand Down

0 comments on commit f891611

Please sign in to comment.