summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2025-02-17 21:55:41 +0100
committerrebortg <github@ghlr.de>2025-02-17 22:04:01 +0100
commit5b9ae4f5be54ca026e4a727b9caeb56bdb2d8ae0 (patch)
treecff8bdaccfc0b79e189136ea47ed3faf4515ad2c /docs
parent6ed23c314155dee3b0c8c21af34f458f393b22c6 (diff)
downloadvyos-documentation-5b9ae4f5be54ca026e4a727b9caeb56bdb2d8ae0.tar.gz
vyos-documentation-5b9ae4f5be54ca026e4a727b9caeb56bdb2d8ae0.zip
Disallow atlassian-bot in robots.txt
(cherry picked from commit 0e440465338457b513e8b295f95b112bde75074b)
Diffstat (limited to 'docs')
-rw-r--r--docs/_html_extra/robots.txt2
-rw-r--r--docs/conf.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/_html_extra/robots.txt b/docs/_html_extra/robots.txt
new file mode 100644
index 00000000..bccdfc14
--- /dev/null
+++ b/docs/_html_extra/robots.txt
@@ -0,0 +1,2 @@
+User-agent: atlassian-bot
+Disallow: \ No newline at end of file
diff --git a/docs/conf.py b/docs/conf.py
index f05832fe..95f0c31a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -109,6 +109,8 @@ html_theme = "sphinx_rtd_theme"
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
+html_extra_path = ['_html_extra']
+
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#