From fb984a4119641c964fe49dc07faec0ccbfe930a4 Mon Sep 17 00:00:00 2001 From: Bernd Ahlers Date: Tue, 26 Oct 2021 19:33:40 +0200 Subject: [PATCH] Add robots.txt --- conf.py | 33 +++++++++++++++++---------------- robots.txt | 21 +++++++++++++++++++++ 2 files changed, 38 insertions(+), 16 deletions(-) create mode 100644 robots.txt diff --git a/conf.py b/conf.py index b0f8b02ab..3628c93c3 100644 --- a/conf.py +++ b/conf.py @@ -150,6 +150,7 @@ # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. #html_extra_path = [] +html_extra_path = ['robots.txt'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -212,25 +213,25 @@ # -- Options for LaTeX output --------------------------------------------- latex_elements = { -# The paper size ('letterpaper' or 'a4paper'). -#'papersize': 'letterpaper', + # The paper size ('letterpaper' or 'a4paper'). + # 'papersize': 'letterpaper', -# The font size ('10pt', '11pt' or '12pt'). -#'pointsize': '10pt', + # The font size ('10pt', '11pt' or '12pt'). + # 'pointsize': '10pt', -# Additional stuff for the LaTeX preamble. -#'preamble': '', + # Additional stuff for the LaTeX preamble. + # 'preamble': '', -# Latex figure (float) alignment -#'figure_align': 'htbp', + # Latex figure (float) alignment + # 'figure_align': 'htbp', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'Graylog.tex', u'Graylog Documentation', - u'Graylog, Inc.', 'manual'), + ('index', 'Graylog.tex', u'Graylog Documentation', + u'Graylog, Inc.', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -273,9 +274,9 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'Graylog', u'Graylog Documentation', - u'Graylog, Inc.', 'Graylog', 'One line description of project.', - 'Miscellaneous'), + ('index', 'Graylog', u'Graylog Documentation', + u'Graylog, Inc.', 'Graylog', 'One line description of project.', + 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. @@ -361,7 +362,7 @@ #epub_use_index = True extlinks = { - 'enterprise-plugins-tar': ( 'https://downloads.graylog.org/releases/graylog-enterprise/graylog-enterprise-plugins-%s.tgz', None), - 'enterprise-integrations-plugins-tar': ( 'https://downloads.graylog.org/releases/graylog-integrations/graylog-integrations-plugins-%s.tgz', None), - 'integrations-plugins-tar': ( 'https://downloads.graylog.org/releases/graylog-enterprise-integrations/graylog-enterprise-integrations-plugins-%s.tgz', None) + 'enterprise-plugins-tar': ('https://downloads.graylog.org/releases/graylog-enterprise/graylog-enterprise-plugins-%s.tgz', None), + 'enterprise-integrations-plugins-tar': ('https://downloads.graylog.org/releases/graylog-integrations/graylog-integrations-plugins-%s.tgz', None), + 'integrations-plugins-tar': ('https://downloads.graylog.org/releases/graylog-enterprise-integrations/graylog-enterprise-integrations-plugins-%s.tgz', None) } diff --git a/robots.txt b/robots.txt new file mode 100644 index 000000000..c7d9373f7 --- /dev/null +++ b/robots.txt @@ -0,0 +1,21 @@ +User-agent: * + +Disallow: /en/4.2/ +Disallow: /en/4.1/ +Disallow: /en/4.0/ +Disallow: /en/3.3/ +Disallow: /en/3.2/ +Disallow: /en/3.1/ +Disallow: /en/3.0/ +Disallow: /en/2.5/ +Disallow: /en/2.4/ +Disallow: /en/2.3/ +Disallow: /en/2.2/ +Disallow: /en/2.1/ +Disallow: /en/2.0/ +Disallow: /en/1.3/ +Disallow: /en/1.2/ +Disallow: /en/1.1/ +Disallow: /en/1.0/ + +Sitemap: https://archivedocs.graylog.org/sitemap.xml