Skip to content

Commit 435c50b

Browse files
author
Mohan Kishore
committed
Doc updates with some preliminary ddb code
1 parent 5e17b09 commit 435c50b

7 files changed

Lines changed: 198 additions & 88 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ coverage: ## check code coverage quickly with the default Python
6666
$(BROWSER) htmlcov/index.html
6767

6868
docs: ## generate Sphinx HTML documentation, including API docs
69-
rm -f docs/python_dynamodb_lock.rst
70-
rm -f docs/modules.rst
71-
sphinx-apidoc -o docs/ python_dynamodb_lock
69+
# rm -f docs/python_dynamodb_lock.rst
70+
# rm -f docs/modules.rst
71+
sphinx-apidoc -o docs/ -M python_dynamodb_lock
7272
$(MAKE) -C docs clean
7373
$(MAKE) -C docs html
7474
$(BROWSER) docs/_build/html/index.html

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3535
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
3636

37+
# autodoc config
38+
autoclass_content = 'both'
39+
add_module_names = False
40+
3741
# Add any paths that contain templates here, relative to this directory.
3842
templates_path = ['_templates']
3943

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Welcome to Python DynamoDB Lock's documentation!
88
readme
99
installation
1010
usage
11-
modules
11+
python_dynamodb_lock
1212
contributing
1313
authors
1414
history

docs/modules.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
python_dynamodb_lock
2+
====================
3+
4+
.. toctree::
5+
:maxdepth: 4
6+
7+
python_dynamodb_lock

docs/python_dynamodb_lock.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
python\_dynamodb\_lock package
2+
==============================
3+
4+
.. automodule:: python_dynamodb_lock
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
9+
10+
python\_dynamodb\_lock module
11+
----------------------------------------------------
12+
13+
.. automodule:: python_dynamodb_lock.python_dynamodb_lock
14+
:members:
15+
:undoc-members:
16+
:show-inheritance:
17+

python_dynamodb_lock/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
"""Top-level package for Python DynamoDB Lock."""
3+
"""The package contains a single module - with the same name i.e. python_dynamodb_lock"""
44

55
__author__ = """Mohan Kishore"""
66
__email__ = 'mohankishore@yahoo.com'

0 commit comments

Comments
 (0)