Skip to content

Commit

Permalink
Create robots.txt and in-page instructions to avoid searching of docs…
Browse files Browse the repository at this point in the history
… v2 pages (#16750)
  • Loading branch information
discdiver authored Jan 16, 2025
1 parent b504795 commit d4d350b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base.html" %}


{% block extrahead %}
<meta name="robots" content="noindex, nofollow">
{{ super() }}
{% endblock %}

{% block analytics %}
{{ super() }}
Expand Down
2 changes: 2 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /

0 comments on commit d4d350b

Please sign in to comment.