Commit Graph

11655 Commits

Author SHA1 Message Date
Takeshi KOMIYA
c8c82d7cef Fix mypy violations 2019-01-17 23:45:30 +09: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
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