Commit Graph

1769 Commits

Author SHA1 Message Date
Takeshi KOMIYA
05b621a79a Merge pull request #3961 from gaborbernat/master
fixes #3959 alias/rename support for classes inside inheritence diagrams
2017-08-20 00:41:50 +09:00
Bernat Gabor
0c3f9851b3 fixes #3959 alias/rename support for classes inside inheritence diagrams 2017-07-31 18:21:05 +01:00
Takeshi KOMIYA
56a47cd9b9 Fix #3962: sphinx-apidoc does not recognize implicit namespace packages correctly 2017-07-29 16:04:54 +09:00
Takeshi KOMIYA
abaf1cbb6b Merge branch 'stable' 2017-07-29 16:01:47 +09:00
Takeshi KOMIYA
8683823536 pycode: Replace pgen2 by own parser 2017-07-26 20:51:58 +09:00
Takeshi KOMIYA
6900d19b71 pycode: Add new parser! 2017-07-26 20:51:40 +09:00
Takeshi KOMIYA
b1f80427a7 Add testcase for sphinx.util.docstrings 2017-07-26 20:51:40 +09:00
Takeshi KOMIYA
57667b5766 Add testcase for oneliner 2017-07-26 20:51:40 +09:00
Takeshi KOMIYA
ae3b761184 Add testcase for pycode interface 2017-07-26 20:51:40 +09:00
Jean-François B
8d32f03a86 Merge pull request #3872 from jfbu/literalblock_cappos
Add latex key to configure literal blocks caption position in PDF output
2017-07-23 22:46:39 +02:00
Sam Park
7020f6b41d Add tests 2017-07-15 15:18:49 -07:00
Takeshi KOMIYA
bfd71cd77b Fix #3926: Add `autodoc_warningiserror to suppress the behavior of -W` option 2017-07-15 22:04:56 +09: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
jfbu
634d76faf1 latex: add option to put literal block captions before or after
According to ``literalblockcappos`` setting in ``'sphinxsetup'``, (t)op
or (b)ottom, the caption will be typeset before or after the literal
block. If typeset above, its distance to frame is now identical to the
setting used for captions of tables (one half of the baseline).

Further keys ``verbatimcontinuedalign`` and ``verbatimcontinuesalign``
allow to horizontally align the continuation hints relative to the
literal block contents: either (l)eft, (c)enter, or (r)ight.
2017-06-17 10:40:12 +02: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