Ashley Whetter
e38a60d3f2
Add `py:type
` directive and role for documenting type aliases ( #11989 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-11 12:15:54 +01:00
James Addison
2418e007ce
Support unary subtraction in annotation parsing ( #11904 )
2024-01-21 14:31:04 +00:00
Joachim Jablon
663a5b7781
py domain: Ignore aliases for resolving :any:
cross-references ( #10089 )
...
Co-authored-by: Joachim Jablon <joachim.jablon@people-doc.com>
2022-06-26 13:04:15 +01:00
Takeshi KOMIYA
4ab0dba755
Fix #9205 : py domain: canonical option causes xref resolution error
...
The :canonical: option causes "more than one target for
cross-reference" warning because the class having the same name is
registered.
2021-05-11 01:15:14 +09:00
Takeshi KOMIYA
204f86f736
py domain: Add py:property directive to describe a property (refs: #7068 )
2021-03-11 01:56:39 +09:00
Takeshi KOMIYA
a3df1d00c7
test: Add testcase for relative/short xref for py domain
2021-01-11 03:12:39 +09:00
Takeshi KOMIYA
d7cab2ebfa
test: Add testcase for special case of PythonDomain.find_obj()
2020-03-07 02:18:10 +09:00
Takeshi KOMIYA
33fcd393ab
Fix #6785 : py domain: :py:attr: is able to refer properties again
2020-01-25 13:55:27 +09:00
Takeshi KOMIYA
9afe93d8f6
refactor: test: Remove unused settings from conf.py
2019-02-14 02:21:07 +09:00
Takeshi KOMIYA
114ff77f68
test: Omit master_doc settings from testcases
2019-01-03 10:58:42 +09:00
Takeshi KOMIYA
5428d94d24
Remove coding magic comments from tests
2019-01-02 21:53:07 +09:00
Takeshi KOMIYA
c0fffb9e8b
Fix #5432 : py domain: :type: field can't process :term: references
2018-09-22 15:24:14 +09:00
Takeshi KOMIYA
7e7b389eed
Merge branch 'stable'
2017-10-23 12:23:58 +09:00
Takeshi KOMIYA
ffad4f08c7
Fix #3739 : `:module:
` option is ignored at content of pyobjects
2017-10-21 21:37:44 +09:00
Sam Park
7020f6b41d
Add tests
2017-07-15 15:18:49 -07:00
Takeshi KOMIYA
4104b93c6e
Fix #3320 : Warning about reference target not being found for container types
2017-05-13 15:03:11 +09:00
Anthony Johnson
3502336b13
Add tests for xrefs on Python and JavaScript domains
...
These are just the passing test cases for the domains currently. I am going to
patch up issues with nesting on both domains to start, so these are the test
cases I'll be testing against. I'll see about addressing the other core
domains, or at very least the cpp domain, with similar tests if this looks
okay.
So far, these tests only test against methods/functions for the basic nesting
structure. More complete tests will test additional domain roles.
Refs #662
2017-03-05 16:00:25 -08:00