Commit Graph

238 Commits

Author SHA1 Message Date
Takeshi KOMIYA
554199d30e Upgrade to mypy-0.5 2017-03-03 23:17:34 +09:00
Takeshi KOMIYA
e1da72b59c Reduce DeprecationWarnings for regexp 2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
029e9908c0 Remove unused "type: ignore" 2017-02-06 15:21:19 +09:00
Takeshi KOMIYA
38d6c34f35 Merge branch 'stable' 2017-01-12 13:03:53 +09:00
Takeshi KOMIYA
60d4846e0f Fix flake8 violations 2017-01-12 10:07:05 +09:00
Takeshi KOMIYA
ecd7b62148 Update type annotations 2017-01-09 18:14:53 +09:00
Takeshi KOMIYA
15b46598e2 logger.warning() supports node as location parameter 2017-01-02 12:59:51 +09:00
Takeshi KOMIYA
e755a8c004 Use loggers 2017-01-02 12:59:51 +09:00
Takeshi KOMIYA
d5288567fd Update type annotations 2016-12-15 19:22:40 +09:00
Takeshi KOMIYA
9abdaedb7c Merge branch 'master' into deprecate_sphinx.util.compat 2016-12-14 01:27:11 +09:00
Takeshi KOMIYA
e645ea59db Merge branch 'stable' 2016-12-14 00:12:23 +09:00
Takeshi KOMIYA
2df0bb8d03 `sphinx.util.compat.Directive` class is now deprecated. 2016-12-13 11:36:03 +09:00
Takeshi KOMIYA
d72954d498 builtin extensions return metadata to allow parallel build 2016-12-12 21:22:16 +09:00
Takeshi KOMIYA
8a06a42c31 Add type-check annotations to sphinx.domains 2016-11-16 12:06:22 +09:00
Ashley Whetter
ea86d23845 Python domain can link multiple types in a type field 2016-09-18 06:38:27 +01:00
Ashley Whetter
cfd4e51802 Python domain can now link container types automatically
Google types now greedily match the closing parenthesis.

Also removed name from returns section in Google docstrings.
Instead, everything before the colon is treated as the type.
2016-08-03 17:09:40 +01:00
Glenn Matthews
8c1a8153ca Create PyGroupedField and use it for 'exceptions' 2016-07-15 22:01:06 -04:00
Takeshi KOMIYA
8a45aa5e59 Now all builders and domains work as built-in extensions 2016-07-06 23:25:45 +09:00
shimizukawa
e6a5a3a92e classifier of glossary terms can be used for index entries grouping key. The classifier also be used for translation. See also :ref:glossary-directive. 2016-02-14 19:28:58 +09:00
Georg Brandl
46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
shimizukawa
70612c610f fix #1772 cross reference in docstrings like `:param .write:` breaks building. 2015-03-14 18:54:20 +09:00
Georg Brandl
ba9dcaac51 more pep8 fixes 2015-03-08 16:59:27 +01:00
Georg Brandl
a23903d8d5 Merge branch 'stable' 2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199 all: update copyright 2015-01-03 21:36:32 +01:00
Georg Brandl
6c194ad56f Closes #1623: Return types specified with `:rtype:` are now turned into links if possible. 2014-11-12 11:32:21 +01:00
Georg Brandl
31452fc64d [WIP] parallel read 2014-09-22 14:51:47 +02:00
Georg Brandl
6ba8883685 Add ref context to all "any" references. Should make it possible to resolve them more accurately. 2014-09-20 19:23:25 +02:00
Georg Brandl
2c396601bf Move env.temp_data content that might be used to resolve references to a new env.ref_context dictionary. 2014-09-20 19:15:41 +02:00
Georg Brandl
c3eb669f8a Added the any role that can be used to find a cross-reference of
*any* type in *any* domain.  Custom domains should implement the new
`~Domain.resolve_any_xref` method to make this work properly.
2014-09-19 12:59:18 +02:00
Takayuki Shimizukawa
da20c3713b merge with stable 2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa
91709946d6 * Fix: py:function directive generate incorrectly signature when specifying a default parameter with an empty list []. Closes #1503 2014-07-12 20:50:15 +09:00
Takayuki Shimizukawa
49944cfa52 wrap iterator with list() to avoid 'dictionary changed size during iteration' on py3. refs #1350. 2014-04-29 22:43:58 +09:00
Takayuki Shimizukawa
ce4d342e20 use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350. 2014-04-29 21:20:56 +09:00
Georg Brandl
ac92719ac3 Update copyright year. 2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321 Update copyright year. 2014-03-01 08:18:16 +01:00
Georg Brandl
fc82989a35 merge with stable 2014-01-12 20:30:25 +01:00
Georg Brandl
12b3b49f22 Closes #1233: Allow finding both Python classes and exceptions with the "class" and "exc" roles in intersphinx. 2014-01-12 17:19:58 +01:00
Virgil Dupras
ea02a07562 Allow "." and "~" prefixes in inline :param: typedefs. 2014-01-04 21:40:52 -05:00
Georg Brandl
ff33545457 Closes #1159: do not emit duplicate inventory entries for py:module objects.
Also add a workaround on the consumer side in intersphinx, so that links
to projects using old versions of Sphinx generate correct links.
2013-09-16 07:54:12 +02:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Georg Brandl
a6512317bf Closes #864: Fix crash with some settings of :confval:modindex_common_prefix. 2012-01-29 10:43:31 +01:00
Georg Brandl
5727c053c2 Closes #859: Fix exception under certain circumstances when not finding appropriate objects to link to. 2012-01-29 10:25:34 +01:00
Georg Brandl
9a4a3c9afa Satisfy "make check". 2011-10-09 23:09:57 +02:00
Georg Brandl
4abbe95a9c Merge with 1.0 2011-09-23 11:03:23 +02:00
Georg Brandl
db87ed440c Fix #648: Fix line numbers reported in warnings about undefined references. 2011-09-23 09:46:24 +02:00
Georg Brandl
25d41d8ed1 Merge with 1.0 2011-09-23 08:06:12 +02:00
Georg Brandl
6e81a0622a Fix pyflakes issues. 2011-09-22 15:34:26 +02:00
Georg Brandl
5ca496847a Closes #669: Respect the `noindex` flag option in py:module directives. 2011-05-15 13:00:11 +02:00
Georg Brandl
7e3151dd73 #581: Fix traceback in Python domain for empty cross-reference targets. 2011-01-04 23:39:13 +01:00
Georg Brandl
0e1db6ad90 New year update. 2011-01-04 10:00:51 +01:00