Commit Graph

13072 Commits

Author SHA1 Message Date
Takeshi KOMIYA
048fd3d09c
Merge pull request #6368 from tk0miya/refactor_autodoc
Reduce warnings of autodoc in 2.0 branch
2019-05-15 00:35:25 +09:00
Takeshi KOMIYA
45ebbc6e86
Merge pull request #6367 from tk0miya/refactor_docs
Fix modname of HTMLHelpBuilder
2019-05-15 00:34:18 +09:00
Takeshi KOMIYA
0489fad63a Do not emit warning for Documenter.format_args() 2019-05-15 00:10:00 +09:00
Takeshi KOMIYA
db4dd6c9f9 Fix FakeDirective emits warnings 2019-05-15 00:09:58 +09:00
Takeshi KOMIYA
64eacb30a8 Fix modname of HTMLHelpBuilder 2019-05-15 00:08:27 +09:00
Takeshi KOMIYA
af9df449ea Update CHANGES for PR #6358 2019-05-14 22:32:05 +09:00
Takeshi KOMIYA
c1b30c1204
Merge pull request #6358 from cpitclaudel/production_rawsource
productionlist: Put the full production in production.rawsource
2019-05-14 22:30:38 +09:00
Clément Pit-Claudel
44c8a3b982 productionlist: Put the full production in production.rawsource
This makes it possible to iterate over the productions and see exactly the text
that was entered by the author, which is useful to e.g. extract information from
the grammar (like syntax-highlighting patterns).
2019-05-13 23:21:55 -04:00
Takeshi KOMIYA
55554b0ead Update CHANGES for PR #6363 2019-05-13 23:59:23 +09:00
Takeshi KOMIYA
6e32bb7042
Merge pull request #6363 from bskinn/6323_makebat_o_opt
Add %O% option to make.bat template; update docs
2019-05-13 23:57:38 +09:00
Brian Skinn
0dbdae3159 Add %O% option to make.bat templates; update docs
The make.bat_t and make.bat.new_t templates now pass %O% as well as
%SPHINXOPTS% to `sphinx-build`, in parity with Makefile.new_t.

The sphinx-build documentation page was updated to explicitly note
$(O) and %O% as shortcut variables.

Closes #6323, per the comment thread discussion.
2019-05-13 10:44:27 -04:00
Takeshi KOMIYA
774c59821c
Merge pull request #6353 from tk0miya/6311_autosummary_confused_by_complex_typehints2
Fix #6311: autosummary: autosummary table gets confused by complex type hints
2019-05-13 21:51:11 +09:00
Takeshi KOMIYA
59d0f076ec
Merge branch '2.0' into 6311_autosummary_confused_by_complex_typehints2 2019-05-13 21:16:43 +09:00
jfbu
3e5adaa225 Update CHANGES for #6303 2019-05-13 15:03:53 +09:00
jfbu
7cc1ebd28e Partially revert #6232, synchronize new Makefile with old (refs: #4092) 2019-05-13 15:00:32 +09:00
Takeshi KOMIYA
416426dfb7
Merge pull request #6356 from tk0miya/foldlines
Add utils/doclinter.py; a documenter linter for Sphinx
2019-05-13 14:39:01 +09:00
Takeshi KOMIYA
27a9a3b678
Merge pull request #6359 from tk0miya/refactor_py_domain
refactor get_members() in autosummary
2019-05-13 14:37:03 +09:00
Takeshi KOMIYA
8df362154e
Merge pull request #6314 from tk0miya/refactor_rst_domain3
Add rst:directive:option directive
2019-05-13 14:29:32 +09:00
Takeshi KOMIYA
ca605c7437 Add :type: option for rst:directive:option directive 2019-05-13 14:14:14 +09:00
Takeshi KOMIYA
4307dec3ac Add rst:directive:option directive 2019-05-13 13:55:56 +09:00
Takeshi KOMIYA
743607d497 refactor get_members() in autosummary 2019-05-13 13:53:10 +09:00
Takeshi KOMIYA
e32a610d7a
Merge pull request #6320 from tk0miya/refactor_py_domain3
Support property (autodoc, py-domain)
2019-05-13 13:49:15 +09:00
Takeshi KOMIYA
19a006f620
Merge branch '2.0' into refactor_py_domain3 2019-05-12 18:29:05 +09:00
Takeshi KOMIYA
fa00458f4f docs: Fold lines by 80 chars 2019-05-12 17:57:38 +09:00
Takeshi KOMIYA
5d2c8e6eb7 Add utils/doclinter.py; a documenter linter for Sphinx 2019-05-12 17:57:25 +09:00
Takeshi KOMIYA
935d1ad0af
Merge pull request #6201 from tk0miya/6165_tab_width
Fix #6165: autodoc: ``tab_width`` setting of docutils has been ignored
2019-05-12 17:19:55 +09:00
Takeshi KOMIYA
d329f4e00b Update CHANGES for PR #6306 2019-05-12 17:10:49 +09:00
Omer Katz
e08e7b05d3 Add a label to search input for accessability purposes. 2019-05-12 17:09:18 +09:00
Takeshi KOMIYA
1e0a377279
Merge branch '2.0' into 6165_tab_width 2019-05-12 17:06:49 +09:00
Takeshi KOMIYA
c0d799d670
Merge pull request #6354 from tk0miya/6351_hyperlink_target_is_not_referenced
Fix #6351: "Hyperlink target is not referenced" message is shown even if referenced
2019-05-12 17:06:10 +09:00
Takeshi KOMIYA
1ae0573c4c
Merge pull request #6326 from tk0miya/refactor_highlighting
Refactor sphinx.highlighting
2019-05-12 17:03:01 +09:00
Takeshi KOMIYA
ab668396fc Fix #6351: "Hyperlink target is not referenced" message is shown even if referenced 2019-05-12 16:07:04 +09:00
Takeshi KOMIYA
e0747684b1 refactor: Add PygmentsBridge.get_style() and .get_lexer() 2019-05-12 16:01:41 +09:00
Takeshi KOMIYA
b708f7b82f autodoc: Add PropertyDocumenter to detect properties 2019-05-12 15:59:57 +09:00
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
d290dfd7e9 Fix #6311: autosummary: autosummary table gets confused by complex type hints 2019-05-12 14:53:25 +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