adding gitter badges

This commit is contained in:
Samuel Colvin
2018-05-24 16:58:18 +01:00
parent 62d39d90a7
commit 1bf385f5bd
4 changed files with 7 additions and 14 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
pydantic
========
|BuildStatus| |Coverage| |pypi|
|BuildStatus| |Coverage| |pypi| |gitter|
Data validation and settings management using python 3.6 type hinting.
@@ -13,4 +13,6 @@ See `documentation`_ for more details.
:target: https://codecov.io/gh/samuelcolvin/pydantic
.. |pypi| image:: https://img.shields.io/pypi/v/pydantic.svg
:target: https://pypi.python.org/pypi/pydantic
.. |gitter| image:: https://badges.gitter.im/pydantic.svg
:target: https://gitter.im/pydantic/Lobby
.. _documentation: https://pydantic-docs.helpmanual.io/
-12
View File
@@ -1,12 +0,0 @@
{% extends '!layout.html' %}
{% block footer %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62733018-4', 'auto');
ga('send', 'pageview');
</script>
{% endblock %}
+1
View File
@@ -159,6 +159,7 @@ html_theme_options = {
'page_width': '1200px',
'github_banner': True,
'github_type': 'star',
'analytics_id': 'UA-62733018-4',
}
# Add any paths that contain custom themes here, relative to this directory.
+3 -1
View File
@@ -4,7 +4,7 @@ pydantic
.. toctree::
:maxdepth: 2
|pypi| |license|
|pypi| |license| |gitter|
Current Version: |version|
@@ -428,3 +428,5 @@ for more details on the test case. Feel free to submit more benchmarks or improv
:target: https://pypi.python.org/pypi/pydantic
.. |license| image:: https://img.shields.io/pypi/l/pydantic.svg
:target: https://github.com/samuelcolvin/pydantic
.. |gitter| image:: https://badges.gitter.im/pydantic.svg
:target: https://gitter.im/pydantic/Lobby