Commit Graph

1743 Commits

Author SHA1 Message Date
Yoshiki Shibukawa
3502831214 replace internal copy of ElementTree with standard library's ElementTree 2017-03-01 12:01:40 +09:00
Stephen Finucane
2afa0b6627 setuptools: Support multiple builders
At present, the 'builder' option for the setuptools integration only
supports a single output format, typically HTML, like so:

  [build_sphinx]
  builder = man

There is value in being able to specify multiple format, like so:

  [build_sphinx]
  builder = html man

Make this possible.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-28 17:30:28 +00:00
Yoshiki Shibukawa
229c5cfa3b Add warning messages for required EPUB3 metadata 2017-02-28 19:51:39 +09:00
jfbu
3e3d97ff9c fix test 2017-02-28 08:13:37 +01:00
Dmitry Shachnev
73cd4b038a Add tests for the previous two changes 2017-02-27 15:48:26 +03:00
Jean-François B
56d446cb42 Merge pull request #3466 from jfbu/lualatexsettings
same default settings for lualatex as for xelatex
2017-02-27 12:19:32 +01:00
Takeshi KOMIYA
496ff70f4a Merge branch 'stable' 2017-02-26 16:01:22 +09:00
Takeshi KOMIYA
64041636d6 Merge pull request #3455 from shibukawa/fix-again/epub-nbsp-issue
Fix &nbsp is appeared in EPUB docs #3450 again
2017-02-26 15:46:33 +09:00
Takeshi KOMIYA
1d0083edc5 Fix #3421: Could not translate a caption of tables 2017-02-26 13:47:53 +09:00
Takeshi KOMIYA
ece821e141 Merge branch 'master' into 3421_translate_table_caption 2017-02-26 13:43:36 +09:00
jfbu
40d99445f8 same default settings for lualatex as for xelatex
this requires fontspec sufficiently recent (TeXLive 2013 or later)
2017-02-26 00:13:06 +01:00
Yoshiki Shibukawa
1cce97ad5c Fix &nbsp is appeared in EPUB docs #3450 again 2017-02-26 00:29:25 +09:00
Takeshi KOMIYA
fc9a02af3c Merge pull request #3416 from tk0miya/refactor_literalinclude
Refactor literalinclude
2017-02-25 17:10:57 +09:00
Nathaniel J. Smith
a3b80bc87a Make sure that getargspec raises on built-in types 2017-02-24 06:07:36 -08:00
Nathaniel J. Smith
678eff821f Update test to match py3's more accurate signature 2017-02-24 05:40:24 -08:00
Nathaniel J. Smith
b56d93158a On Py3, use inspect.signature for more accurate signature calculation
This improves handling of wrapped functions and bound methods.

It turns out that we no longer need to hack in support for
functools.partial; inspect.signature handles this automatically. Added
a test to make sure this didn't/doesn't regress.
2017-02-23 18:18:31 -08:00
Takeshi KOMIYA
20510ef272 Merge branch 'stable' 2017-02-24 02:12:25 +09:00
Takeshi KOMIYA
13a48d330c Fix #3438: update timestamp certainly to ensure test condition 2017-02-24 02:12:09 +09:00
Takeshi KOMIYA
675b5f4237 literalinclude directive allows combination of :pyobject: and :lines: 2017-02-22 00:29:24 +09:00
Takeshi KOMIYA
3eb5b2960a Merge branch 'master' into refactor_literalinclude 2017-02-22 00:18:31 +09:00
Takeshi KOMIYA
89cf56da1c Merge branch 'master' of github.com:sphinx-doc/sphinx 2017-02-22 00:15:36 +09:00
Takeshi KOMIYA
4d9165a883 Merge branch 'stable' 2017-02-21 16:12:06 +09:00
Takeshi KOMIYA
5bfdc6ae4f Show warning if :lines: and :emphasize-lines: get out of range 2017-02-21 13:27:37 +09:00
Takeshi KOMIYA
19d2d56e36 Fix IndexBuilder.prune() and load() supports _filenames field 2017-02-21 00:17:38 +09:00
Takeshi KOMIYA
1f973caf06 Fix #3349: Result of `IndexBuilder.load()` is broken 2017-02-20 16:33:37 +09:00
jfbu
5bb8bd8930 update test_build_latex.py test of footnote in longtable caption 2017-02-18 16:48:46 +01:00
jfbu
99315fa8e0 update root footnote test 2017-02-18 16:26:00 +01:00
Takeshi KOMIYA
6b29792994 Fix typo 2017-02-18 22:43:27 +09:00
jfbu
9a8e36568d (latex) hyperlinked footnotes from table bodies
Memo: footnotehyper-sphinx LaTeX package incorporates here some fixes
from upstream footnotehyper 0.99. At Sphinx 1.6 il will for simplicity
copy all of upstream footnotehyper 0.99. Then old footnote.sty LaTeX
package is not a dependency of Sphinx anymore.
2017-02-18 12:36:28 +01:00
Takeshi KOMIYA
ce5d506fc4 Add testcases 2017-02-18 14:49:56 +09:00
Takeshi KOMIYA
2ebcbc882e Refactor testcases 2017-02-18 00:12:54 +09:00
Takeshi KOMIYA
d1b5f7227d Merge branch 'master' into refactor_literalinclude 2017-02-17 23:37:35 +09:00
Takeshi KOMIYA
88b84a532f Add testcase for :lineno-match: option 2017-02-17 23:36:12 +09:00
Jean-François B
32817f9efa Merge pull request #3413 from jfbu/literalincludelines
If ``:start-after:`` is used, make ``:lines:`` relative (close: #3412)
2017-02-17 09:00:40 +01:00
Takeshi KOMIYA
24fd651bbb Merge pull request #3414 from tk0miya/refactor_epub_builder
Refactor epub builder
2017-02-17 02:27:07 +09:00
Takeshi KOMIYA
74a0e3589b test: Filter ImportWarning from pytest_cov 2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
e1da72b59c Reduce DeprecationWarnings for regexp 2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
6b7dcf0889 Fix #3421: Could not translate a caption of tables 2017-02-15 18:08:54 +09:00
Takeshi KOMIYA
c62a0ad765 Merge branch 'stable' 2017-02-15 01:42:20 +09:00
Takeshi KOMIYA
b9bba672ed Fix #3366: option directive does not allow punctuations 2017-02-15 01:42:08 +09:00
Jean-François B
a7becf30de Merge branch 'master' into literalincludelines 2017-02-13 19:38:22 +01:00
Takeshi KOMIYA
f1d4248eea parselinenos() raises out of range error 2017-02-13 00:04:28 +09:00
Takeshi KOMIYA
6b20c72521 Add testcases for LiteralIncludeReader 2017-02-13 00:04:15 +09:00
Takeshi KOMIYA
f562af06b2 parselinenos() raise errors for "10-1" range 2017-02-12 22:19:18 +09:00
Takeshi KOMIYA
0e9c2e6027 Merge branch 'master' of github.com:sphinx-doc/sphinx 2017-02-12 21:52:52 +09:00
Takeshi KOMIYA
ef1f587344 Merge branch 'stable' 2017-02-12 21:52:20 +09:00
jfbu
1c38710ed2 update latex table tests and CHANGES for PR#3415 2017-02-11 18:02:19 +01:00
jfbu
dcb211f5de refactor latex table templates to avoid extra vertical spaces (refs #3405)
also, make "center" the default for short table horizontal alignment (it
is already so for longtable)
2017-02-11 18:02:19 +01:00
Takeshi KOMIYA
929e67ffca Fix parselinenos() could not parse left half open range (cf. "-4") 2017-02-12 00:09:04 +09:00
Takeshi KOMIYA
8f4379ef91 Add testcase for parselinenos 2017-02-12 00:05:27 +09:00