summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix #5948: LaTeX: duplicated labels are generated for sectionsTakeshi KOMIYA2019-02-032-0/+6
|
* Merge pull request #6009 from tk0miya/4611_add_testcase_for_html_styleTakeshi KOMIYA2019-02-035-1/+13
|\ | | | | Separate testcase for html_style to single case from root
| * Separate testcase for html_style to single case from rootTakeshi KOMIYA2019-02-035-1/+13
| |
* | Merge pull request #6008 from tk0miya/4611_use_simple_svgTakeshi KOMIYA2019-02-035-780/+10
|\ \ | | | | | | test: Replace SVG image by simple one
| * | test: Replace SVG image by simple oneTakeshi KOMIYA2019-02-035-780/+10
| |/ | | | | | | | | | | 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.
* | texinfo: remove DOTs from name if name contains other charactersTakeshi KOMIYA2019-02-031-1/+1
| |
* | Add testcase for TexinfoTranslator.escape_id()Takeshi KOMIYA2019-02-031-0/+19
|/
* Fix #5995: autodoc: autodoc_mock_imports conflict with metaclassTakeshi KOMIYA2019-02-021-0/+23
|
* refactor: compile .mo file only if needed on testingTakeshi KOMIYA2019-01-201-1/+3
|
* LaTeX: remove usage of \scalebox by incorporating scale in height/widthjfbu2019-01-141-1/+1
| | | | Closes: #5954
* Fix an error with pytest-4.xTakeshi KOMIYA2019-01-121-1/+1
|
* C++, parse all fold expressionsJakob Lykke Andersen2019-01-061-3/+8
|
* C++ fixesJakob Lykke Andersen2019-01-061-6/+17
| | | | | | | - Hyperlinks for declarations involving east cv-qualifiers. - Duplicate declaration error on function templates with constraints in the return type. Fixes sphinx-doc/sphinx#5755
* Remove some spaces added in last commit, which are ignored anyhowjfbu2019-01-051-2/+2
|
* LaTeX do not strip spaces from numfig_format split at %sjfbu2019-01-041-22/+22
| | | | | | | | | | | | | | | | | 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
* Fix LaTeX writer handling of user custom numfig_formatjfbu2019-01-041-2/+2
|
* A happy new year!Takeshi KOMIYA2019-01-0284-84/+84
|
* #5605 fix Chinese search index (#5611)Timotheus Kampik2018-12-252-0/+21
| | | generate search index for Latin words correctly if search language is Chinese
* refactor chm_htmlescape()Takeshi KOMIYA2018-12-241-1/+29
|
* don't generate build files inside /tests/roots/animalize2018-12-231-24/+5
|
* [1.8] htmlhelp: convert hex escaping to decimal escaping in .hhc/.hhk files ↵animalize2018-12-234-0/+132
| | | | | | | (#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: `'` -> `'`.
* Fix #5800: todo: crashed if todo is defined in TextElementTakeshi KOMIYA2018-12-222-5/+19
|
* Merge pull request #5835 from goerz/1.8Takeshi KOMIYA2018-12-181-1/+1
|\ | | | | Use mathjax CDN "latest" URL by default
| * Use mathjax CDN "latest" URL by defaultMichael Goerz2018-12-171-1/+1
| | | | | | | | Closes #5725
* | [tests] LaTeX: use latex engines with ``--halt-on-error`` optionjfbu2018-12-181-0/+1
|/
* Fix invalid escape sequence in test_directive_code.pyJon Dufresne2018-12-171-1/+1
| | | | | | | | 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'
* Merge branch 'cpp_fix_float_literals' into 1.8Jakob Lykke Andersen2018-12-161-2/+14
|\
| * C++, fix parsing of floating point literalsJakob Lykke Andersen2018-12-161-2/+14
| | | | | | | | Fixes sphinx-doc/sphinx#5636
* | LaTeX: allow sphinxVerbatim usage without explicit "hllines" extra setupjfbu2018-12-164-4/+3
|/ | | | Fixes: #5810
* Fix #5659: linkcheck: crashes for a hyperlink containing multibyte characterTakeshi KOMIYA2018-11-251-2/+2
|
* LaTeX: compatibility with caption package, 2nd partjfbu2018-11-182-0/+2
| | | | | | | Ensure same vertical spaces above caption for tabular(y) and longtable rendered tables. Fixes: #5520
* Merge branch '1.8' into 5520_latex_caption_packageJean-François B2018-11-142-2/+20
|\
| * Fix "invalid escape sequence" warnings emitted during testsJon Dufresne2018-11-131-1/+1
| | | | | | | | | | | | | | sphinx/tests/test_quickstart.py:221: DeprecationWarning: invalid escape sequence '\*' content = filename.bytes().decode('unicode-escape') sphinx/tests/test_quickstart.py:221: DeprecationWarning: invalid escape sequence '\`' content = filename.bytes().decode('unicode-escape')
| * Fix #5614: autodoc: incremental build is broken when builtin modules are ↵Takeshi KOMIYA2018-11-131-1/+19
| | | | | | | | imported
* | LaTeX: compatibility with caption packagejfbu2018-11-131-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compatibility is mainly re-instored for convenience of user to style the fonts used for the caption, and also possibly influence the horizontal position via "width" or "margin" option of caption package (attention that caption package obeys the document class tacit "twoside" option, so if left and right margins are not set-up to be the same, positioning of caption will depend on parity of the page number). Regarding vertical skips, for captions placed on top (which is the table templates default and also the literalblockcappos default), this commit ensures that the vertical spacing separating the caption last baseline to the top of framing is governed by \sphinxbelowcaptionspace in all these three cases: tabular(y), longtable, literal blocks; the "skip" option of caption package is ignored for them. The "skip" is obeyed for the spacing between an image and its caption, which currently in Sphinx is always below the image (no customization of the figure caption vertical placement is currently available). If literalblockcappos is "b" (captions follow code-blocks), this commit removes the caption-package added \abovecaptionskip, so that "skip" is also ignored for code-blocks in this case. This looks better due to the extra space already added by the framing of the code-block and achieves same spacing as without caption package (presumably loaded mainly to style the fonts used for the caption). However in future maybe caption's package "skip" should be obeyed for "literalblock" caption type. Fixes: 5520
* test: Filter warnings on testingTakeshi KOMIYA2018-11-124-0/+6
|
* Merge pull request #5600 from tk0miya/3080_invalid_texinfoTakeshi KOMIYA2018-11-095-0/+51
|\ | | | | Fix #3080: multiline rubrics and citations are broken in texinfo builder
| * Fix #3080: texinfo: multiline citations are brokenTakeshi KOMIYA2018-11-083-0/+28
| |
| * Fix #3080: texinfo: multiline rubric is brokenTakeshi KOMIYA2018-11-083-0/+23
| |
* | LaTeX: add styling to general index, similar to domain indicesjfbu2018-10-311-10/+16
|/ | | | Closes: #5579. Also closes #5576.
* Fix #3002: i18n: multiple footnote_references referring same footnote causes ↵Takeshi KOMIYA2018-11-013-5/+12
| | | | duplicated node_ids
* Fix invalid escape sequence \d in test (refs #5513)jfbu2018-10-301-1/+1
|
* Merge pull request #5536 from tk0miya/5497_install_mathjax_only_if_neededTakeshi KOMIYA2018-10-251-1/+20
|\ | | | | Fix #5497: Do not include MathJax.js and jsmath.js unless it is really needed
| * Fix #5497: Do not include MathJax.js and jsmath.js unless it is really neededTakeshi KOMIYA2018-10-171-1/+20
| |
* | Fix #5480: autodoc: unable to find type hints for unresolvable Forward ↵Takeshi KOMIYA2018-10-152-1/+9
|/ | | | references
* Fix #5498: autodoc: unable to find type hints for a ``functools.partial``Takeshi KOMIYA2018-10-141-0/+1
|
* Fix #3704: wrong ``\label`` positioning for figures with a legendjfbu2018-10-072-1/+4
|
* Fix #5432: py domain: :type: field can't process :term: referencesTakeshi KOMIYA2018-09-222-1/+11
|
* Merge branch '1.8' into 5431_warnings_for_callableTakeshi KOMIYA2018-09-183-28/+39
|\
| * Fix #5436: Autodoc does not work with enum subclasses with properties/methodsTakeshi KOMIYA2018-09-182-0/+10
| |