Commit Graph
11682 Commits
Author SHA1 Message Date
Takeshi KOMIYA 2f61ba876c Bump to 1.8.4 final v1.8.4 2019-02-03 23:15:10 +09:00
Takeshi KOMIYA 4c3ce03985 Merge pull request #6006 from tk0miya/5948_duplicated_labels
Fix #5948: LaTeX: duplicated labels are generated for sections
2019-02-03 22:48:51 +09:00
Takeshi KOMIYA b7c679626a Fix #5948: LaTeX: duplicated labels are generated for sections 2019-02-03 22:33:24 +09:00
Takeshi KOMIYA ed3d13b939 Merge pull request #6009 from tk0miya/4611_add_testcase_for_html_style
Separate testcase for html_style to single case from root
2019-02-03 19:48:56 +09:00
Takeshi KOMIYA ba7b7b3698 Merge pull request #6008 from tk0miya/4611_use_simple_svg
test: Replace SVG image by simple one
2019-02-03 19:26:37 +09:00
Takeshi KOMIYA a8777f6c01 Merge pull request #6007 from tk0miya/5871_fix_texinfo_period
Allow periods in texinfo node names
2019-02-03 19:19:24 +09:00
Takeshi KOMIYA 97782c8ba1 Separate testcase for html_style to single case from root 2019-02-03 19:16:04 +09:00
Takeshi KOMIYA 36e770fe68 test: Replace SVG image by simple one
Old SVG image contains non standard tags and attributes. Therefore,
epubcheck warns it as invalid.  To avoid the warnings, this replaces it
by very simple one.
2019-02-03 19:08:28 +09:00
Takeshi KOMIYA 0bb5aa8261 Update CHANGES for PR #5872 2019-02-03 19:01:37 +09:00
Takeshi KOMIYA e483e4afc3 texinfo: remove DOTs from name if name contains other characters 2019-02-03 19:01:37 +09:00
Takeshi KOMIYA 133ed17de6 Add testcase for TexinfoTranslator.escape_id() 2019-02-03 19:01:37 +09:00
Brandon T. Willard 87a0bf9d5e Allow periods in texinfo node names
Closes #5871.
2019-02-03 18:51:57 +09:00
Takeshi KOMIYA 6b3244d679 Merge pull request #5998 from tk0miya/5995_mock_conflicts_with_metaclass
Fix #5995: autodoc: autodoc_mock_imports conflict with metaclass
2019-02-03 17:01:23 +09:00
Takeshi KOMIYA b6478accb0 Fix #5995: autodoc: autodoc_mock_imports conflict with metaclass 2019-02-02 01:22:57 +09:00
Takeshi KOMIYA c577f85846 Merge pull request #5997 from tk0miya/fix_flake8
Fix flake8 violations
2019-02-01 22:33:50 +09:00
Takeshi KOMIYA 4ad1182002 Call flake8 on py27 2019-02-01 22:10:57 +09:00
Takeshi KOMIYA cc70c2def1 Fix flake8 violations 2019-02-01 21:46:53 +09:00
Takeshi KOMIYA e6d93e0512 Merge pull request #5971 from tk0miya/refactor_test_intl
refactor: compile .mo file only if needed on testing
2019-01-25 09:58:00 +09:00
Takeshi KOMIYA 3ad8a5aacd Merge pull request #5978 from tk0miya/5958_namedtuple
Fix #5958: versionadded directive causes crash with Python 3.5.0
2019-01-25 01:53:35 +09:00
Takeshi KOMIYA ee9adea1c3 Fix #5958: versionadded directive causes crash with Python 3.5.0 2019-01-25 01:30:30 +09:00
Jean-François B a11a74287f Merge pull request #5964 from jfbu/latex_parskip
Closes: #5960
2019-01-22 09:35:44 +01:00
Takeshi KOMIYA 1182e7f6d2 refactor: compile .mo file only if needed on testing 2019-01-20 11:51:23 +09:00
jfbu 2a9bd41789 Closes: #5960
Mumble
2019-01-17 17:11:53 +01:00
Jean-François B 0fb0b41701 Merge pull request #5955 from jfbu/latex_remove_scalebox
LaTeX: remove usage of \scalebox by incorporating scale in height/width
2019-01-17 17:01:36 +01:00
Takeshi KOMIYA 087d436309 Merge pull request #5962 from tk0miya/mypy-0.660
Fix mypy violations
2019-01-18 00:00:36 +09:00
Takeshi KOMIYA c8c82d7cef Fix mypy violations 2019-01-17 23:45:30 +09:00
jfbu ecf5d7622b Make mypy happy, but I protest !
modified:   sphinx/writers/latex.py
2019-01-14 16:44:35 +01:00
jfbu e7aee6e82a LaTeX: remove usage of \scalebox by incorporating scale in height/width
Closes: #5954
2019-01-14 16:04:04 +01:00
Takeshi KOMIYA 06da488f6f Merge pull request #5945 from tk0miya/5231_pofiles_build_failure_on_windows
Fix #5231: "make html" does not read and build "po" files in "locale" dir
2019-01-13 22:02:41 +09:00
Takeshi KOMIYA 67afc3617e Merge branch '1.8' into 5231_pofiles_build_failure_on_windows 2019-01-13 18:39:39 +09:00
Jean-François B 6e7e069283 Merge pull request #5939 from jfbu/latex_fix_tall_image_in_admonition
LaTeX: \sphinxsafeincludegraphics for sphinxShadowBox/sphinxheavybox
2019-01-13 10:35:26 +01:00
Takeshi KOMIYA 949f66144d Fix #5231: "make html" does not read and build "po" files in "locale" dir 2019-01-13 18:16:16 +09:00
Takeshi KOMIYA 4144f821e1 Merge pull request #5933 from tk0miya/fix_parse_eggfile_on_windows
Fix parse eggfile on windows
2019-01-13 15:20:49 +09:00
jfbu 51a5447117 LaTeX: \sphinxsafeincludegraphics for sphinxShadowBox/sphinxheavybox
Fixes: #5936
2019-01-12 16:31:53 +01:00
Takeshi KOMIYA aa69855122 Merge branch '1.8' into fix_parse_eggfile_on_windows 2019-01-12 23:25:08 +09:00
Takeshi KOMIYA f39fa12f8b Merge pull request #5931 from tk0miya/5928_KeyError
Fix #5928: KeyError: 'DOCUTILSCONFIG' when running build
2019-01-12 22:11:54 +09:00
Takeshi KOMIYA e8c2c87301 Fix #5928: KeyError: 'DOCUTILSCONFIG' when running build 2019-01-12 21:36:52 +09:00
Takeshi KOMIYA 8925bf57ca Fix pycode could not handle egg files on windows 2019-01-12 21:36:09 +09:00
Takeshi KOMIYA c4137fa9fd Merge pull request #5932 from tk0miya/fix_test
Fix an error with pytest-4.x
2019-01-12 21:35:35 +09:00
Takeshi KOMIYA a06f6b71b4 Fix an error with pytest-4.x 2019-01-12 21:08:51 +09:00
Jakob Lykke Andersen be29f73150 Merge pull request #5896 from jakobandersen/cpp_fixes
C++ fixes
2019-01-06 12:55:13 +01:00
Jakob Lykke Andersen dc1a63cbc8 mypy fix? 2019-01-06 12:45:19 +01:00
Jakob Lykke Andersen e9df857531 C++, parse all fold expressions 2019-01-06 12:03:17 +01:00
Jakob Lykke Andersen 8eb4ab0681 C++ fixes
- Hyperlinks for declarations involving east cv-qualifiers.
- Duplicate declaration error on function templates with constraints
  in the return type.
  Fixes sphinx-doc/sphinx#5755
2019-01-06 12:03:17 +01:00
Takeshi KOMIYA 3a83f29f86 Merge pull request #5895 from mitya57/add-node-warning-message
Fix warning message when a node class is already registered
2019-01-06 14:45:39 +09:00
Dmitry Shachnev a21d18141b Fix warning message when a node class is already registered
self._setting_up_extension is a list, we should only take its last
item. This is what add_directive() and add_role() already do.

Otherwise the message looks like this:

    while setting up extension ['?', 'myextension']: ...
2019-01-06 01:01:33 +03:00
Jean-François B e44f56a871 Merge pull request #5891 from jfbu/latex_5889
LaTeX: obey spaces from `numfig_format` (figure and table only)
2019-01-05 10:03:11 +01:00
jfbu f42e406af4 Update CHANGES for PR #5891 2019-01-05 10:02:00 +01:00
jfbu 2259466d4b Remove some spaces added in last commit, which are ignored anyhow 2019-01-05 00:14:45 +01:00
jfbu 37f1aacd1f LaTeX do not strip spaces from numfig_format split at %s
Only for figure and table, currently. Code-bloks have some FIXME code to
still be handled.

PDF output should remain unchanged so this is backwards compatible. The
`\nobreakspace` from LaTeX default `\fnum@figure` is removed by a normal
space. If figname is an abbreviation, the dot is followed by a `\@` to
avoid double space. At the location where the `\@` is inserted the `@`
has catcode non-letter so a space after it is not swallowed.

MEMO: when this is will be moved to sphinxmessages.sty on master branch
it is needed to use `\@{}` or to modify locally catcode of `@` to avoid
space swallowing..

Closes: #5889
2019-01-04 23:53:17 +01:00