Commit Graph

13017 Commits

Author SHA1 Message Date
Takeshi KOMIYA
035d5507f0
Merge pull request #6332 from tk0miya/rest_renderer
Add ReSTRenderer; a helper for rendering reST text
2019-05-03 23:15:35 +09:00
Takeshi KOMIYA
d960f2265d Add ReSTRenderer 2019-05-02 19:32:57 +09:00
Takeshi KOMIYA
662389b8b0 Add rst.heading() 2019-05-02 19:32:57 +09:00
Takeshi KOMIYA
1039937188
Merge pull request #6322 from jdufresne/cgi-escape
Deprecate EpubBuilder.esc() in favor of stdlib html.escape()
2019-04-25 10:37:41 +09:00
Jon Dufresne
ee23a29b3c Deprecate EpubBuilder.esc() in favor of stdlib html.escape()
Available since Python 3.2.

https://docs.python.org/3/library/html.html#html.escape
2019-04-23 19:34:55 -07:00
Takeshi KOMIYA
de0c44196e
Merge pull request #6321 from tk0miya/6317_docstring
Add docstring to pycode.parser
2019-04-24 01:46:12 +09:00
Takeshi KOMIYA
877ddd795e Add docstring to pycode.parser 2019-04-24 01:35:10 +09:00
Takeshi KOMIYA
b49ef12e6a
Merge pull request #6295 from tk0miya/refactor_py_domain4
autodoc: Support coroutine (refs: #4777)
2019-04-24 00:23:55 +09:00
jfbu
80e50c1938 Fix template mark-up (refs: #6308) 2019-04-23 15:12:36 +02:00
Takeshi KOMIYA
435ef05b99 Close #4777: autodoc: Support coroutine 2019-04-23 01:55:48 +09:00
Takeshi KOMIYA
a765c2e4ab Add sphinx.util.inspect:iscoroutinefunction() 2019-04-23 01:40:37 +09:00
Takeshi KOMIYA
a77613fcfa pycode: Support "async" syntax 2019-04-23 01:40:37 +09:00
Takeshi KOMIYA
e0abb10792 Fix #4777: Add :async: option to py:function and py:method directives 2019-04-23 01:40:37 +09:00
Takeshi KOMIYA
30d7d58ace
Merge pull request #6290 from tk0miya/refactor_py_domain2
Add :classmethod: and :staticmethod: options to py:method directive
2019-04-23 01:28:48 +09:00
Takeshi KOMIYA
a285220778
Merge branch '2.0' into refactor_py_domain2 2019-04-23 01:16:42 +09:00
Takeshi KOMIYA
de7646bce8
Merge pull request #6307 from tk0miya/6283_warning_message_for_source_suffix
Update deprecation message for source_suffix (refs: #6283)
2019-04-19 13:15:29 +09:00
Takeshi KOMIYA
e9e8fd264b
Merge pull request #6308 from tk0miya/imgmath_template
imgmath: Use template file for LaTeX
2019-04-19 13:13:37 +09:00
Takeshi KOMIYA
114f73435b refactor: Make app argument for EventManager optional to keep compatibility 2019-04-16 14:06:47 +09:00
Takeshi KOMIYA
06f86b0639 Make EventManager portable
So far, we need to bypass application object for modules to emit
a event.  This make EventManager portable and easy to pass event
emitter.  This brings modules less coupled with application object.
2019-04-16 14:06:36 +09:00
Takeshi KOMIYA
aabeb71123 imgmath: Use template file for LaTeX 2019-04-16 01:38:31 +09:00
Takeshi KOMIYA
8e0da4ee38 Update deprecation message for source_suffix (refs: #6283) 2019-04-16 00:07:09 +09:00
Takeshi KOMIYA
419f2e5fc9
Merge pull request #6302 from tk0miya/refactor_rst_domain5
refactor: separate ReSTMarkup.get_index_text() to subclasses
2019-04-15 22:32:48 +09:00
Takeshi KOMIYA
d7025cd1a7 Update CHANGES for PR #6289 2019-04-15 10:25:31 +09:00
Takeshi KOMIYA
cc7a81419f
Merge pull request #6289 from alsrgv/add_imported_members_directive
Add imported-members to the directive whitelist
2019-04-15 10:24:08 +09:00
Alex Sergeev
98691baf85 Address comments 2019-04-14 10:47:50 -10:00
Takeshi KOMIYA
4f1aa2c329 Update CHANGES for PR #6288 2019-04-14 19:34:13 +09:00
Takeshi KOMIYA
ff9fc7417f
Merge pull request #6288 from alsrgv/autodoc_bound_method
Add support for bound methods posing as functions in the module
2019-04-14 19:33:12 +09:00
Takeshi KOMIYA
c26d5d7ecd refactor: separate ReSTMarkup.get_index_text() to subclasses
According to the principle, the parent class; ReSTMarkup should not
know about children.
2019-04-14 19:19:08 +09:00
Takeshi KOMIYA
2af2f10369
Merge pull request #6297 from tk0miya/isattributedescriptor
Add sphinx.util.inspect:isattributedescriptor()
2019-04-14 19:01:57 +09:00
Takeshi KOMIYA
ad78846883
Merge pull request #6301 from tk0miya/refactor_rst_domain
refactor: rst domain: Add objects property and note_object() method
2019-04-14 19:01:17 +09:00
Takeshi KOMIYA
3aa78c85d6
Merge pull request #6300 from tk0miya/refactor_rst_domain2
Fix #6299: rst:directive directive generates waste space
2019-04-14 19:00:41 +09:00
Takeshi KOMIYA
ddf7a9b0da refactor: rst domain: Add objects property and note_object() method 2019-04-14 18:34:08 +09:00
Takeshi KOMIYA
1900c729a3 Fix #6299: rst:directive directive generates waste space 2019-04-14 18:32:40 +09:00
Alex Sergeev
b7f6657dd1 Address feedback 2019-04-13 22:09:01 -10:00
Alex Sergeev
15daf84f1a Add support for bound methods posing as functions in the module 2019-04-13 20:57:24 -10:00
Alex Sergeev
4bad5bd419 Address feedback 2019-04-13 20:54:20 -10:00
Alex Sergeev
0f0ca79e06 Add imported-members to the directive whitelist 2019-04-13 20:50:30 -10:00
Takeshi KOMIYA
11a4e47d62
Merge pull request #6277 from tk0miya/6271_make_clean
Fix #6271: make clean is catastrophically broken if building into '.'
2019-04-14 02:17:56 +09:00
Takeshi KOMIYA
d41cae328e Add sphinx.util.inspect:isattributedescriptor() 2019-04-14 02:16:17 +09:00
Takeshi KOMIYA
91fac1a0c3
Merge pull request #6296 from tk0miya/refactor_rst_domain4
Add testcases for rst domain
2019-04-14 00:32:04 +09:00
Takeshi KOMIYA
830da28e42 Add testcases for rst domain 2019-04-14 00:20:50 +09:00
Takeshi KOMIYA
aca8122d04 autodoc: Use new options for py:method directive 2019-04-13 23:50:07 +09:00
Takeshi KOMIYA
331594e2ca Add :classmethod: and :staticmethod: options to py:method directive 2019-04-13 23:14:59 +09:00
Takeshi KOMIYA
dbdf9a3599
Merge pull request #6294 from tk0miya/refactor_test_util_inspect
refactor: Move subject of inspection to rootdir
2019-04-13 23:10:24 +09:00
Takeshi KOMIYA
4aecac8251 refactor: Move subject of inspection to rootdir 2019-04-13 22:48:49 +09:00
Takeshi KOMIYA
9d95429a5c
Merge pull request #6293 from tk0miya/refactor_util_inspect
refactor: sphinx.util.inspect module provides inspect.is* functions
2019-04-13 22:32:12 +09:00
Takeshi KOMIYA
86e7fcb57f refactor: sphinx.util.inspect module provides inspect.is* functions 2019-04-13 22:15:54 +09:00
Takeshi KOMIYA
bc1dc9930a
Merge pull request #6291 from tk0miya/test_util_inspect2
Add testcases for sphinx.util.inspect
2019-04-13 21:05:09 +09:00
Takeshi KOMIYA
395be956de
Merge pull request #6292 from tk0miya/refactor_py_domain5
Add PyFunction and PyVariable; directives for python functions and variables
2019-04-13 20:46:35 +09:00
Takeshi KOMIYA
6af3896103 Add PyFunction and PyVariable; directives for python functions and variables 2019-04-13 20:26:07 +09:00