Commit Graph

11600 Commits

Author SHA1 Message Date
Takeshi KOMIYA
4b331dae48 Fix #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty 2018-12-17 23:08:08 +09:00
Jon Dufresne
e9c87b3d13 Fix invalid escape sequence in test_directive_code.py
Fixes error when running tests:

tests/test_directive_code.py:359
  sphinx/tests/test_directive_code.py:359: DeprecationWarning: invalid escape sequence \s
    includes = '\\end{sphinxVerbatim}\n\sphinxresetverbatimhllines\n'
2018-12-17 11:11:41 +01:00
Jakob Lykke Andersen
bf3bc32184
Merge pull request #5816 from jakobandersen/cpp_assert_dup_partial_build
C++, fix assertion in partial builds with duplicates
2018-12-16 20:06:24 +01:00
Jakob Lykke Andersen
57f70d0f1d C++, fix assertion in partial builds with duplicates
Fixes sphinx-doc/sphinx#5496
2018-12-16 19:36:35 +01:00
Jakob Lykke Andersen
73a8b7e658 Merge branch 'cpp_fix_float_literals' into 1.8 2018-12-16 17:19:57 +01:00
Jean-François B
e2431d80bd
Merge pull request #5811 from jfbu/latex_fix_sphinxVerbatim_requires_hllines_markup
LaTeX: allow sphinxVerbatim usage without explicit "hllines" extra setup
2018-12-16 17:14:25 +01:00
Jakob Lykke Andersen
b3de33deef C++, fix parsing of floating point literals
Fixes sphinx-doc/sphinx#5636
2018-12-16 16:56:55 +01:00
jfbu
88a019dc99 LaTeX: allow sphinxVerbatim usage without explicit "hllines" extra setup
Fixes: #5810
2018-12-16 16:54:28 +01:00
jfbu
c899b27b4a Update CHANGES for PR #5754 2018-12-11 18:24:09 +01:00
Matthias Geier
4af446349c DOC: Fix some minor mistakes in "LaTeX customization" 2018-12-11 18:20:28 +01:00
jfbu
c050d44299 LaTeX update a comment about inputenc 2018-12-11 18:03:01 +01:00
Takeshi KOMIYA
4566e215df Fix a mypy violation 2018-12-08 23:44:45 +09:00
Takeshi KOMIYA
2233875f72
Merge pull request #5669 from tk0miya/5659_linkcheck_crashes_with_multibyte_URL
Fix #5659: linkcheck: crashes for a hyperlink containing multibyte character
2018-11-28 01:54:42 +09:00
Takeshi KOMIYA
3808405b50 Fix #5659: linkcheck: crashes for a hyperlink containing multibyte character 2018-11-25 01:37:32 +09:00
Takeshi KOMIYA
171020dca7
Merge pull request #5655 from tk0miya/update_doc
doc: Add deprecation info to script_files (template variable)
2018-11-22 00:30:03 +09:00
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