Skip to content

Commit f1aec8d

Browse files
committed
Improve documentation using property_manager.sphinx module
1 parent 9322ff1 commit f1aec8d

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'sphinx.ext.intersphinx',
2222
'sphinx.ext.viewcode',
2323
'humanfriendly.sphinx',
24+
'property_manager.sphinx',
2425
]
2526

2627
# Configuration for the `autodoc' extension.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ coloredlogs >= 5.0
22
executor >= 16.0.1
33
humanfriendly >= 3.4
44
naturalsort >= 1.4
5-
property-manager >= 2.0
5+
property-manager >= 2.3
66
python-dateutil >= 2.2
77
# simpleeval version 0.9.2 introduces syntax that is incompatible with Python 2.6.
88
simpleeval >= 0.8.7, < 0.9.2

rotate_backups/__init__.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -710,14 +710,7 @@ def __str__(self):
710710

711711
class Backup(PropertyManager):
712712

713-
"""
714-
:class:`Backup` objects represent a rotation subject.
715-
716-
In addition to the :attr:`pathname`, :attr:`timestamp` and :attr:`week`
717-
properties :class:`Backup` objects support all of the attributes of
718-
:class:`~datetime.datetime` objects by deferring attribute access for
719-
unknown attributes to :attr:`timestamp`.
720-
"""
713+
""":class:`Backup` objects represent a rotation subject."""
721714

722715
key_properties = 'timestamp', 'pathname'
723716
"""

0 commit comments

Comments
 (0)