Commit Graph

11672 Commits

Author SHA1 Message Date
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
jfbu
18bf90822c Fix LaTeX writer handling of user custom numfig_format 2019-01-04 23:35:30 +01:00
Jean-François B
7ff7dfc427
Merge pull request #5867 from jfbu/latex_checkmark
LaTeX: escape Unicode HEAVY CHECK MARK into latex macros
2019-01-02 15:25:45 +01:00
Jean-François B
955488df2c
Merge branch '1.8' into latex_checkmark 2019-01-02 14:34:32 +01:00
Takeshi KOMIYA
267e5b004d
Merge pull request #5874 from tk0miya/happy_new_year
A happy new year!
2019-01-02 16:14:06 +09:00
Takeshi KOMIYA
1b1ebd2c75 A happy new year! 2019-01-02 16:00:30 +09:00
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
7fe1016f5e LaTeX: escape Unicode HEAVY CHECK MARK into latex macros
Closes: #3707
2018-12-27 17:35:11 +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