Takeshi KOMIYA
c59f2d9545
Add sphinx.util.inspect:isproperty()
2019-05-12 15:53:39 +09:00
Takeshi KOMIYA
a142a654fc
Add :property: option to py:method directive
2019-05-12 15:53:39 +09:00
Takeshi KOMIYA
0d1a66996b
Merge pull request #6355 from tk0miya/declare_pytest_markers
...
test: declare pytest markers
2019-05-12 15:34:49 +09:00
Takeshi KOMIYA
a38ce3bfc7
test: declare pytest markers
...
To stop PytestUnknownMarkWarning, this declares markers on setup.cfg
https://docs.pytest.org/en/latest/mark.html
2019-05-12 15:21:04 +09:00
Takeshi KOMIYA
c27373ad76
Merge pull request #6341 from tk0miya/4550_centering_tables_using_css
...
Fix #4550 : html: Centering tables by default using CSS
2019-05-12 13:33:37 +09:00
Takeshi KOMIYA
b5cb9b4ca4
Merge pull request #6343 from tk0miya/6331_invalid_manpage_for_rubric
...
Fix #6331 : man: invalid output when doctest follows rubric
2019-05-06 21:45:21 +09:00
Takeshi KOMIYA
dc1c5fee70
Fix #6331 : man: invalid output when doctest follows rubric
2019-05-06 21:27:43 +09:00
Takeshi KOMIYA
a9b3ec5322
Merge pull request #6338 from tk0miya/template_for_apidoc
...
refactor apidoc: Add templates for generating reST files
2019-05-06 21:08:30 +09:00
Takeshi KOMIYA
2b8c76c6c2
Merge pull request #6342 from tk0miya/refactor_test_inheritance_diagram
...
Merge test_ext_inheritance.py to test_ext_inheritance_diagram.py
2019-05-06 20:47:00 +09:00
Takeshi KOMIYA
8c37f1f482
Merge test_ext_inheritance.py to test_ext_inheritance_diagram.py
2019-05-06 20:22:06 +09:00
Takeshi KOMIYA
107c20a11f
Fix #4550 : html: Centering tables by default using CSS
2019-05-06 20:19:53 +09:00
Jean-François B
2c68bba44c
Merge pull request #6339 from jfbu/imgmath_template_cleanup
...
imgmath: Replace utf8x by utf8 in templates for latex snippets
2019-05-06 12:39:12 +02:00
jfbu
f8c3c74638
imgmath: Replace utf8x by utf8 in templates for latex snippets
2019-05-06 12:31:21 +02:00
Takeshi KOMIYA
993116f9b3
Merge pull request #6337 from tk0miya/6336_docs_extra
...
Add extra requirements for docs (refs: #6336 )
2019-05-04 18:49:52 +09:00
Takeshi KOMIYA
fa560ebf95
apidoc: Deprecate unused functions
2019-05-04 18:42:22 +09:00
Takeshi KOMIYA
b93f53c7e4
apidoc: Use a template for generating package file
2019-05-04 18:42:22 +09:00
Takeshi KOMIYA
e41d6f3651
apidoc: Use a template for generating toc file
2019-05-04 17:19:31 +09:00
Takeshi KOMIYA
b482e38ca2
apidoc: Use a template for generating module file
2019-05-04 17:19:31 +09:00
Takeshi KOMIYA
00a5aa7301
Add extra requirements for docs (refs: #6336 )
2019-05-04 12:42:17 +09:00
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