Integrate with readthedocs.org.

This commit is contained in:
Dave Shawley 2021-04-06 08:08:01 -04:00
parent a0e2ef1c19
commit 5d7a6f6941
No known key found for this signature in database
GPG Key ID: F41A8A99298F8EED
4 changed files with 39 additions and 0 deletions

15
.readthedocs.yaml Normal file
View File

@ -0,0 +1,15 @@
version: 2
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- readthedocs
system_packages: true

View File

@ -5,3 +5,5 @@ include CHANGELOG.rst
include example.py
include LICENSE
include tox.ini
global-exclude *.pyc

View File

@ -1,5 +1,10 @@
Asynchronously send metrics to a statsd_ instance.
|build| |coverage| |source|
.. COMMENTED OUT FOR THE TIME BEING
|docs| |download| |license|
This library provides connectors to send metrics to a statsd_ instance using either TCP or UDP.
.. code-block:: python
@ -115,3 +120,16 @@ not connected to the server and will be sent in the order received when the task
.. _statsd: https://github.com/statsd/statsd/
.. _tornado: https://tornadoweb.org/
.. |build| image:: https://img.shields.io/github/workflow/status/sprockets/sprockets-statsd/Testing/main?style=social
:target: https://github.com/sprockets/sprockets-statsd/actions/workflows/run-tests.yml
.. |coverage| image:: https://img.shields.io/codecov/c/github/sprockets/sprockets-statsd?style=social
:target: https://app.codecov.io/gh/sprockets/sprockets-statsd
.. |docs| image:: https://img.shields.io/readthedocs/sprockets-statsd.svg?style=social
:target: https://sprockets-statsd.readthedocs.io/en/latest/?badge=latest
.. |download| image:: https://img.shields.io/pypi/pyversions/sprockets-statsd.svg?style=social
:target: https://pypi.org/project/sprockets-statsd/
.. |license| image:: https://img.shields.io/pypi/l/sprockets-statsd.svg?style=social
:target: https://github.com/sprockets/sprockets-statsd/blob/master/LICENSE.txt
.. |source| image:: https://img.shields.io/badge/source-github.com-green.svg?style=social
:target: https://github.com/sprockets/sprockets-statsd

View File

@ -42,6 +42,10 @@ dev =
sphinx-autodoc-typehints==1.11.1
tornado>=5
yapf==0.30.0
readthedocs =
sphinx==3.5.2
sphinx-autodoc-typehints==1.11.1
tornado>=5
[options.packages.find]
exclude =