Commit Graph
11610 Commits
Author SHA1 Message Date
Takeshi KOMIYA f8a3407c7c Merge pull request #5838 from tk0miya/5834_apidoc_wrong_help
Fix #5834: apidoc: wrong help for --tocfile
2018-12-20 22:33:24 +09:00
Takeshi KOMIYA 5bbd61df0a Merge branch '1.8' into 5834_apidoc_wrong_help 2018-12-20 11:31:50 +09:00
Takeshi KOMIYA 7e60036935 Merge pull request #5840 from tk0miya/1956_conf.py_flake8_error
Fix flake8 violation in conf.py
2018-12-20 11:12:23 +09:00
Takeshi KOMIYA 33387a0343 Fix flake8 violation in conf.py 2018-12-20 10:32:52 +09:00
Takeshi KOMIYA e115eafa43 Fix #5834: apidoc: wrong help for --tocfile 2018-12-19 00:43:37 +09:00
Takeshi KOMIYA 518c2f2e0e Merge pull request #5829 from tk0miya/5724_setlocale_failure
Fix #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty
2018-12-18 23:10:32 +09:00
Takeshi KOMIYA 4c149f6458 Merge pull request #5835 from goerz/1.8
Use mathjax CDN "latest" URL by default
2018-12-18 23:07:42 +09:00
Takeshi KOMIYA 526b365a4c Merge pull request #5837 from jfbu/latex_halt_it_on_error_when_testing
[tests] LaTeX: use latex engines with ``--halt-on-error`` option
2018-12-18 23:06:38 +09:00
jfbu bd2ca4763c [tests] LaTeX: use latex engines with `--halt-on-error` option 2018-12-18 13:41:48 +01:00
Michael Goerz 77e617e25a Use mathjax CDN "latest" URL by default
Closes #5725
2018-12-17 22:14:25 -05:00
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 v1.8.2 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