Skip to content

Commit

Permalink
added 'robots.txt' to root directory of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
khsrali committed Jul 5, 2024
1 parent 11eefc9 commit 0a6e426
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = False

# This is to tell search engines to index only stable and latest version
html_extra_path = ['robots.txt']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
4 changes: 4 additions & 0 deletions docs/source/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /projects/aiida-core/en/latest/
Allow: /projects/aiida-core/en/stable/
Disallow: /

0 comments on commit 0a6e426

Please sign in to comment.