Commit Graph

7033 Commits

Author SHA1 Message Date
jfbu
4be797ccd3 Merge branch 'stable' 2016-06-18 12:23:20 +02:00
jfbu
6929d546c8 Hard-wrap some long lines in CHANGES
Seems longer lines are more frequent since 1.4. I hard-wrapped at 80
chars the ones I committed which sometimes exceeded 100 chars. Other
long lines remain (one has 108 chars).
2016-06-18 12:22:18 +02:00
Jean-François B
a358f309da Merge pull request #2664 from jfbu/jfbu_safertestforundefined
latex: let sphinx.sty use own \spx@ifundefined for some tests.

the first commit is more aggressive, I leave it in commit history in case it could be useful in future.
2016-06-18 11:57:17 +02:00
jfbu
80a1ad5a5a Fix typo in CHANGES 2016-06-18 10:09:51 +02:00
Jean-François B
1daa065503 Merge pull request #2691 from jfbu/jfbu_enhancelatexcustomizability
Enhance latex text styling customizability
2016-06-18 10:08:42 +02:00
Takeshi KOMIYA
7586297d6d Fix #2684: sphinx.ext.intersphinx crashes with six-1.4.1 2016-06-18 10:27:32 +09:00
jfbu
b3d8961ca8 Enhance latex text styling customizability 2016-06-17 19:48:52 +02:00
Gabi Davar
c2ba7832e2 add --pdb support to setuptools command 2016-06-17 12:41:11 +03:00
jfbu
664e24cf86 Fix #2671: image directive may lead to inconsistent spacing in pdf 2016-06-17 10:08:31 +02:00
jfbu
44bd987314 latex: let sphinx.sty use own \spx@ifundefined for some tests 2016-06-16 18:35:01 +02:00
jfbu
b78d9fec2f latex: let sphinx.sty use own \spx@ifundefined safer test 2016-06-16 18:34:09 +02:00
jfbu
d4cdfc148b Fix typo in CHANGES 2016-06-16 16:09:05 +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
Jean-François B
4cf78e608e Merge pull request #2675 from jfbu/jfbu_macroswithprefix
Fix #2629. Add new config option latex_keep_old_macro_names
2016-06-15 09:31:47 +02:00
jfbu
f16ce14954 Make sphinxShadowBox customizable via three lengths with public names 2016-06-15 08:54:52 +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
jfbu
8608387585 Fix #2676: (latex) Error with verbatim text in captions
Was caused by PR#2627 due to fragile ``\@noligs`` added to ``\code``.
2016-06-14 10:06:11 +02:00
Jakob Lykke Andersen
5728e5e837 C++, add test for initialized variable concepts 2016-06-14 16:23:57 +09:00
Jakob Lykke Andersen
494aeb901a Merge pull request #1 from mickk-on-cpp/cpp-concepts
C++, allow arbitrary initializer for variable concepts.
2016-06-14 16:18:23 +09:00
Jakob Lykke Andersen
c0df9205e6 C++, skip adding already used old-style ids.
See michaeljones/breathe#266.
2016-06-14 15:55:01 +09:00
Jakob Lykke Andersen
bd342b8724 C++, add warnings for misleading uses of roles. 2016-06-14 15:20:21 +09:00
Jakob Lykke Andersen
2d20e337b3 C++, properly look up constructors.
Fixes sphinx-doc/sphinx#2666.
2016-06-14 15:17:45 +09:00
Rob Ruana
ff34d02beb Fix #2537: [Napoleon] Corrects minor formatting issue on example NumPy Attributes section 2016-06-12 14:55:39 -06:00
Jakob Lykke Andersen
49957210d5 C++, fix missing scope info on some declarations.
See sphinx-doc/sphinx#2607
2016-06-13 00:06:11 +09:00
Takeshi KOMIYA
0405b9d62a Merge branch 'stable' 2016-06-12 21:45:26 +09:00
Takeshi KOMIYA
715969a6c3 Refactor sphinx.io.SphinxFileInput 2016-06-12 21:44:25 +09:00
Takeshi KOMIYA
ecd2ca10d5 Bump version 2016-06-12 21:43:21 +09:00
Takeshi KOMIYA
93b3860597 Bump to 1.4.4 final 2016-06-12 21:37:52 +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
b054a79e63 Merge pull request #2659 from tk0miya/build_pdf_on_travisci
Enable to build PDF docs on Ubuntu precise
2016-06-12 11:53:06 +09:00
Takeshi KOMIYA
bc4148983d Sphinx now bundles needspace.sty 2016-06-12 11:33:43 +09:00
Rob Ruana
32a852c1f1 Update #2374: [Napoleon] clarifies documentation of napoleon_include_init_with_doc conf value 2016-06-11 18:28:48 -06:00
Rob Ruana
eb95eaf142 Update #2374: [Napoleon] clarifies documentation of napoleon_include_init_with_doc conf value 2016-06-11 16:12:26 -06:00
Takeshi KOMIYA
e41a6340da '%' is no needed after \sphinxAtStartFootnote 2016-06-12 00:43:29 +09:00
Takeshi KOMIYA
5f7b393d1c Add html5lib to tox.ini 2016-06-12 00:43:23 +09:00
Takeshi KOMIYA
88c026d0bd Merge branch 'stable' 2016-06-12 00:42:47 +09:00
Takeshi KOMIYA
3d5319e705 Use six in util/reindent.py 2016-06-12 00:27:59 +09:00
Jean-François B
8043f6406f Merge pull request #2652 from jfbu/jfbu_sphinxverbatim
latex: keep Verbatim under same name, use SphinxVerbatim for own
2016-06-11 17:20:01 +02:00
Takeshi KOMIYA
80921b2ab8 Fix flake8 violation under tests/ 2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
2483122c2f Fix flake8 violation (utils/reindent.py) 2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
7ab5bed4be Remove ez_setup.py from flake8-exclude list 2016-06-12 00:02:11 +09:00
jfbu
a62292cd3a Update CHANGES for PR #2651 2016-06-11 16:54:22 +02:00
Jean-François B
7fd7d29b2a Merge pull request #2651 from jfbu/latex_avoidtoodeeplynestedI
Fix #777 (part Ia): Latex output "too deeply nested"
2016-06-11 16:46:57 +02:00
Takeshi KOMIYA
fec2a36db7 Use \c@chapter instead of \thechapter to check what sectioning unit is used
In ubuntu precise, the old condition; \thechapter is defined or not
misdetects the sectioning unit. And then, it causes build error.
2016-06-11 22:50:34 +09:00
Takeshi KOMIYA
d7dd00a898 Failed to build PDF with framed.sty 0.95
The framed.sty which ubuntu precise bundles does not uses \OuterFrameSep macro yet.
2016-06-11 22:50:31 +09:00
Takeshi KOMIYA
ea778e7633 Show warnings if no domains match with primary_domain (ref: #2001) 2016-06-11 15:38:44 +09:00
Takeshi KOMIYA
8fa890c5fd Install TeXLive for testing on Travis CI 2016-06-11 15:16:24 +09:00
Takeshi KOMIYA
66884fc6a5 Install graphviz for testing on Travis CI 2016-06-11 15:06:07 +09:00