Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Robots.txt for the Sloth CI server

Project description

Robots.txt for the Sloth CI server.

`Robots.txt <https://en.wikipedia.org/wiki/Robots_exclusion_standard>`__ 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. http://example.com:8080/robots.txt. However, you can specify your own file to serve and the URL to serve it on.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.robots_txt


Usage
-----

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

extensions:
robots_txt:
# 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: *http://example.com:8080/robots.txt*.
# path: /static/robots.txt

Project details


Release history Release notifications

This version
History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sloth_ci.ext.robots_txt-1.0.3-py3-none-any.whl (4.5 kB) Copy SHA256 hash SHA256 Wheel 3.5 Feb 21, 2016
sloth-ci.ext.robots_txt-1.0.3.win-amd64.exe (141.1 kB) Copy SHA256 hash SHA256 Windows Installer any Feb 21, 2016
sloth-ci.ext.robots_txt-1.0.3.zip (5.0 kB) Copy SHA256 hash SHA256 Source None Feb 21, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page