Commit Graph

107 Commits

Author SHA1 Message Date
Takeshi KOMIYA
b2bd9f75a6 Merge branch '1.7' 2018-04-09 01:46:00 +09:00
Takeshi KOMIYA
cff8dc519b Fix #4783: Sphinx crashed when drives of srcdir and outdir are different 2018-04-02 23:03:02 +09:00
Takeshi KOMIYA
9efaf18852 Merge branch '1.7' 2018-03-18 01:21:01 +09:00
Takeshi KOMIYA
70a622b86c Revert "Use typing.TYPE_CHECKING for typehints"
This reverts commit a073e17537.
2018-03-13 23:23:15 +09:00
Takeshi KOMIYA
6faef28150 Make console and warning messages translatable 2018-03-03 23:18:38 +09:00
Takeshi KOMIYA
ad7d77d010 refactor: Move pairindextypes to sphinx.domains.python 2018-03-03 02:54:55 +09:00
Takeshi KOMIYA
938ba386ed Merge branch '1.7' 2018-02-20 00:02:57 +09:00
cocoatomo
97463fd07e Suppress a flake8 warning (E501) 2018-02-19 09:20:04 +09:00
cocoatomo
536fee9e83 Fix indentation violation (flake8 E114) 2018-02-19 08:57:19 +09:00
cocoatomo
582c829fa8 Have order on msgids in sphinx.pot deterministic 2018-02-19 08:57:19 +09:00
Takeshi KOMIYA
f8bb40ab30 Merge branch '1.7' 2018-02-18 12:39:07 +09:00
Takeshi KOMIYA
a073e17537 Use typing.TYPE_CHECKING for typehints 2018-02-14 22:57:38 +09:00
Takeshi KOMIYA
dc2b153835 Update type annotations 2018-02-04 15:14:51 +09:00
Takeshi KOMIYA
9f5c676322 Use flake8-import-order 2018-01-28 01:52:16 +09:00
Stephen Finucane
a83e8bab7d builders: Add 'Builder.epilog' option
This allows builders to emit a final epilog message containing
information such as where resulting files can be found. This is only
emitted if the build was successful.

This allows us to remove this content from the 'make_mode' tool and
the legacy 'Makefile' and 'make.bat' templates. There's room for more
dramatic simplification of the former, but this will come later.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-11 20:57:03 +00:00
Takeshi KOMIYA
2426cedb8b A happy new year! 2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
579a79660e Update type annotations for new mypy 2017-05-07 14:28:41 +09:00
Takeshi KOMIYA
f8b58e41cd Fix #3669: gettext builder fails with "ValueError: substring not found" 2017-04-27 00:17:07 +09:00
Takeshi KOMIYA
30a10d3e29 Fix typo 2017-04-21 00:48:36 +09:00
Takeshi KOMIYA
8f9dd64992 Merge branch 'stable' 2017-03-26 11:52:15 +09:00
Takeshi KOMIYA
c57e47e042 Year++ 2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
d3c475793d Fix mypy violations 2017-03-20 10:39:47 +09:00
Takeshi KOMIYA
f175dc1b22 Add Builder.use_message_catalog flag 2017-03-20 08:54:36 +09:00
Takeshi KOMIYA
cd3f48bb76 Create an instance of builder before initialize env 2017-03-19 23:16:37 +09:00
Takeshi KOMIYA
554199d30e Upgrade to mypy-0.5 2017-03-03 23:17:34 +09:00
jfbu
c112f60d47 Fix mypy violations after merge of 'stable'
modified:   sphinx/builders/gettext.py
2017-03-03 11:11:49 +01:00
jfbu
8f5d1e1050 Fix error in merge of 'stable'
modified:   sphinx/builders/gettext.py
2017-03-03 10:43:22 +01:00
jfbu
fb5dd840f4 Merge branch 'stable' 2017-03-03 09:53:50 +01:00
Yoshiki Shibukawa
8ebc97d0c8 fix gettext builder that writes pot files unless the content are same without creation date 2017-03-02 15:11:12 +09:00
Takeshi KOMIYA
035ba39c2d Fix mypy violations 2017-01-22 00:46:49 +09:00
Takeshi KOMIYA
929683df27 Sphinx.status_iterator() is now deprecated 2017-01-07 18:43:32 +09:00
Takeshi KOMIYA
e755a8c004 Use loggers 2017-01-02 12:59:51 +09:00
Takeshi KOMIYA
b43523fcbe Use sphinx.util.logging instead app.info(), verbose(), debug() and debug2() 2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
d5288567fd Update type annotations 2016-12-15 19:22:40 +09:00
Takeshi KOMIYA
e645ea59db Merge branch 'stable' 2016-12-14 00:12:23 +09:00
Takeshi KOMIYA
d72954d498 builtin extensions return metadata to allow parallel build 2016-12-12 21:22:16 +09:00
Takeshi KOMIYA
23b1c3d5f2 Add type-check annotations to sphinx.builders 2016-11-16 12:06:22 +09:00
Takeshi KOMIYA
4b5eebdc87 Merge branch 'stable' into 1.5-release 2016-11-16 11:45:57 +09:00
shimizukawa
d50b9b9dce insert blank line(s) to adapt latest flake8/pycodestyle 2016-11-16 10:58:41 +09:00
Takeshi KOMIYA
e96e627d59 Fix #2874: gettext builder could not extract all text under the `only` directives 2016-08-27 23:57:49 +09:00
Takeshi KOMIYA
8a45aa5e59 Now all builders and domains work as built-in extensions 2016-07-06 23:25:45 +09:00
jfbu
9002966085 Merge branch 'stable' 2016-06-22 18:42:13 +02:00
Dmitry Shachnev
0b2a4e9073 Fix LocalTimeZone.utcoffset return value when SOURCE_DATE_EPOCH is set
Subclasses of tzinfo should follow the parent class and return offset either
as None (when unknown) or as timedelta.

Otherwise datetime.fromtimestamp() will raise a TypeError:
tzinfo.utcoffset() must return None or timedelta, not 'int'.
2016-06-19 16:40:42 +03:00
Takeshi KOMIYA
698a715d0c Refactor code using `with` syntax 2016-05-26 00:50:57 +09:00
Alexis Bienvenüe
0f33e6cb64 Add pointers to the SOURCE_DATE_EPOCH specification. 2016-05-03 09:53:54 +02:00
Alexis Bienvenüe
ae0a7a63c2 Spaces and import fix. 2016-05-02 10:05:25 +02:00
Alexis Bienvenüe
390ee6fcd8 Extend SOURCE_DATE_EPOCH to gettext 2016-04-28 23:36:28 +02: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
Takayuki SHIMIZUKAWA
07c10e540f Merge pull request #2074 from techtonik/patch-1
gettext: use canonical relative paths for .pot
2016-02-09 16:57:34 +09:00
anatoly techtonik
281bf2ae3a gettext: use new osutil.canon_path() 2016-02-09 10:45:11 +03:00