autodocsumm


Nameautodocsumm JSON
Version 0.2.12 PyPI version JSON
download
home_page
SummaryExtended sphinx autodoc including automatic autosummaries
upload_time2024-01-05 09:20:19
maintainer
docs_urlNone
author
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": "",
    "name": "autodocsumm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "sphinx,autodoc,autosummary,content,table",
    "author": "",
    "author_email": "\"Philipp S. Sommer\" <philipp.sommer@hereon.de>",
    "download_url": "https://files.pythonhosted.org/packages/bc/a3/fff636d1ca9b3dc6f2773c6beb0a2ba0140ef1e228312c65257c4d4f76cf/autodocsumm-0.2.12.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.12",
    "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": "3c5169ddabcb5b61e75b4b5e0135ab03e01a9c7851290dbab55eb7402a1a0359",
                "md5": "251987835a17465374274497a443e830",
                "sha256": "b842b53c686c07a4f174721ca4e729b027367703dbf42e2508863a3c6d6c049c"
            },
            "downloads": -1,
            "filename": "autodocsumm-0.2.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "251987835a17465374274497a443e830",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14234,
            "upload_time": "2024-01-05T09:20:18",
            "upload_time_iso_8601": "2024-01-05T09:20:18.015462Z",
            "url": "https://files.pythonhosted.org/packages/3c/51/69ddabcb5b61e75b4b5e0135ab03e01a9c7851290dbab55eb7402a1a0359/autodocsumm-0.2.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bca3fff636d1ca9b3dc6f2773c6beb0a2ba0140ef1e228312c65257c4d4f76cf",
                "md5": "c6e84a11db27f1d82374ea4b278a3089",
                "sha256": "848fe8c38df433c6635489499b969cb47cc389ed3d7b6e75c8ccbc94d4b3bf9e"
            },
            "downloads": -1,
            "filename": "autodocsumm-0.2.12.tar.gz",
            "has_sig": false,
            "md5_digest": "c6e84a11db27f1d82374ea4b278a3089",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 45310,
            "upload_time": "2024-01-05T09:20:19",
            "upload_time_iso_8601": "2024-01-05T09:20:19.701769Z",
            "url": "https://files.pythonhosted.org/packages/bc/a3/fff636d1ca9b3dc6f2773c6beb0a2ba0140ef1e228312c65257c4d4f76cf/autodocsumm-0.2.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-05 09:20:19",
    "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.16043s