Jakob Lykke Andersen
ceb72a78b8
C++, fix parsing of initializers
...
Specifically, add parsing of braced-init-list.
See also michaeljones/breathe#425
2019-03-16 18:23:07 +01:00
Takeshi KOMIYA
b691fa804d
Fix test: filename has been smallcased since 2.0
2019-03-10 17:07:15 +09:00
Takeshi KOMIYA
4bac6b56d0
Merge branch '1.8' into 2.0
2019-03-10 16:52:51 +09:00
Takeshi KOMIYA
fc99687105
Fix #3859 : manpage: code-block captions are not displayed correctly
2019-03-10 12:40:55 +09:00
Takeshi KOMIYA
cf74a71848
Merge branch '2.0' into 2155_code_directive
2019-03-10 12:05:26 +09:00
Takeshi KOMIYA
05d3e37ef7
Fix #6149 : LaTeX: :index: role titles causes build error of LaTeX
2019-03-10 02:07:02 +09:00
Takeshi KOMIYA
d7024fe996
Merge branch '1.8' into 2.0
2019-03-09 18:12:33 +09:00
Takeshi KOMIYA
f61a5f91f7
Fix test: imgconverter expects size of images fixed
2019-03-09 18:04:40 +09:00
Takeshi KOMIYA
57ecc5733e
Fix AssertionError is raised for custom citation_reference node (refs: #6147 )
...
AssertionError is raised when custom ``citation_reference`` node
having classes attribute refers missing citation (refs: #6147 )
2019-03-09 15:46:03 +09:00
Takeshi KOMIYA
65970a3033
Fix #6140 : Use unittest.mock instead of mock
2019-03-09 15:16:04 +09:00
Martin Packman
71dec3b38e
Fix UnboundLocalError when building changes
...
Split testing of changes builder to its own test file and root.
Improve coverage a little, and add case that fails if a module
directive is included in the rst source.
Correctly handle changesets with a module declared.
Fixes https://github.com/sphinx-doc/sphinx/issues/6134
2019-03-08 13:30:27 +00:00
Takeshi KOMIYA
c4a45b4a01
Close #2155 : Support `code` directive
2019-03-03 19:55:31 +09:00
Takeshi KOMIYA
bde9cab7fe
Add sphinx.testing.restructuredtext.parse()
2019-03-03 19:55:31 +09:00
Takeshi KOMIYA
1892eac4b9
test: replace emph_literal_role() by EmphasizedLiteral
2019-03-03 14:24:32 +09:00
Takeshi KOMIYA
ac9e9c0745
Merge branch '1.8' into 2.0
2019-03-02 18:37:20 +09:00
Takeshi KOMIYA
9c2e7b6798
Fix #6067 : LaTeX: images having a target are not aligned even if specified
2019-02-28 02:05:21 +09:00
Takeshi KOMIYA
6c244bdd69
Fix #6067 : LaTeX: images having a target are concatenated to next line
2019-02-28 02:04:12 +09:00
Takeshi KOMIYA
ec30799617
Revert "C++, conditionally disable test on sys.maxunicode"
...
This reverts commit 2a544b4ec3 .
2019-02-27 23:29:17 +09:00
Takeshi KOMIYA
2745f1e156
Merge pull request #5508 from jdknight/bugfix/allow-applying-linenos-with-post-transform
...
directive-code: do not force linenos value on run
2019-02-24 20:37:22 +09:00
Takeshi KOMIYA
524ac7ff0a
Fix #6096 : html: Anchor links are not added to figures
2019-02-24 19:29:12 +09:00
Takeshi KOMIYA
fa022fa377
Merge pull request #6086 from tk0miya/separate_serializinghtml
...
Separate json and pickle to sphinxcontrib package
2019-02-17 22:40:12 +09:00
Takeshi KOMIYA
8a391d1781
Merge branch '1.8'
2019-02-17 22:37:23 +09:00
Takeshi KOMIYA
1ca210aab1
Separate json and pickle to sphinxcontrib package
2019-02-17 22:31:50 +09:00
Takeshi KOMIYA
90bf81bd37
test: Use get_doctree() to load doctree files
2019-02-17 20:27:48 +09:00
Takeshi KOMIYA
08cd23a0bb
Fix #6047 : autodoc: `autofunction` emits a warning for method objects
2019-02-17 18:23:14 +09:00
James Knight
3858a62814
test: verify linenothreshold usage
...
Adding a unit test to verify the use of the `linenothreshold` option
provided by the `highlight` directive [1]. The included document to test
will introduce two sets of `code-block` and `literalinclude` directives
where the first entry generates contents using line numbers and the
second entry generates contents not using line numbers, respectfully.
[1]: https://github.com/sphinx-doc/sphinx/blob/v1.8.4/sphinx/transforms/post_transforms/code.py#L85
Signed-off-by: James Knight <james.d.knight@live.com >
2019-02-16 22:14:30 -05:00
Takeshi KOMIYA
63ccc34475
Merge pull request #6082 from tk0miya/refactor_XRefRole
...
refactor XRefRole using ReferenceRole class
2019-02-16 23:42:10 +09:00
Takeshi KOMIYA
5437ab61e9
Merge pull request #6074 from tk0miya/1148_autodecorator
...
Closes #1148 : autodoc: Add autodecorator directive for decorators
2019-02-16 21:45:36 +09:00
Takeshi KOMIYA
1ece29597e
Merge branch 'master' into simplify_conf.py
2019-02-16 21:25:21 +09:00
Takeshi KOMIYA
61f1477942
Add testcase for XRefRole class
2019-02-16 21:23:01 +09:00
Takeshi KOMIYA
6748a6de2f
Add testcase for download role
2019-02-16 21:23:01 +09:00
Takeshi KOMIYA
3ec032fa39
Replace :file: and :samp: roles by class based implementation
2019-02-16 12:37:46 +09:00
Takeshi KOMIYA
ea4d8ca08d
Replace :guilabel: and :menuselection: roles by class based implementation
2019-02-16 02:30:28 +09:00
Takeshi KOMIYA
1660269d01
Fix a test
2019-02-16 01:55:58 +09:00
Takeshi KOMIYA
cb49a6b091
Fix :pep: and :rfc: roles are broken
2019-02-16 01:47:52 +09:00
Takeshi KOMIYA
686486498c
Closes #1148 : autodoc: Add autodecorator directive for decorators
2019-02-15 02:14:38 +09:00
Takeshi KOMIYA
3b49f9fe3d
Separate htmlhelp to sphinxcontrib package
2019-02-15 01:44:32 +09:00
Takeshi KOMIYA
cd542fb2af
Merge pull request #6061 from tk0miya/reduce_warnings_of_rootcase
...
test: Reduce warnings on building test-root
2019-02-14 22:24:27 +09:00
Takeshi KOMIYA
9afe93d8f6
refactor: test: Remove unused settings from conf.py
2019-02-14 02:21:07 +09:00
Takeshi KOMIYA
891178e8ed
test: Reduce warnings on building test-root
...
Note: all warnings are tested on test-warnings.
2019-02-14 02:20:55 +09:00
Takeshi KOMIYA
3e7113c4c6
Fix test_ext_autosectionlabel conflicts with HTML5 writer
2019-02-14 02:13:14 +09:00
Takeshi KOMIYA
550c88f98c
Merge pull request #6064 from tk0miya/5636_add_autosummary_mock_imports
...
Closes #5635 : autosummary: Add autosummary_mock_imports to mock external libraries
2019-02-14 01:13:04 +09:00
Takeshi KOMIYA
1dfddb52ff
Merge pull request #6063 from tk0miya/4261_autosectionlabel_max_depth
...
Add autosectionlabel_max_depth config option
2019-02-14 01:12:05 +09:00
Takeshi KOMIYA
73b8d6ff33
Closes #5636 : autosummary: Add autosummary_mock_imports to mock external libraries
2019-02-11 23:19:25 +09:00
Takeshi KOMIYA
ac399b3b4e
refactor tests for autosectionlabel
2019-02-11 18:34:04 +09:00
Takeshi KOMIYA
2d44232e34
Fix autosectionlabel_maxdepth is 0 origin
2019-02-11 18:33:42 +09:00
Takeshi KOMIYA
4250b197c5
autosectionlabel: Rename confval to autosectionlabel_maxdepth
2019-02-11 18:21:41 +09:00
Takeshi KOMIYA
7770940af8
Merge branch 'master' into 4261_autosectionlabel_max_depth
2019-02-11 17:53:50 +09:00
Takeshi KOMIYA
a3cdd465ec
HTML builder outputs HTML5 by default
2019-02-11 17:46:56 +09:00
Takeshi KOMIYA
54be6ae494
Merge pull request #6053 from tk0miya/5459_autodoc_default_options_accepts_True
...
Closes #5459 : autodoc: autodoc_default_options accepts True as a value
2019-02-11 12:48:43 +09:00