Commit Graph

2646 Commits

Author SHA1 Message Date
Takeshi KOMIYA
6af3896103 Add PyFunction and PyVariable; directives for python functions and variables 2019-04-13 20:26:07 +09:00
Takeshi KOMIYA
fcc964b66f Add PyAttribute class; a directive for python attribute description 2019-04-07 22:40:08 +09:00
Takeshi KOMIYA
c8334705ca Add PyClassMethod and PyStaticMethod; directives for python method description 2019-04-07 22:39:27 +09:00
Takeshi KOMIYA
dd6c79476f Add PyMethod class; a directive for python method description 2019-04-07 22:39:27 +09:00
Takeshi KOMIYA
f91393f9ef Fix commented term in glossary directive is wrongly recognized 2019-04-06 15:08:22 +09:00
Takeshi KOMIYA
b9153ef027 Merge branch '2.0.1' into 2.0 2019-04-05 02:00:24 +09:00
Jakob Lykke Andersen
dbd78ac806
Merge branch '2.0.1' into cpp_fix_xref_parsing 2019-04-04 18:39:25 +02:00
Takeshi KOMIYA
6cb263b9c8
Merge pull request #6212 from tsanikgr/feature/autosummary_imported_members
Allow setting imported_members for autosummary in conf.py
2019-04-04 23:04:36 +09:00
Jakob Lykke Andersen
89a6d41ed0 C++, fix parsing of full xrefs.
Fixes sphinx-doc/sphinx#6208
2019-04-01 08:41:38 +02:00
Takeshi KOMIYA
20c177c575
Merge pull request #6231 from tk0miya/6230_glossary_term_id
Fix #6230: Inappropriate node_id has been generated by glossary directive
2019-03-31 23:59:41 +09:00
Takeshi KOMIYA
8e356c3bf4 Fix #6220, #6225: napoleon: AttributeError is raised for raised section having references 2019-03-31 22:25:06 +09:00
Takeshi KOMIYA
267e7e5c16 Merge branch '2.0.1' into 2.0 2019-03-31 20:50:07 +09:00
Takeshi KOMIYA
cda4642bc1 Fix #6230: Inappropriate node_id has been generated by glossary directive 2019-03-31 16:14:51 +09:00
Takeshi KOMIYA
e8caf6ae42 refactor: test_environment_indexentries
To test IndexEntriesCollector also, new testcases parses reST text
and builds indexentries.
2019-03-31 13:19:55 +09:00
Takeshi KOMIYA
bd903c8904 Show deprecation warning for sphinx.application.CONFIG_FILENAME 2019-03-30 14:48:05 +09:00
Takeshi KOMIYA
a99d749c56
Merge pull request #6206 from tk0miya/refactor_glossary2
Refactoring glossary directive
2019-03-30 00:54:23 +09:00
Takeshi KOMIYA
e008da9926 Merge branch '2.0' 2019-03-29 00:30:09 +09:00
tsanikgr
bec116a3b6 #5877: Allow setting imported_members for autosummary in conf.py 2019-03-27 14:19:16 +00:00
Takeshi KOMIYA
bcad2b2879
Merge pull request #6204 from tk0miya/refactor_todo2
``todo`` directive now supports ``:name:`` option
2019-03-25 22:44:49 +09:00
Takeshi KOMIYA
f585a4a5a8 Add testcase for glossary 2019-03-25 22:36:28 +09:00
Takeshi KOMIYA
8d5ef57c6f `todo directive now supports :name:` option 2019-03-24 22:15:43 +09:00
Takeshi KOMIYA
9fe962c208 Drop tests for deprecated modules 2019-03-24 21:46:31 +09:00
Takeshi KOMIYA
ab268c3138 refactor: test_ext_todo 2019-03-24 17:37:22 +09:00
Takeshi KOMIYA
700be75a73 Fix #6196: py domain: unexpected prefix is generated 2019-03-23 22:32:37 +09:00
Takeshi KOMIYA
8980f637c9 Add testcase for sphinx.domains.python 2019-03-23 21:44:00 +09:00
Takeshi KOMIYA
fade0d0c1b Add testcase for sphinx.domains.python 2019-03-23 17:00:54 +09:00
Takeshi KOMIYA
86f0336693 Merge branch '2.0' 2019-03-21 02:21:59 +09:00
Takeshi KOMIYA
021749429d
Merge branch '2.0' into 6178_hidden_tocs 2019-03-19 01:23:17 +09:00
Jon Dufresne
22afc77c48 Python-3-only clean ups discovered by pyupgrade
https://github.com/asottile/pyupgrade

> A tool to automatically upgrade syntax for newer versions of the
> language.

- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-19 01:09:48 +09:00
Jon Dufresne
f210475489 Python-3-only clean ups discovered by pyupgrade
https://github.com/asottile/pyupgrade

> A tool to automatically upgrade syntax for newer versions of the
> language.

- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-17 12:58:03 -07:00
Takeshi KOMIYA
6698bd6b3f Fix #6178: i18n: Captions missing in translations for hidden TOCs 2019-03-17 17:19:33 +09:00
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
332dd5d89f Merge branch '2.0' 2019-03-10 17:46:12 +09: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
a37e508b3f Merge branch '2.0' 2019-03-10 12:23:15 +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
7c712464bb Merge branch '2.0' 2019-03-09 18:12:56 +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
e8195d24c7
Merge pull request #6143 from tk0miya/6140_unittest.mock
Fix #6140: Use unittest.mock instead of mock
2019-03-08 00:56:45 +09:00
Takeshi KOMIYA
c83f2a0272 Fix #6140: Use unittest.mock instead of mock 2019-03-08 00:27:45 +09:00
Takeshi KOMIYA
ba86f4ea78 Merge branch '2.0' 2019-03-07 01:23:26 +09: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