Commit Graph

11685 Commits

Author SHA1 Message Date
Takeshi KOMIYA
68e0210746 doc: Add deprecation info to script_files (template variable) 2018-11-21 20:15:47 +09:00
jfbu
f42d344e2c LaTeX: update sphinx.sty version and date 2018-11-18 10:16:30 +01:00
Jean-François B
9c8c2101d7
Merge pull request #5630 from jfbu/5520_latex_caption_package
LaTeX: compatibility with caption package
2018-11-18 10:11:04 +01:00
jfbu
cdb70a1dde LaTeX: add a comment 2018-11-18 10:00:23 +01:00
jfbu
15cf5ff09a LaTeX: compatibility with captions package, last part
Make sure vertiale spacing is the same for tabular(y)/longtable
also for multi-line captions
2018-11-18 09:47:01 +01:00
jfbu
4457038550 LaTeX: compatibility with caption package, 2nd part
Ensure same vertical spaces above caption for tabular(y) and longtable
rendered tables.

Fixes: #5520
2018-11-18 00:40:28 +01:00
Takeshi KOMIYA
bcf7f9f8eb
Merge pull request #5628 from tk0miya/5627_qthelp
Fix #5627: index.html missing in QtHelp
2018-11-14 23:45:45 +09:00
Jean-François B
3a512ef68c
Merge branch '1.8' into 5520_latex_caption_package 2018-11-14 00:12:27 +01:00
jfbu
7f19885641 LaTeX: compatibility with caption package
This compatibility is mainly re-instored for convenience of user to
style the fonts used for the caption, and also possibly influence the
horizontal position via "width" or "margin" option of caption package
(attention that caption package obeys the document class tacit "twoside"
option, so if left and right margins are not set-up to be the same,
positioning of caption will depend on parity of the page number).

Regarding vertical skips, for captions placed on top (which is the table
templates default and also the literalblockcappos default), this commit
ensures that the vertical spacing separating the caption last baseline
to the top of framing is governed by \sphinxbelowcaptionspace in all
these three cases: tabular(y), longtable, literal blocks; the "skip"
option of caption package is ignored for them.

The "skip" is obeyed for the spacing between an image and its caption,
which currently in Sphinx is always below the image (no customization of
the figure caption vertical placement is currently available).

If literalblockcappos is "b" (captions follow code-blocks), this commit
removes the caption-package added \abovecaptionskip, so that "skip" is
also ignored for code-blocks in this case. This looks better due to the
extra space already added by the framing of the code-block and achieves
same spacing as without caption package (presumably loaded mainly to
style the fonts used for the caption). However in future maybe caption's
package "skip" should be obeyed for "literalblock" caption type.

Fixes: 5520
2018-11-13 23:55:11 +01:00
Takeshi KOMIYA
d5e4bc0e75
Merge pull request #5622 from jdufresne/inval
Fix "invalid escape sequence" warnings emitted during tests
2018-11-14 00:47:44 +09:00
Jon Dufresne
444a7212b6 Fix "invalid escape sequence" warnings emitted during tests
sphinx/tests/test_quickstart.py:221: DeprecationWarning: invalid escape sequence '\*'
    content = filename.bytes().decode('unicode-escape')
  sphinx/tests/test_quickstart.py:221: DeprecationWarning: invalid escape sequence '\`'
    content = filename.bytes().decode('unicode-escape')
2018-11-13 07:14:24 -08:00
Takeshi KOMIYA
a6298b7aaf Update CHANGES 2018-11-13 22:59:50 +09:00
Takeshi KOMIYA
58208232d9 Revert "qthelp: Fix URLs for project_files in Windows"
This reverts commit cb831bb703.
2018-11-13 22:59:21 +09:00
Takeshi KOMIYA
a0aee7a0f3
Merge pull request #5619 from tk0miya/5614_broken_incremental_build
Fix #5614: autodoc: incremental build is broken when builtin modules …
2018-11-13 22:30:37 +09:00
Takeshi KOMIYA
33a60ee80e Fix #5614: autodoc: incremental build is broken when builtin modules are imported 2018-11-13 01:05:13 +09:00
Takeshi KOMIYA
97e2a547fa
Merge pull request #5609 from tk0miya/test_filterwarnings
test: Filter warnings on testing
2018-11-12 23:21:06 +09:00
Takeshi KOMIYA
0ccc64d9ea test: Filter warnings on testing 2018-11-12 00:37:51 +09:00
Takeshi KOMIYA
0f4514a69c Update CHANGES for PR #5590 2018-11-11 17:58:21 +09:00
Takeshi KOMIYA
f9f52ab71b
Merge pull request #5590 from mitya57/language-data
Move language-specific data into a new JS file, language_data.js
2018-11-11 17:55:17 +09:00
Takeshi KOMIYA
345e96c374 Bump version 2018-11-11 15:12:10 +09:00
Takeshi KOMIYA
62a83e4960 Bump to 1.8.2 final 2018-11-11 15:07:44 +09:00
Takeshi KOMIYA
f75f03c1cb
Merge pull request #5601 from tk0miya/tox_install_command
Give install_command to tox
2018-11-09 22:09:30 +09:00
Takeshi KOMIYA
b28ab1e103
Merge pull request #5600 from tk0miya/3080_invalid_texinfo
Fix #3080: multiline rubrics and citations are broken in texinfo builder
2018-11-09 22:08:51 +09:00
Takeshi KOMIYA
8adb20cc42 Give install_command to tox
Since tox-3.2.0, 'usedevelop' option and 'deps=.[test,websupport]'
option have been conflicted.  As a workaround, this adds
'install_command' option to avoid the situation.
2018-11-09 00:51:13 +09:00
Takeshi KOMIYA
feba53ff55 Fix #3080: texinfo: multiline citations are broken 2018-11-08 23:33:00 +09:00
Takeshi KOMIYA
84f781252f Fix #3080: texinfo: multiline rubric is broken 2018-11-08 23:33:00 +09:00
jfbu
994b0ea827 LaTeX: update date and version of sphinx.sty 2018-11-06 18:32:41 +01:00
Jean-François B
c9999b1208
Merge pull request #5583 from jfbu/5579_style_index_entries
LaTeX: add styling to general index, similar to domain indices
2018-11-06 18:12:19 +01:00
Takeshi KOMIYA
63daf8c6e6
Merge pull request #5525 from eqvinox/revert-pickle-write-1.8
[1.8] Revert "Builder.build: save env also with only new documents"
2018-11-07 00:16:58 +09:00
jfbu
00a75b2742 LaTeX: deprecate optional argument scre to visit_index()
And it is already ignored.
2018-11-04 21:48:35 +01:00
Dmitry Shachnev
2a9cad7b2e Move language-specific data into a new JS file, language_data.js
This file is included in script_files, so it will be present even for
projects using custom templates.

Fixes #5460.
2018-11-04 12:13:07 +03:00
Takeshi KOMIYA
66867111c8
Merge pull request #5581 from tk0miya/5557_quickstart_no_batchfile
Fix #5557: quickstart: --no-batchfile isn't honored
2018-11-01 23:20:04 +09:00
Takeshi KOMIYA
01130900b5
Merge branch '1.8' into 5557_quickstart_no_batchfile 2018-11-01 22:54:01 +09:00
Takeshi KOMIYA
7a1516a8b0
Merge pull request #5580 from tk0miya/5563_footnote_refs_causes_latex_crashed
Fix  #5563: latex: footnote_references generated by extension causes LaTeX builder crashed
2018-11-01 22:53:03 +09:00
Takeshi KOMIYA
e080163dfc
Merge branch '1.8' into 5563_footnote_refs_causes_latex_crashed 2018-11-01 22:32:09 +09:00
jfbu
0f45cf75b3 LaTeX general index: also style "extras" in triple entries 2018-11-01 11:41:19 +01:00
jfbu
4df3b067b7 LaTeX: add styling to general index, similar to domain indices
Closes: #5579. Also closes #5576.
2018-10-31 19:22:34 +01:00
Jean-François B
47bd24e7d2
Merge pull request #5574 from jfbu/5561_remove_unneeded_xindy_option
LaTeX: do not use `-I xelatex` option with xindy (Fix: #5561)
2018-10-31 18:45:48 +01:00
Jean-François B
cc45e560a7
Merge branch '1.8' into 5561_remove_unneeded_xindy_option 2018-10-31 18:44:37 +01:00
Takeshi KOMIYA
d05ea750c3
Merge branch '1.8' into 5563_footnote_refs_causes_latex_crashed 2018-11-01 01:26:31 +09:00
Takeshi KOMIYA
d9ee41b86a
Merge pull request #5571 from tk0miya/3002_i18n_duplicated_ids
Fix #3002: i18n: multiple footnote_references referring same footnote causes duplicated node_ids
2018-11-01 01:23:34 +09:00
Takeshi KOMIYA
5755b6aeb8 Fix #5557: quickstart: --no-batchfile isn't honored 2018-11-01 01:00:33 +09:00
Takeshi KOMIYA
e3574a6f78 Fix #3002: i18n: multiple footnote_references referring same footnote causes duplicated node_ids 2018-11-01 00:54:25 +09:00
Takeshi KOMIYA
021f370ade Fix #5563: latex: footnote_references generated by extension causes LaTeX builder crashed 2018-11-01 00:47:06 +09:00
jfbu
a695099a1b LaTeX: do not use -I xelatex option with xindy (Fix: #5561)
It is not supported by old xindy (TeXLive 2013 or earlier), and probably
irrelevant anyhow as the .idx file should not have ^^ab or ^^^^abcd
entries.
2018-10-30 17:57:33 +01:00
jfbu
f4d7b2e60e Fix invalid escape sequence \d in test (refs #5513) 2018-10-30 17:47:59 +01:00
Takeshi KOMIYA
a4f1b0e089
Merge pull request #5570 from tk0miya/pytest-3.9
test: Give filterwarnings=all by ini file
2018-10-30 00:40:28 +09:00
Takeshi KOMIYA
c2590a45c1 test: Give filterwarnings=all by ini file
Since pytest-3.9, precedence order of warning options had been
changed.  This moves ``-W all`` option into setup.cfg.

In detail, see https://github.com/pytest-dev/pytest/issues/3946
2018-10-30 00:01:39 +09:00
Takeshi KOMIYA
44edaa1bb6 Fix flake8 violation 2018-10-28 21:04:11 +09:00
Takeshi KOMIYA
331003b051 Update CHANGES for PR #5549 2018-10-28 17:54:49 +09:00