1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +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:
Joachim Jablon
2023-06-02 00:33:27 +01:00
committed by nessita
parent f030236a86
commit b691accea1
11 changed files with 414 additions and 2 deletions

25
tests/sphinx/testdata/package/module.py vendored Normal file
View 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