Commit Graph

11643 Commits

Author SHA1 Message Date
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
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