Skip to main content

Robots.txt for the Sloth CI server

Project description

Robots.txt for the Sloth CI server.

`Robots.txt <>`__ is a file you put on your server to protect certain URLs from being accessed by crawler bots.

By default,tThis extension serves *robots.txt* on the server root, e.g. However, you can specify your own file to serve and the URL to serve it on.


.. code-block:: bash

$ pip install sloth-ci.ext.robots_txt


.. code-block:: yaml
:caption: sloth.yml

# Use the sloth_ci.ext.robots_txt module.
module: robots_txt

# Absolute path to the custom robots.txt file.
# If not given, the bundled one is used (disallows everything to everyone).
# file: ~/robots.txt

# URL path to robots.txt.
# By default the file is available in the root: **.
# path: /static/robots.txt

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (5.0 kB view hashes)

Uploaded source

Built Distributions (141.1 kB view hashes)

Uploaded any

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page