Commit Graph
1406 Commits
Author SHA1 Message Date
Takeshi KOMIYA 51937f8089 #2597: Show warning messages as darkred 2016-06-24 14:23:19 +09:00
jfbu 9002966085 Merge branch 'stable' 2016-06-22 18:42:13 +02:00
Jean-François B 0802e5499a Merge pull request #2672 from jfbu/jfbu_fixincludegraphics
Fix #2671: image directive may lead to inconsistent spacing in pdf
2016-06-22 18:25:46 +02:00
jfbu 01f1696d9b Remove usage by sphinx.sty of latex package newfloat.sty 2016-06-19 16:22:49 +02:00
jfbu beeeb56c27 latex `\noindent` for non-inline images, not only if top level 2016-06-19 11:04:45 +02:00
jfbu 4be797ccd3 Merge branch 'stable' 2016-06-18 12:23:20 +02:00
jfbu b3d8961ca8 Enhance latex text styling customizability 2016-06-17 19:48:52 +02:00
jfbu 664e24cf86 Fix #2671: image directive may lead to inconsistent spacing in pdf 2016-06-17 10:08:31 +02:00
Jakob Lykke Andersen 65dddfcd69 C++, fix parsing of function types in other types.
Let all kinds of function parameters be allowed to have a name.
Fixes michaeljones/breathe#267.
2016-06-16 10:54:16 +09:00
jfbu c2d417a032 Rename SphinxVerbatim to sphinxVerbatim for latex output 2016-06-15 18:34:00 +02:00
jfbu 2cec5a25b2 Merge branch 'stable'
Conflicts:
	sphinx/domains/cpp.py
	sphinx/texinputs/sphinx.sty
	tests/test_build_latex.py
2016-06-15 18:29:58 +02:00
jfbu 5510653d6e Fix #2629. Add new config option `latex_keep_old_macro_names`
The cause of the issue was a clash about ``\titleref`` macro being already
defined in memoir class context. To avoid similar problems, this makes
the text styling macros

  ``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``,
  ``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``,
  ``\termref``, ``\optional``,

also available with ``\sphinx`` prefix, with a conf.py boolean option to
let sphinx.sty only define ``\sphinx``-prefixed macros. As default value
is False, backwards compatibility is maintained.

On this occasion, some internal non-public macros have been renamed with
prefix ``\spx@``. The command

    find . -name '*.sty' -exec grep -l \\\\spx@ {} \;

has been executed in TeXLive 2015 and 2016 installations to check no
package defines macros starting with ``\spx@``.

Some internal macros having public names (because they are written by
latex.py into the body of the latex document) have been renamed to have
``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU,
or \PYG have not been modified. Similarly ``\release``, ``\version``,
``\releasename``, etc... have not been renamed.
2016-06-15 08:53:24 +02:00
Jakob Lykke Andersen 5728e5e837 C++, add test for initialized variable concepts 2016-06-14 16:23:57 +09:00
Rob Ruana 8dde1eb02d Fix #2541: [Napoleon] Adds a blank line before parameter descriptions that start with a literal block 2016-06-11 23:55:55 -06:00
Takeshi KOMIYA e41a6340da '%' is no needed after \sphinxAtStartFootnote 2016-06-12 00:43:29 +09:00
Takeshi KOMIYA 88c026d0bd Merge branch 'stable' 2016-06-12 00:42:47 +09:00
Takeshi KOMIYA 80921b2ab8 Fix flake8 violation under tests/ 2016-06-12 00:02:11 +09:00
jfbu f9880bfcc8 latex: keep original Verbatim under same name, use SphinxVerbatim for own 2016-06-10 18:48:33 +02:00
Matthias Geier d27386cc95 Updates related to new feed() signature 2016-06-08 15:53:18 +02:00
Matthias Geier 3ecb08c5a9 TESTS: Add missing docname in test_search.py 2016-06-07 15:17:12 +02:00
Matthias Geier 5559150578 Change html_sourcelink_txt -> html_sourcelink_suffix 2016-06-07 15:17:12 +02:00
Matthias Geier 86615e1f09 Add option html_sourcelink_txt 2016-06-07 15:15:39 +02:00
Matthias Geier 7886ecc994 Add test cases for HTML source links 2016-06-07 15:15:39 +02:00
Takeshi KOMIYA 368277f10a Merge pull request #2586 from avylove/html5lib
Use html5lib to parse HTML in tests instead of XMLParser
2016-06-05 22:20:00 +09:00
Takeshi KOMIYA f6ebd372d4 Merge branch 'stable' 2016-06-05 17:24:41 +09:00
jfbu 96e30b0d0e Fix #2593 (continued): allow figure captions in LaTeX tabulary tables 2016-06-05 14:21:21 +09:00
Takeshi KOMIYA bb6bb7ded6 Fix #2593: latex crashes if any figures in the table 2016-06-05 14:21:21 +09:00
Timotheus Kampik 475ebf6c36 Merge branch 'master' into fix-stemming-removes-short-words-from-search-results 2016-06-04 17:35:16 +02:00
Timotheus Kampik ba64f54e4e search index: don't stemm words that would be excluded from search index only after stemming #1529 2016-06-04 17:21:11 +02:00
Takeshi KOMIYA cdb621440c Merge pull request #2613 from shibukawa/feature/extension-blacklist-to-stable
add extension blacklist to avoid error when loading deprecated extensions
2016-06-03 21:40:40 +09:00
Takeshi KOMIYA 1b939042df Make testcases robust 2016-06-03 00:30:39 +09:00
Yoshiki Shibukawa 88bf4373c7 add extension blacklist to avoid error when loading deprecated extensions 2016-06-02 19:19:46 +09:00
Jakob Lykke Andersen 8a64cfdd91 C++, add support for template introductions.
Thanks to mickk-on-cpp.
2016-05-30 23:18:10 +09:00
Jakob Lykke Andersen 74191207db C++, add support for concept declarations.
Concept placeholders are automatically linked.
Thanks to mickk-on-cpp.
2016-05-30 19:45:17 +09:00
Takeshi KOMIYA 24beece2a3 Fix combination of figure directive options; width, figwidth and align (ref: #2595) 2016-05-30 13:13:38 +09:00
Takeshi KOMIYA f11128879a Merge branch 'stable' 2016-05-29 19:44:13 +09:00
Takeshi KOMIYA d7113586f1 Fix style-checker errors 2016-05-29 17:16:46 +09:00
Takeshi KOMIYA 1d17475a08 #2575: Now `sphinx.ext.graphviz allows :align:` option 2016-05-28 18:29:10 +09:00
Takeshi KOMIYA e3be266be3 Merge branch 'stable' 2016-05-28 17:29:43 +09:00
Avram Lubkin 76b92ad24f Use html5lib to parse HTML in tests instead of XMLParser 2016-05-28 02:51:21 -04:00
Takeshi KOMIYA b74b9cb585 Fix #2383: The generated footnote by latex_show_urls overflows lines 2016-05-28 14:46:13 +09:00
Takeshi KOMIYA 5cdf7a9a33 Adjust spacing in numref role (ref: #2382) 2016-05-28 13:23:37 +09:00
Takeshi KOMIYA c64a23f3c6 Add testcase for #2382 2016-05-28 12:57:46 +09:00
Takeshi KOMIYA 771e715f50 `:maxdepth: option of toctree affects secnumdepth` (ref: #2547) 2016-05-26 23:23:07 +09:00
Takeshi KOMIYA 2578f47664 Merge branch 'stable' 2016-05-26 20:55:26 +09:00
Takeshi KOMIYA 9cd5ba994c Fix #2445: rst_prolog and rst_epilog affect to non reST sources 2016-05-25 21:25:04 +09:00
Takeshi KOMIYA 89360dd3f1 Add testcase for rst_prolog and rst_epilog 2016-05-25 21:24:31 +09:00
Takeshi KOMIYA c028cfc5d3 Refactor testcases for #2516 2016-05-24 11:14:17 +09:00
Takeshi KOMIYA 82ef3b0aeb Merge pull request #2516 from TimKam/meta-keywords-to-search-index
Meta keywords to search index
2016-05-24 11:10:07 +09:00
Takeshi KOMIYA 37882b9c77 Fix #2518: intersphinx_mapping disallows non alphanumeric keys 2016-05-23 12:14:56 +09:00