Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ defaults:
path: ""
values:
layout: default
# exclude all the files from `/releases/` in the sitemap
- scope:
path: releases/**
values:
sitemap: false

exclude:
- 'ADDING_RELEASE_DOCS.md'
Expand Down
7 changes: 7 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This robots.txt file controls crawling of URLs under https://bnd.bndtools.org.
# All crawlers are disallowed to crawl files in the "releases" directory,
# because they dilute search results, because they are outdated.
User-agent: *
Disallow: /releases/

Sitemap: https://bnd.bndtools.org/sitemap.xml