Skip to content

Commit e83e6a7

Browse files
committed
Updating docstrings
1 parent b526244 commit e83e6a7

19 files changed

+277
-158
lines changed

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,36 @@ venv.bak/
103103
# mypy
104104
.mypy_cache/
105105

106+
107+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
108+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
109+
110+
# Gradle
111+
*.iml
112+
*.ipr
113+
114+
# CMake
115+
cmake-build-*/
116+
117+
# Mongo Explorer plugin
118+
.idea/**/mongoSettings.xml
119+
120+
# File-based project format
121+
*.iws
122+
123+
# IntelliJ
124+
out/
125+
126+
# JIRA plugin
127+
atlassian-ide-plugin.xml
128+
129+
# Crashlytics plugin (for Android Studio and IntelliJ)
130+
com_crashlytics_export_strings.xml
131+
crashlytics.properties
132+
crashlytics-build.properties
133+
fabric.properties
134+
135+
106136
.idea
107137
build
108138
*.egg-info

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ deploy:
2020
tags: true
2121
python: "3.6"
2222
distributions: "sdist bdist_wheel"
23-
skip_existing: true
23+
skip_existing: true

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include __pkginfo__.py
22
include LICENSE
3+
recursive-exclude **/__pycache__ *

__pkginfo__.py

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2020 Dominic Davis-Foster <[email protected]>
1+
# Copyright (C) 2019-2020 Dominic Davis-Foster <[email protected]>
22
#
33
# This program is free software: you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
1818
import pathlib
1919

2020
copyright = """
21-
2019 Dominic Davis-Foster <[email protected]>
21+
2019-2020 Dominic Davis-Foster <[email protected]>
2222
"""
2323

2424
VERSION = "0.2.6"
@@ -31,22 +31,15 @@
3131

3232
short_desc = 'Helpful functions for Python'
3333

34-
classifiers = [
35-
'Development Status :: 4 - Beta',
36-
'Intended Audience :: Developers',
37-
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
38-
'Operating System :: OS Independent',
39-
'Programming Language :: Python',
40-
'Programming Language :: Python :: 3.6',
41-
'Programming Language :: Python :: 3.7',
42-
'Programming Language :: Python :: 3.8',
43-
'Topic :: Software Development :: Libraries :: Python Modules',
44-
]
45-
4634
author = "Dominic Davis-Foster"
4735
author_email = "[email protected]"
4836
github_username = "domdfcoding"
4937
web = github_url = f"https://github.com/{github_username}/{modname}"
38+
project_urls = {
39+
"Documentation": f"https://{modname}.readthedocs.io", # TODO: Make this link match the package version
40+
"Issue Tracker": f"{github_url}/issues",
41+
"Source Code": github_url,
42+
}
5043

5144
install_requires = []
5245

@@ -55,3 +48,22 @@
5548
long_description = (pathlib.Path.cwd().parent / "README.rst").read_text() + '\n'
5649
else:
5750
long_description = pathlib.Path("README.rst").read_text() + '\n'
51+
52+
53+
classifiers = [
54+
'Development Status :: 4 - Beta',
55+
# "Development Status :: 4 - Beta",
56+
# "Development Status :: 5 - Production/Stable",
57+
# "Development Status :: 6 - Mature",
58+
# "Development Status :: 7 - Inactive",
59+
'Intended Audience :: Developers',
60+
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
61+
'Operating System :: OS Independent',
62+
'Programming Language :: Python',
63+
'Programming Language :: Python :: 3.6',
64+
'Programming Language :: Python :: 3.7',
65+
'Programming Language :: Python :: 3.8',
66+
"Programming Language :: Python :: 3 :: Only",
67+
"Programming Language :: Python :: Implementation :: CPython",
68+
'Topic :: Software Development :: Libraries :: Python Modules',
69+
]

doc-source/dates.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*********************************
2+
:mod:`domdf_python_tools.dates`
3+
*********************************
4+
5+
.. contents:: Table of Contents
6+
7+
.. warning:: This module has not been fully tested. Use with caution.
8+
9+
.. note:: This module requires the `pytz <https://pypi.org/project/pytz/>`_ package to be installed.
10+
11+
.. automodule:: domdf_python_tools.dates
12+
:members:
13+
:undoc-members:
14+

doc-source/docs.rst

Lines changed: 0 additions & 68 deletions
This file was deleted.

doc-source/doctools.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**************************************
2+
:mod:`domdf_python_tools.doctools`
3+
**************************************
4+
5+
.. contents:: Table of Contents
6+
7+
.. automodule:: domdf_python_tools.doctools
8+
:members:
9+
:undoc-members:
10+

doc-source/index.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,20 @@ View the :ref:`Function Index <genindex>` or browse the `Source Code <_modules/i
55

66
`Browse the GitHub Repository <https://github.com/domdfcoding/domdf_python_tools>`__
77

8+
.. toctree::
9+
:hidden:
10+
11+
Home<self>
12+
813
.. toctree::
914
:maxdepth: 3
1015
:caption: Documentation
1116

12-
docs
17+
dates
18+
doctools
19+
pagesizes
20+
paths
21+
terminal
22+
utils
1323
Source
1424
Building

doc-source/pagesizes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
************************************
2+
:mod:`domdf_python_tools.pagesizes`
3+
************************************
4+
5+
.. contents:: Table of Contents
6+
7+
.. automodule:: domdf_python_tools.pagesizes
8+
:members:
9+
:undoc-members:
10+

doc-source/paths.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**********************************
2+
:mod:`domdf_python_tools.paths`
3+
**********************************
4+
5+
.. contents:: Table of Contents
6+
7+
.. automodule:: domdf_python_tools.paths
8+
:members:
9+
:undoc-members:
10+

0 commit comments

Comments
 (0)