Commit Graph

13618 Commits

Author SHA1 Message Date
Takeshi KOMIYA
660e746cf8 Fix #6738: latex: literal_block does not support raw unicode characters 2019-11-16 16:47:20 +09:00
Jean-François B
ef09ea23fe
Merge pull request #6750 from tk0miya/6738_new_escape_for_unicode_latex_engine
Fix #6738: Do not replace unicode characters by LaTeX macros on unicode supported LaTeX engine
2019-11-15 19:10:22 +01:00
Jean-François B
b070e5be52
Merge branch '2.0' into 6738_new_escape_for_unicode_latex_engine 2019-11-15 19:09:16 +01:00
Takeshi KOMIYA
96e60df2ed
Merge pull request #6825 from Zac-HD/intersphinx-fetch
Fetch `intersphinx` inventories concurrently
2019-11-16 01:51:51 +09:00
Jean-François B
d09c681351
Merge pull request #6810 from jfbu/6809_code_block_in_danger
LaTeX: fix #6809
2019-11-15 09:47:45 +01:00
jfbu
b6cb5dd219 Trim possibly erroneous comment from Sphinx LaTeX code 2019-11-15 09:46:23 +01:00
jfbu
53ead2a0d9 LaTeX: fix #6809 2019-11-15 09:46:23 +01:00
Jean-François B
2e68d76244
Merge pull request #6807 from jfbu/6804_long_code_block_in_danger
LaTeX: fix #6804
2019-11-15 09:29:29 +01:00
Zac-HD
ea3ba6c210 Fetch inventories concurrently 2019-11-15 17:11:00 +11:00
Takeshi KOMIYA
8f554c465d
Merge pull request #6802 from tk0miya/6781_gettext_template
gettext: Use template file to generate message catalog
2019-11-15 02:33:09 +09:00
Takeshi KOMIYA
b80935bba1
Merge pull request #6822 from andriyor/parch-1
add urls to Code and Issue tracker for PyPi
2019-11-15 02:28:50 +09:00
Andriy Orehov
ff2f4a0e54 add urls to Code and Issue tracker for PyPi 2019-11-14 17:34:03 +02:00
Takeshi KOMIYA
c7fd4cc827 Update CHANGES for PR #6812 2019-11-12 23:55:32 +09:00
Takeshi KOMIYA
e8ef1886f1
Merge pull request #6812 from astrofrog/explicit-parallel-unsafe
Give a warning when extensions are explicitly not parallel safe
2019-11-12 23:54:10 +09:00
Thomas Robitaille
fa1cca1fee Improve variable names and code style 2019-11-12 14:29:20 +00:00
Thomas Robitaille
0a437bc9d6 Give a warning when extensions are explicitly not parallel safe 2019-11-12 14:22:21 +00:00
jfbu
e6ba2fe6d7 Update CHANGES 2019-11-10 13:45:22 +01:00
jfbu
d247299a88 LaTeX: fix #6804
In case a code-block is in an environment already using the "framed"
package, measure the vertical size needed for the code lines and use a
nested "framed" only if short enough (i.e. at most 90% of text area on a
page).

Long nested contents will drop the inner frame. They lose the background
color as well as the continuation hints across pagebreaks. But the
caption if present is typeset normally. And highlighted lines and line
numbers are rendered with no alteration.

Short nested contents (should) render exactly as before this commit:
they use "framed" but this must be encapsulated in an unbreakable
"minipage". All decoration including caption are obeyed but of course
not the continuation hints are these never apply.
2019-11-10 12:58:47 +01:00
Jean-François B
a7f53a7957
Merge pull request #6799 from jfbu/6000_latex_backslash
LaTeX: Allow linebreaks at \ (in literals, code-blocks, parsed-literal)
2019-11-07 17:30:58 +01:00
Takeshi KOMIYA
399f773d9d gettext: Use template file to generate message catalog 2019-11-08 00:36:57 +09:00
jfbu
a550c7075f LaTeX: Allow linebreaks at \ (in literals, code-blocks, parsed-literal)
Default configuration is to allow the linebreak after the backslash.
It is possible at user side via 'preamble' key and some LaTeX code
to allow the linebreak before the backslash, but each of inline-literal,
code-block, and parsed-literal has its more or less cumbersome way for
that.

Closes: #6000, #6001

This commit handles only the \ character, which had been left aside
by accident so far. Inline-literals could break at more characters
but this is not yet done in this commit. In this context, in future
it could be useful to modify sphinx.util.texescape to use mark-up
such as \sphinxtextbackslash rather than naked \textbackslash and
similarly for some other characters. This could then be used to
allow linebreaks even in regular text paragraphs.
2019-11-06 18:59:09 +01:00
jfbu
59a1b06757 Merge branch '2.2.2' into 2.0 2019-11-06 18:29:07 +01:00
Takeshi KOMIYA
5f4fcff832
Merge pull request #6756 from tk0miya/1331_useragent
Close #1331: Change default User-Agent header
2019-11-05 23:27:52 +09:00
Takeshi KOMIYA
b4cd34c8f4
Merge branch '2.0' into 1331_useragent 2019-11-05 22:58:33 +09:00
Takeshi KOMIYA
4ca49ec310
Merge pull request #6775 from tk0miya/6762_latex_elements_packages
Close #6762: latex: Allow to load additonal LaTeX packages
2019-11-05 22:37:39 +09:00
Takeshi KOMIYA
4ec563fcff Close #6762: latex: Allow to load additonal LaTeX packages 2019-11-05 22:25:41 +09:00
Takeshi KOMIYA
8dbb799cb1 Update CHANGES for PR #6782 2019-11-01 00:46:35 +09:00
Takeshi KOMIYA
d18f237007
Merge pull request #6782 from lewis6991/2.0
Add py.typed to make PEP-561 compatible
2019-11-01 00:44:13 +09:00
Lewis Russell
ed5832439d Add py.typed to make PEP-561 compatible 2019-10-31 14:57:30 +00:00
Jean-François B
2ebdd0daac
Merge pull request #6778 from jfbu/6776_latex_october_2019
Fix #6776: 2019-10-01 LaTeX release breaks sphinxcyrillic.sty
2019-10-29 09:18:27 +01:00
jfbu
ca06005caf Drop addition of X2 to LaTeX test to avoid extra dependencies for CI
This can be reverted if adding the extra dependencies is deemed worth
it, but it means having to look at Debian packaging and currently means
adding texlive-lang-cyrillic as requirement
2019-10-28 18:52:07 +01:00
jfbu
0c6ffa42a5 Fix #6776: 2019-10-01 LaTeX release breaks sphinxcyrillic.sty 2019-10-28 17:15:19 +01:00
Takeshi KOMIYA
3647e0c566
Merge pull request #6748 from tk0miya/6742_end-before_ignores_firstline
Fix #6742: end-before option of literalinclude skips first line
2019-10-28 19:24:12 +09:00
Takeshi KOMIYA
39b166b6b9 Fix #6742: end-before option of literalinclude skips first line 2019-10-28 19:16:20 +09:00
Takeshi KOMIYA
32763520a3 Close #1331: Change default User-Agent header 2019-10-27 02:05:33 +09:00
Takeshi KOMIYA
472de2e9aa
Merge pull request #6749 from tk0miya/dont_return_False_on___exit__
Don't return False always on __exit__()
2019-10-26 18:07:07 +09:00
Takeshi KOMIYA
ec8d41b237 Merge branch '2.2.1' into 2.0 2019-10-26 18:04:50 +09:00
Takeshi KOMIYA
d2a24c20d6 Bump version 2019-10-26 18:02:13 +09:00
Takeshi KOMIYA
f5f79684b0 Bump to 2.2.1 final 2019-10-26 18:00:31 +09:00
Takeshi KOMIYA
9e62ed102c
Merge pull request #6774 from tk0miya/6765_fixhtmlverify
Fixes #6759: validation of html static paths and extra paths no longe…
2019-10-26 17:51:21 +09:00
Takayuki SHIMIZUKAWA
4edd69566e
fix long line for doclinter 2019-10-26 17:21:57 +09:00
Nate Damon
73b4404275 Corrected typo where drives were not compared, meaning the check always evaluates to false 2019-10-26 16:56:41 +09:00
Nate Damon
1d055900ae Newline for changes file 2019-10-26 16:56:41 +09:00
Nate Damon
0cfc00123b Reimplemented fix to not rely on error strings' 2019-10-26 16:56:41 +09:00
Nate Damon
b813875b64 specified the specific error message to except, so other value errors are still raised 2019-10-26 16:56:41 +09:00
Nate Damon
b4eba53b5b Fixed 4 flake8 violations due to stinky IDE I was using 2019-10-26 16:56:41 +09:00
Nate Damon
c6bd00dbb9 Fixes #6759: validation of html static paths and extra paths no longer throws an error if the paths are in different directories 2019-10-26 16:56:41 +09:00
Takayuki SHIMIZUKAWA
c57325d776
doc: remove required version of the external libraries 2019-10-26 16:08:41 +09:00
Takayuki SHIMIZUKAWA
71334def42
doc: avoid font-size when :mod: role in headings 2019-10-26 15:35:06 +09:00
Takeshi KOMIYA
7b9edd49dd
Merge pull request #6746 from tk0miya/6743_rst_prolog_breaks_i18n
Fix #6743: i18n: rst_prolog breaks the translation
2019-10-24 02:00:06 +09:00