File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ coverage: ## check code coverage quickly with the default Python
6666 $(BROWSER ) htmlcov/index.html
6767
6868docs : # # 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
Original file line number Diff line number Diff line change 3434# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3535extensions = ['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.
3842templates_path = ['_templates' ]
3943
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1+ python_dynamodb_lock
2+ ====================
3+
4+ .. toctree ::
5+ :maxdepth: 4
6+
7+ python_dynamodb_lock
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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'
You can’t perform that action at this time.
0 commit comments