Commit Graph

11626 Commits

Author SHA1 Message Date
Jean-François B
38c5ec13a5
Merge pull request #5865 from jfbu/fix_spelling_typos
Fix various spelling typos
2018-12-28 12:34:34 +01:00
jfbu
1e07cb10fc Fix various spelling typos 2018-12-27 13:06:33 +01:00
Timotheus Kampik
221614654f
#5605 fix Chinese search index (#5611)
generate search index for Latin words correctly if search language is Chinese
2018-12-25 18:41:52 +01:00
Takeshi KOMIYA
920aafaee6 Bump version 2018-12-26 00:32:03 +09:00
Takeshi KOMIYA
81328ca598 Bump to 1.8.3 final 2018-12-26 00:29:31 +09:00
Takeshi KOMIYA
f8c6c14526
Merge pull request #5862 from tk0miya/refactor_chm_htmlescape
refactor chm_htmlescape()
2018-12-24 14:17:41 +09:00
Takeshi KOMIYA
6ffe549f49 refactor chm_htmlescape() 2018-12-24 13:54:53 +09:00
jfbu
3f92aa7e6a Remove from CHANGES mention of non-existing 1.7.10 release 2018-12-23 22:13:00 +01:00
Takeshi KOMIYA
503cf9c39e
Merge pull request #5860 from animalize/fix_test
don't generate build files inside /tests/roots/test-build-htmlhelp/
2018-12-23 23:51:06 +09:00
animalize
9052471e19 don't generate build files inside /tests/roots/ 2018-12-23 22:16:03 +08:00
animalize
cedd94c541 [1.8] htmlhelp: convert hex escaping to decimal escaping in .hhc/.hhk files (#5853)
* htmlhelp: convert hex escaping to decimal escaping in .hhc/.hhk files

.hhc/.hhk files don't recognize hex escaping, we need convert hex escaping to decimal escaping. for example: `'` -> `'`.
2018-12-23 22:39:12 +09:00
Jean-François B
a77f344035
Merge pull request #5850 from jfbu/latex_sphinxmaketitle
LaTeX: ``\sphinxmaketitle`` and optional ``\sphinxbackoftitlepage``
2018-12-23 11:01:46 +01:00
Takeshi KOMIYA
35d0934caa
Merge pull request #5848 from tk0miya/5800_todo_inside_TextElement
Fix #5800: todo: crashed if todo is defined in TextElement
2018-12-23 15:01:47 +09:00
jfbu
0034664a6e Update date and version of LaTeX class files 2018-12-22 18:35:17 +01:00
jfbu
1920d1d950 LaTeX: `\sphinxmaketitle and optional \sphinxbackoftitlepage`
Closes: #5849
2018-12-21 21:38:27 +01:00
Takeshi KOMIYA
f06e84ac4f Fix #5800: todo: crashed if todo is defined in TextElement 2018-12-22 01:10:23 +09:00
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