Takeshi KOMIYA
729efd28b0
py domain: Generate node_id for objects in the right way
2020-03-07 02:00:50 +09:00
Takeshi KOMIYA
5ff3b9dc4d
py domain: Generate node_id for modules in the right way
2020-03-07 01:48:17 +09:00
Takeshi KOMIYA
b3b0d3ad2c
refactor: latex: Move initialization of multilingual module to builder
2020-03-07 01:13:23 +09:00
Takeshi KOMIYA
5a848e3d9d
Merge pull request #7230 from tk0miya/refactor_std_domain
...
std domain: Generate node_id for objects in the right way
2020-03-07 00:11:16 +09:00
Takeshi KOMIYA
cdbefb600f
Support user defined LaTeX themes
2020-03-06 22:11:25 +09:00
Takeshi KOMIYA
4ab4100cc5
test: Add testcases for latex docclasses
2020-03-06 22:11:08 +09:00
Takeshi KOMIYA
c0535d700e
std domain: Generate node_id for productionlists in the right way
2020-03-06 02:10:04 +09:00
Takeshi KOMIYA
b5aa3ca1ac
Merge branch '3.x' into 7005_kbd_for_latex
2020-03-05 23:47:07 +09:00
Takeshi KOMIYA
34057601f4
Close #7165 : autodoc: Support Annotated type (PEP-593)
2020-03-03 00:14:24 +09:00
Takeshi KOMIYA
fbfaf41e83
std domain: Generate node_id for generic objects in the right way
2020-03-02 01:28:01 +09:00
Takeshi KOMIYA
95b98d97d5
test: clean up
2020-03-01 17:44:10 +09:00
Takeshi KOMIYA
64d51a17aa
Merge pull request #7103 from westurner/linkcheck_json_output
...
ENH: linkcheck: also write all links to output.json
2020-03-01 17:43:03 +09:00
Takeshi KOMIYA
ff4352e794
rst domain: Generate node_id for objects in the right way
2020-03-01 10:53:08 +09:00
Takeshi KOMIYA
e3c8e88132
Merge branch '3.x' into 7220_main_indexentries
2020-03-01 02:02:12 +09:00
Takeshi KOMIYA
8f647643fb
js domain: Generate node_id for objects in the right way
2020-03-01 01:46:18 +09:00
Takeshi KOMIYA
0132aa527f
Close #7220 : genindex: Show "main" index entries at first
2020-02-29 18:51:09 +09:00
Takeshi KOMIYA
e6dc20b95d
Merge pull request #7231 from tk0miya/refactor_py_domain
...
Add testcase for modindex_common_prefix
2020-02-29 18:46:39 +09:00
Takeshi KOMIYA
0465c1a7ad
Add testcase for modindex_common_prefix
2020-02-29 18:23:58 +09:00
Takeshi KOMIYA
de52e77bc0
refactor: Set source_info to nodes
2020-02-29 17:00:58 +09:00
Terence D. Honles
90de551d4c
Fix: autodoc: __wrapped__ functions are not documented correctly
...
Functions that are decorated with `@lru_cache` or other `functools`
decorators may not even be detected as a function. This results in the
documentation not having the `()` or even trying to render the function
signature.
This change updates the `sphinx.util.inspect` code to unwrap
`__wrapped__` functions before determining if they can be documented.
`@lru_cache` and its associated test is an example of a decorated
function that is incorrectly identified as an attribute rather than a
module level function and when rendering the signature (upon changing
`isattributedescriptor`) the decorated function is still incorrectly
identified as a C function.
This change also renames the newly introduced `unwrap` as `unwrap_all`
because it is different than the prexisting Python supplied
`inspect.unwrap`.
See `update_wrapper` "Changed in version 3.4" for more background:
https://docs.python.org/3/library/functools.html#functools.update_wrapper
2020-02-27 16:27:41 -08:00
Takeshi KOMIYA
01eff916d1
Fix missing commas after PEP-570 separators
2020-02-24 02:03:15 +09:00
Takeshi KOMIYA
d7faadf848
Merge pull request #7201 from tk0miya/deprecation_warning
...
Stop to use Path.text()
2020-02-23 14:37:49 +09:00
Takeshi KOMIYA
7216c1945b
Stop to use Path.text()
2020-02-23 12:53:31 +09:00
Takeshi KOMIYA
bfce1a71f6
Merge pull request #7087 from geographika/named-index-links
...
Add name option for the index directive
2020-02-23 12:27:57 +09:00
Takeshi KOMIYA
665458561f
fix
2020-02-23 01:41:31 +09:00
sethg
b469cc104e
Review updates
2020-02-22 16:23:05 +01:00
sethg
d761c81d60
Implement review changes
2020-02-22 16:02:55 +01:00
sethg
86f79af799
Add checks for references
2020-02-22 14:25:14 +01:00
sethg
8a5a00d06c
Add basic syntax test for index :name:
2020-02-22 14:12:27 +01:00
Takeshi KOMIYA
754d04f80d
Merge branch '2.4.x' into 3.x
2020-02-22 19:22:31 +09:00
Takeshi KOMIYA
db20d923d1
Merge branch '7144_styling_desc_by_domainname' into 3.x
2020-02-22 18:42:04 +09:00
Takeshi KOMIYA
9db38aadfd
Fix #3106 : domain: Register hyperlink target for index page automatically
2020-02-22 18:20:12 +09:00
Takeshi KOMIYA
b162273962
Merge pull request #7064 from tk0miya/7025_nosearch
...
Close #7025 : html search: full text search can be disabled via metadata
2020-02-22 17:53:01 +09:00
Takeshi KOMIYA
8987f3c031
Merge pull request #7062 from tk0miya/7032_no-scaled_link
...
Close #7032 : html_scaled_image_link is disabled for individual image
2020-02-22 17:38:04 +09:00
Takeshi KOMIYA
30b0361f9c
Close #7025 : html search: full text search can be disabled via metadata
2020-02-22 17:34:44 +09:00
Takeshi KOMIYA
56eca39cbb
Fix a testcase: lambda function renderer has been changed in 3.x
2020-02-22 17:04:05 +09:00
Takeshi KOMIYA
6a439c0bd6
Merge pull request #7155 from tk0miya/function_signature2
...
py domain: Use AST parser to convert signature to doctree
2020-02-22 16:35:59 +09:00
Takeshi KOMIYA
9b06f4012c
Merge pull request #7159 from tk0miya/render_lambda_in_signature
...
py domain: Support lambda functions in function signature
2020-02-22 15:23:07 +09:00
Takeshi KOMIYA
53e93c9c90
Merge branch '2.4.x' into 7183_attr_ref_over_intersphinx
2020-02-22 13:10:47 +09:00
Takeshi KOMIYA
2db006a0af
Fix #7183 : intersphinx: `:attr:` reference to property is broken
2020-02-22 01:28:13 +09:00
Takeshi KOMIYA
2fec37219f
Fix #7189 : autodoc: classmethod coroutines are not detected
2020-02-22 00:49:45 +09:00
Takeshi KOMIYA
a033d53c24
Close #7032 : html_scaled_image_link is disabled for individual image
2020-02-18 01:48:11 +09:00
Takeshi KOMIYA
333596dc10
Close #7144 : Add CSS class indicating its domain for each desc node
2020-02-16 22:31:12 +09:00
Takeshi KOMIYA
63ece93473
Merge pull request #7163 from tk0miya/fix_DeprecationWarning
...
Fix DeprecationWarnings on testing
2020-02-16 21:45:29 +09:00
Takeshi KOMIYA
954db2bd27
Merge branch '2.0'
2020-02-16 21:42:20 +09:00
Takeshi KOMIYA
7e79822355
Remove testscases for getargspec() (deprecated)
2020-02-16 21:22:23 +09:00
Takeshi KOMIYA
0e2e31a612
test: Fix ResourceWarning
2020-02-16 20:44:38 +09:00
Takeshi KOMIYA
ccd7381d38
test: Use Path.read_text() instead
2020-02-16 20:43:51 +09:00
Takeshi KOMIYA
57d63ab50b
test: testcase for add_lexer() should give a Lexer class instead of instance
2020-02-16 20:42:43 +09:00
Takeshi KOMIYA
a70c76c474
Remove a testcase for get_module_source() (deprecated)
2020-02-16 20:40:15 +09:00