mirror of
https://github.com/django/django.git
synced 2025-11-22 20:16:24 +00:00
Fixed #29942 -- Restored source file linking in docs by using the Sphinx linkcode ext.
Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
This commit is contained in:
parent
f030236a86
commit
b691accea1
11 changed files with 414 additions and 2 deletions
25
tests/sphinx/testdata/package/module.py
vendored
Normal file
25
tests/sphinx/testdata/package/module.py
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
"""
|
||||
Example docstring
|
||||
"""
|
||||
|
||||
from django.utils.functional import cached_property
|
||||
from tests.sphinx.testdata.package.wildcard_module import * # noqa
|
||||
|
||||
from . import other_module # noqa
|
||||
from .other_module import MyOtherClass # noqa
|
||||
|
||||
|
||||
class MyClass(object):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def my_method(self):
|
||||
pass
|
||||
|
||||
@cached_property
|
||||
def my_cached_property(self):
|
||||
pass
|
||||
|
||||
|
||||
def my_function(self):
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue