Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dschenck committed Jun 25, 2023
1 parent 67e2da7 commit 3d9a1b6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
14 changes: 14 additions & 0 deletions docs/fragments/badges.rst
@@ -0,0 +1,14 @@
.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue
:target: https://pypi.org/project/doubledate

.. image:: https://github.com/dschenck/doubledate/workflows/doubledate/badge.svg
:target: https://github.com/dschenck/doubledate/actions

.. image:: https://badge.fury.io/py/doubledate.svg
:target: https://badge.fury.io/py/doubledate

.. image:: https://readthedocs.org/projects/doubledate/badge/?version=latest
:target: https://doubledate.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
15 changes: 1 addition & 14 deletions docs/index.rst
Expand Up @@ -2,20 +2,7 @@ doubledate
=====================================
**doubledate** exposes a set of 20+ utility functions as well as an immutable :code:`Calendar` object representing a sorted-set of dates.

.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue
:target: https://pypi.org/project/doubledate

.. image:: https://github.com/dschenck/doubledate/workflows/doubledate/badge.svg
:target: https://github.com/dschenck/doubledate/actions

.. image:: https://badge.fury.io/py/doubledate.svg
:target: https://badge.fury.io/py/doubledate

.. image:: https://readthedocs.org/projects/doubledate/badge/?version=latest
:target: https://doubledate.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
.. include:: fragments/badges.rst

Installation
-------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions docs/source/installation.rst
@@ -1,5 +1,7 @@
Installation
========================
============
.. include:: ../fragments/badges.rst

:code:`doubledate` is hosted in `PyPI <https://pypi.org/project/doubledate/>`_ - you can install it using pip:
::

Expand All @@ -17,7 +19,7 @@ Installing a specific version of :code:`doubledate`:

Dependencies
-------------------------
:code:`doubledate` has the following dependencies:
:code:`doubledate` has the following 2 dependencies:

- `sortedcontainers <http://www.grantjenks.com/docs/sortedcontainers/>`_
- `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`_
Expand Down

0 comments on commit 3d9a1b6

Please sign in to comment.