File: autodoc_customizations.py

package info (click to toggle)
python-falcon 4.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,172 kB
  • sloc: python: 33,608; javascript: 92; sh: 50; makefile: 50
file content (10 lines) | stat: -rw-r--r-- 262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
"""Customizations to the autodoc functionalities"""

import sphinx.ext.autodoc as ad


def setup(app):
    # avoid adding "alias of xyz"
    ad.GenericAliasMixin.update_content = ad.DataDocumenterMixinBase.update_content

    return {'parallel_read_safe': True}