Commit Graph

1757 Commits

Author SHA1 Message Date
Sam Park
7020f6b41d Add tests 2017-07-15 15:18:49 -07:00
Andy Freeland
7046d17631 Python parameter/variable types should match classes, not all objects
Parameter and variable types in the Python domain have the
counter-intuitive behavior of matching instance methods (or likely any
other objects) rather than classes, e.g.:

```python
class Foo(object):
    def list(self):
        """List some things."""

def bar(x):
    """
    :param x: x
    :type x: list
    """
```

`bar()` will link to `Foo.list()` rather than the standard library
`list` type.
2017-07-12 21:52:38 -07:00
Takeshi KOMIYA
007593fa81 Merge branch 'stable' 2017-07-02 20:28:50 +09:00
Takeshi KOMIYA
dc6a8a5457 test: Fix autosummary testcase 2017-07-02 18:41:03 +09:00
Takeshi KOMIYA
b3e0e29f4c Fix #3900: autosummary could not find methods 2017-07-02 18:26:41 +09:00
Yoshiki Shibukawa
f0766ce4cd fix #3840: epub_uid should be XML Name 2017-06-30 23:37:32 +09:00
daniel
aecb008213 Changed test case "test_theme_api" to check, if a not needed html_theme_option is not part of the returned, final configuration of theme.get_options().
PR #3893
2017-06-26 09:18:46 +02:00
Takeshi KOMIYA
e57fb74ee5 Merge branch 'stable' 2017-06-25 01:48:23 +09:00
Andy Neebel
bcea04a2f7 Move assignment of srcdir to the right place 2017-06-17 07:49:45 -05:00
Takeshi KOMIYA
8d34bc54dd Fix expected result 2017-06-17 19:45:38 +09:00
Takeshi KOMIYA
27637d73e1 Replace getargspec by Signature class in autodoc module 2017-06-17 18:16:41 +09:00
Takeshi KOMIYA
fd201666a2 Add bound_method hint to Signature class 2017-06-17 18:16:02 +09:00
Takeshi KOMIYA
4dcc35a649 Signature formats args of method correctly in py2 2017-06-17 15:07:31 +09:00
Takeshi KOMIYA
3be5eebd6b Add Signature class 2017-06-17 15:07:31 +09:00
Takeshi KOMIYA
66c957372d Add testcase for sphinx.util.inspect:getargspec() 2017-06-17 00:54:24 +09:00
Takeshi KOMIYA
94b31a2f07 Refactor test_util_inspect: Do not use unittest 2017-06-17 00:54:24 +09:00
Andy Neebel
e51b3c41ea Bad imports failed on travis and circle 2017-06-14 16:37:22 -05:00
Andy Neebel
db8663db06 Fix the warnings, need to handle the repr escaping 2017-06-14 13:29:49 -05:00
Andy Neebel
f68c108f10 Mark tests as xfail/skip to allow successful run 2017-06-14 13:27:31 -05:00
Andy Neebel
c1a6579eb6 XFAIL some tests, 2.7 and Win32 can't use unicode path 2017-06-14 13:27:30 -05:00
Takeshi KOMIYA
f6d0b07704 Merge branch 'stable' 2017-06-13 00:32:39 +09:00
Takeshi KOMIYA
a8c5141cc1 Update testcase for #3858 2017-06-10 12:05:18 +09:00
jfbu
5e2d4ca77b Merge branch 'stable' 2017-06-05 15:40:18 +02:00
Takeshi KOMIYA
2f61be8bb7 Fix Emit wrong warnings if citation label includes hyphens (refs: #3558) 2017-06-04 13:55:14 +09:00
Takeshi KOMIYA
de11e54955 Merge branch 'stable' 2017-05-28 23:26:16 +09:00
Takeshi KOMIYA
69cf328b8b Add Sphinx own parser (refs: #3816) 2017-05-28 22:34:53 +09:00
Takeshi KOMIYA
1ce051d4a4 Merge branch 'stable' 2017-05-28 10:39:26 +09:00
Takeshi KOMIYA
2817623500 Skip testing for websupport if sqlalchemy not installed 2017-05-28 10:05:41 +09:00
Takeshi KOMIYA
dd3b100925 Follow translations 2017-05-17 00:03:39 +09:00
Takeshi KOMIYA
e7ffa63463 Merge branch 'stable' 2017-05-16 23:53:46 +09:00
Takeshi KOMIYA
384839f37c Merge pull request #3718 from sphinx-doc/3458-sphinx-testing
refs #3458 sphinx.testing
2017-05-16 15:06:02 +09:00
Takeshi KOMIYA
05c205a77e Merge pull request #3736 from tk0miya/refactor_latex_table_testcase
Refactor test_latex_table
2017-05-16 13:19:00 +09:00
shimizukawa
d497d74370 refs #3458: add sphinx.testing that are moved from /tests directory. 2017-05-14 20:47:15 +09:00
Takeshi KOMIYA
7cca0b456e Merge pull request #3668 from adamjstewart/fixes/apidoc-main-argv
Don't ignore first argument passed to sphinx.apidoc.main
2017-05-14 01:11:49 +09:00
Takeshi KOMIYA
515e3ad13d Refactor test_latex_table 2017-05-13 17:01:34 +09:00
Takeshi KOMIYA
78a20617b5 Merge branch '1.6-release' 2017-05-13 15:42:28 +09:00
Takeshi KOMIYA
c07ed92a20 Merge branch 'stable' into 1.6-release 2017-05-13 15:42:03 +09:00
Takeshi KOMIYA
4104b93c6e Fix #3320: Warning about reference target not being found for container types 2017-05-13 15:03:11 +09:00
Adam J. Stewart
326ddd10d7 Fix failing unit tests 2017-05-11 12:53:15 -05:00
jfbu
e277cb7285 Merge branch '1.6-release'
Fixed conflicts:
	tests/test_build_html5.py

Also updated tests/test_build_latex.py
2017-05-11 11:45:14 +02:00
jfbu
75653d85ac Fix #3479: add latex support for docutils table stub columns
This implementation in latex writer allows arbitrary columns to be
declared "stub columns". But currently Docutils option
``:stub-columns:`` only allows a number telling the how many initial
columns are "stub columns".
2017-05-10 11:35:12 +02:00
Jean-François B
e9df41535d Merge pull request #3686 from jfbu/dropthreeparttable
Drop usage of `threeparttable` (LaTeX)
2017-05-09 22:00:41 +02:00
Takeshi KOMIYA
5e65316459 Skip testcase for sphinx.util.inspect on 3.4.3
The inspect library of python-3.4.3 also can't handle wrapped
functions.
2017-05-09 23:24:25 +09:00
Takeshi KOMIYA
56d3458584 Fix flake8 violations 2017-05-09 21:57:36 +09:00
jfbu
4fc77026a3 Remove deprecated `\sphinxstylethead` (latex) 2017-05-07 10:59:50 +02:00
jfbu
5ca651f220 Merge branch '1.6-release' 2017-05-07 10:49:45 +02:00
jfbu
e02f3f12b8 LaTeX: `\sphinxstyletheadfamily` to allow multiparagraph headers
Deprecate ``\sphinxstylethead`` at 1.6 with removal at 1.7.
2017-05-07 10:49:03 +02:00
Takeshi KOMIYA
af02bfa7b3 Merge branch 'master' into 3638_eqref_format 2017-05-07 16:20:51 +09:00
jfbu
cdc1dadd8e Rename `\sphinxcaptionof to \sphinxcaption`, only 2 args 2017-05-04 16:10:58 +02:00
jfbu
069b937513 Separate `\sphinxcapstartof` macro, to facilitate caption below table 2017-05-04 15:45:28 +02:00