Skip to content

Exclude /direction/* from sitemap if PRIVATE_TOKEN is unset

A. I. Oleynikov requested to merge (removed):direction-sitemap into master

If PRIVATE_TOKEN variable is unset, direction page generator is not run. However the sitemap still includes some files under source/direction not explicitly ignored in config.rb. This leads to occasional errors in the build, see #4917.

I suggest ignoring source/direction/* entirely to reduce the probability of such errors. This change applies only to the build with PRIVATE_TOKEN unset. The sitemap built with the variable set is unchanged.

Merge request reports

Loading