autodocsumm


Nameautodocsumm JSON
Version 0.2.14 PyPI version JSON
download
home_pageNone
SummaryExtended sphinx autodoc including automatic autosummaries
upload_time2024-10-23 18:51:47
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseApache-2.0
keywords sphinx autodoc autosummary content table
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==============================================
Extending your autodoc API docs with a summary
==============================================

.. start-badges

.. list-table::
    :stub-columns: 1
    :widths: 10 90

    * - docs
      - |docs|
    * - tests
      - |github-action| |codecov|
    * - package
      - |version| |supported-versions| |supported-implementations|

.. |docs| image:: http://readthedocs.org/projects/autodocsumm/badge/?version=latest
    :alt: Documentation Status
    :target: http://autodocsumm.readthedocs.io/en/latest/?badge=latest

.. |github-action| image:: https://github.com/Chilipp/autodocsumm/workflows/Tests/badge.svg
    :alt: Tests
    :target: https://github.com/Chilipp/autodocsumm/actions?query=workflow%3A%22Tests%22

.. |codecov| image:: https://codecov.io/gh/Chilipp/autodocsumm/branch/master/graph/badge.svg?token=I9wlZyhI4Y
    :alt: Codecov
    :target: https://codecov.io/gh/Chilipp/autodocsumm

.. |version| image:: https://img.shields.io/pypi/v/autodocsumm.svg?style=flat
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/autodocsumm

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/autodocsumm.svg?style=flat
    :alt: Supported versions
    :target: https://pypi.python.org/pypi/autodocsumm

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/autodocsumm.svg?style=flat
    :alt: Supported implementations
    :target: https://pypi.python.org/pypi/autodocsumm


.. end-badges

Welcome! This sphinx extension provides some useful extensions to the Sphinxs
autodoc_ extension. Those are

1. It creates a *Table of Contents* in the style of the autosummary_ extension
   with methods, classes, functions and attributes
2. As you can include the ``__init__`` method documentation for via the
   autoclass_content_ configuration value,
   we provide the *autodata_content* configuration value to include
   the documentation from the ``__call__`` method
3. You can exclude the string representation of specific objects. E.g. if you
   have a large dictionary using the *not_document_data* configuration
   value.

See the `Documentation on Readthedocs`_ for more details.

.. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
.. _autoclass_content: http://www.sphinx-doc.org/en/stable/ext/autodoc.html#confval-autoclass_content
.. _autosummary: http://www.sphinx-doc.org/en/stable/ext/autosummary.html
.. _Documentation on Readthedocs: http://autodocsumm.readthedocs.io/en/latest/



Installation
============
Simply install it via ``pip``::

    $ pip install autodocsumm


Local development
^^^^^^^^^^^^^^^^^

Use ``pip`` on the `source on GitHub`_::

    $ pip install .


.. _source on GitHub: https://github.com/Chilipp/autodocsumm


Requirements
============
The package only requires Sphinx_ to be installed. It has been tested for
versions higher than 1.3.


.. _Sphinx: http://www.sphinx-doc.org/en/master


Quickstart
==========

In order to activate the autodocsumm extension, you have to list it in your
``conf.py``:

.. code-block:: python

    extensions = [
        'sphinx.ext.autodoc',
        ...,
        'autodocsumm',
    ]

Once this is done, you can use the ``:autosummary:`` option for autodoc
directives to generate a table at the top, e.g.:

.. code-block:: rst

    .. automodule:: my.awesome.module
        :autosummary:

Optionally, you can make autodocsumm active by default for all autodoc
directives by adding in ``conf.py``:

.. code-block:: python

    autodoc_default_options = {
        'autosummary': True,
    }


Disclaimer
==========
Copyright 2016-2019, Philipp S. Sommer

Copyright 2020-2021, Helmholtz-Zentrum Hereon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "autodocsumm",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "sphinx, autodoc, autosummary, content, table",
    "author": null,
    "author_email": "\"Philipp S. Sommer\" <philipp.sommer@hereon.de>",
    "download_url": "https://files.pythonhosted.org/packages/03/96/92afe8a7912b327c01f0a8b6408c9556ee13b1aba5b98d587ac7327ff32d/autodocsumm-0.2.14.tar.gz",
    "platform": null,
    "description": "==============================================\nExtending your autodoc API docs with a summary\n==============================================\n\n.. start-badges\n\n.. list-table::\n    :stub-columns: 1\n    :widths: 10 90\n\n    * - docs\n      - |docs|\n    * - tests\n      - |github-action| |codecov|\n    * - package\n      - |version| |supported-versions| |supported-implementations|\n\n.. |docs| image:: http://readthedocs.org/projects/autodocsumm/badge/?version=latest\n    :alt: Documentation Status\n    :target: http://autodocsumm.readthedocs.io/en/latest/?badge=latest\n\n.. |github-action| image:: https://github.com/Chilipp/autodocsumm/workflows/Tests/badge.svg\n    :alt: Tests\n    :target: https://github.com/Chilipp/autodocsumm/actions?query=workflow%3A%22Tests%22\n\n.. |codecov| image:: https://codecov.io/gh/Chilipp/autodocsumm/branch/master/graph/badge.svg?token=I9wlZyhI4Y\n    :alt: Codecov\n    :target: https://codecov.io/gh/Chilipp/autodocsumm\n\n.. |version| image:: https://img.shields.io/pypi/v/autodocsumm.svg?style=flat\n    :alt: PyPI Package latest release\n    :target: https://pypi.python.org/pypi/autodocsumm\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/autodocsumm.svg?style=flat\n    :alt: Supported versions\n    :target: https://pypi.python.org/pypi/autodocsumm\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/autodocsumm.svg?style=flat\n    :alt: Supported implementations\n    :target: https://pypi.python.org/pypi/autodocsumm\n\n\n.. end-badges\n\nWelcome! This sphinx extension provides some useful extensions to the Sphinxs\nautodoc_ extension. Those are\n\n1. It creates a *Table of Contents* in the style of the autosummary_ extension\n   with methods, classes, functions and attributes\n2. As you can include the ``__init__`` method documentation for via the\n   autoclass_content_ configuration value,\n   we provide the *autodata_content* configuration value to include\n   the documentation from the ``__call__`` method\n3. You can exclude the string representation of specific objects. E.g. if you\n   have a large dictionary using the *not_document_data* configuration\n   value.\n\nSee the `Documentation on Readthedocs`_ for more details.\n\n.. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html\n.. _autoclass_content: http://www.sphinx-doc.org/en/stable/ext/autodoc.html#confval-autoclass_content\n.. _autosummary: http://www.sphinx-doc.org/en/stable/ext/autosummary.html\n.. _Documentation on Readthedocs: http://autodocsumm.readthedocs.io/en/latest/\n\n\n\nInstallation\n============\nSimply install it via ``pip``::\n\n    $ pip install autodocsumm\n\n\nLocal development\n^^^^^^^^^^^^^^^^^\n\nUse ``pip`` on the `source on GitHub`_::\n\n    $ pip install .\n\n\n.. _source on GitHub: https://github.com/Chilipp/autodocsumm\n\n\nRequirements\n============\nThe package only requires Sphinx_ to be installed. It has been tested for\nversions higher than 1.3.\n\n\n.. _Sphinx: http://www.sphinx-doc.org/en/master\n\n\nQuickstart\n==========\n\nIn order to activate the autodocsumm extension, you have to list it in your\n``conf.py``:\n\n.. code-block:: python\n\n    extensions = [\n        'sphinx.ext.autodoc',\n        ...,\n        'autodocsumm',\n    ]\n\nOnce this is done, you can use the ``:autosummary:`` option for autodoc\ndirectives to generate a table at the top, e.g.:\n\n.. code-block:: rst\n\n    .. automodule:: my.awesome.module\n        :autosummary:\n\nOptionally, you can make autodocsumm active by default for all autodoc\ndirectives by adding in ``conf.py``:\n\n.. code-block:: python\n\n    autodoc_default_options = {\n        'autosummary': True,\n    }\n\n\nDisclaimer\n==========\nCopyright 2016-2019, Philipp S. Sommer\n\nCopyright 2020-2021, Helmholtz-Zentrum Hereon\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Extended sphinx autodoc including automatic autosummaries",
    "version": "0.2.14",
    "project_urls": {
        "Documentation": "https://autodocsumm.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/Chilipp/autodocsumm",
        "Source": "https://github.com/Chilipp/autodocsumm",
        "Tracker": "https://github.com/Chilipp/autodocsumm/issues"
    },
    "split_keywords": [
        "sphinx",
        " autodoc",
        " autosummary",
        " content",
        " table"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87bc3f66af9beb683728e06ca08797e4e9d3e44f432f339718cae3ba856a9cad",
                "md5": "a2841554448602d8736b7b99232438d4",
                "sha256": "3bad8717fc5190802c60392a7ab04b9f3c97aa9efa8b3780b3d81d615bfe5dc0"
            },
            "downloads": -1,
            "filename": "autodocsumm-0.2.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a2841554448602d8736b7b99232438d4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14640,
            "upload_time": "2024-10-23T18:51:45",
            "upload_time_iso_8601": "2024-10-23T18:51:45.115097Z",
            "url": "https://files.pythonhosted.org/packages/87/bc/3f66af9beb683728e06ca08797e4e9d3e44f432f339718cae3ba856a9cad/autodocsumm-0.2.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "039692afe8a7912b327c01f0a8b6408c9556ee13b1aba5b98d587ac7327ff32d",
                "md5": "10ac01d944bf1a66684813e9fc869e83",
                "sha256": "2839a9d4facc3c4eccd306c08695540911042b46eeafcdc3203e6d0bab40bc77"
            },
            "downloads": -1,
            "filename": "autodocsumm-0.2.14.tar.gz",
            "has_sig": false,
            "md5_digest": "10ac01d944bf1a66684813e9fc869e83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 46357,
            "upload_time": "2024-10-23T18:51:47",
            "upload_time_iso_8601": "2024-10-23T18:51:47.369368Z",
            "url": "https://files.pythonhosted.org/packages/03/96/92afe8a7912b327c01f0a8b6408c9556ee13b1aba5b98d587ac7327ff32d/autodocsumm-0.2.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-23 18:51:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Chilipp",
    "github_project": "autodocsumm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "autodocsumm"
}
        
Elapsed time: 0.86913s