Commit Graph

6643 Commits

Author SHA1 Message Date
Rob Ruana
ff34d02beb Fix #2537: [Napoleon] Corrects minor formatting issue on example NumPy Attributes section 2016-06-12 14:55:39 -06: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
Takeshi KOMIYA
fc3bfbca5c Fix #2639: Sphinx now bundles iftex.sty 2016-06-11 14:39:45 +09:00
Takeshi KOMIYA
4927a6d2a3 Merge pull request #2653 from jfbu/jfbu_updatetabulary
Sync shipped tabulary with upstream one.
2016-06-11 09:32:22 +09:00
Takeshi KOMIYA
bf1ec6a570 Merge pull request #2654 from jfbu/jfbu_dateforsphinxsty
Give sphinx.sty a more accurate latex version date as latex package
2016-06-11 09:29:36 +09:00
jfbu
518dad93e3 Fix mark-up in CHANGES 2016-06-10 22:27:11 +02:00
jfbu
d4d93e781d Give sphinx.sty a more accurate latex version date as latex package 2016-06-10 20:13:23 +02:00
jfbu
70213c78f7 Sync shipped tabulary with upstream one.
The update incorporates
\changes{v0.10}{2014/06/21}
      {support \cs{cellcolor} see
	  http://tex.stackexchange.com/a/185851/1090}
from tabulary commented source.

Memo: Sphinx ships a custom tabulary to fix a footnote issue, in
relation with package footnote:

   sphinx.sty does \makesavenoteenv{tabulary} but this needs also
   a patch inside tabulary package

It would be better, as package footnote has some bugs, for Sphinx to
ship with package footnotehyper which fixes theses bugs and can easily
be extended to ensure the compatibility with tabulary. This would be
better than shipping a custom tabulary.
2016-06-10 20:07:44 +02:00
jfbu
dba3d66d22 Update CHANGES for PR #2638 2016-06-10 19:02:00 +02:00
Jean-François B
e17aadf944 Merge pull request #2638 from jfbu/latex_fixpdfframes
Fix #2635. To avoid pdf viewer issue, draw code frames latest.
2016-06-10 18:58:13 +02:00
jfbu
f9880bfcc8 latex: keep original Verbatim under same name, use SphinxVerbatim for own 2016-06-10 18:48:33 +02:00
jfbu
de070a3ca8 Merge branch 'stable' 2016-06-10 18:35:51 +02:00
jfbu
4a0b28397b Fix #777 (part Ia): Latex output "too deeply nested"
Allow code-blocks at maximal nesting depth of lists/quotes in LaTeX
(which by default is 6), by patching fancyvrb's original Verbatim way of
checking list depth which resulted in a loss of 1 possible level.

Memo 1: latex can have by default a maximum of 4 nested enumerated
lists, 4 nested labeled lists, and in total 6 nested lists. This
includes quoted blocks as they use the `\list` macro.

Memo 2: fancyvrb's rationale for using the \@list... macros (in its
\FV@ListNesting) is to set vertical positioning. To set a Verbatim at
level N it uses vertical parameters for list level N+1, hence can't work
at max level. But in Sphinx, this happens inside a \vbox for framing,
hence the vertical positioning set by fancyvrb turns out to be inoperant
anyhow. The execution of \@list<level> also sets the \leftmargin, but
fancyvrb resets it to zero later (#1=\z@ in \FV@ListNesting). To sum up,
fancyvrb's \FV@ListNesting does nothing but has the after effect to
raise an error if the code-block is at level equal to max - 1.

The effect of this commit is to make inoperant fancyvrb's check of
nesting depth, hence now the code-block can appear at maximal depth.

This is second commit improving in Sphinx the maximal depth for
code-blocks in nested lists or quote blocks. It used to be 4 (with
LaTeX's defaults for lists), it is now at 6 (or at the max depth
allowed by the document class).
2016-06-10 14:21:12 +02:00
Takeshi KOMIYA
a35399a0aa Merge branch 'stable' 2016-06-10 20:55:05 +09:00
Takeshi KOMIYA
c3c940f1ae Fix #2511: Refactor Makefile 2016-06-10 20:54:55 +09:00
jfbu
e94d853bd8 Fix CHANGES 2016-06-10 09:48:14 +02:00
jfbu
e3bd7daf49 Merge branch 'latex_avoidtoodeeplynestedI' into stable (ref #777)
This is \list --> \trivlist replacement in Sphinx wrapper of original
Verbatim from package fancyvrb. This gains one level for allowed
location of a code-block in nested lists/quotes.
2016-06-10 09:44:09 +02:00
Takeshi KOMIYA
42a6102cee Merge pull request #2559 from mgeier/parallel-error
Why is SphinxParallelError not derived from SphinxError?
2016-06-10 15:01:47 +09:00
Takeshi KOMIYA
8a85935c63 Update CHANGES for PR#2647 2016-06-10 12:55:19 +09:00
Takeshi KOMIYA
09c25443ff Merge pull request #2647 from JojoBoulix/patch-1
Remove all memory addresses from autodoc
2016-06-10 12:52:23 +09:00
Takeshi KOMIYA
1bf48bf0a3 Merge pull request #2648 from jfbu/jfbu_addlinkstotutorial
Convert text into links at bottom of tutorial.rst and top of config.rst
2016-06-10 12:50:14 +09:00
jfbu
7d3bddd4e3 Convert text into links at bottom of tutorial.rst and top of config.rst 2016-06-09 15:34:59 +02:00
JojoBoulix
2eeaceed08 Remove all memory addresses from autodoc
Change `object_desription()` to remove all hexadecimal addresses, not only those at the end of the string.

The `repr()` of some objects is generated by taking the `repr()` of one object and then adding stuff to it. Therefore, memory addresses like `<object foo at 0xabcdef>` do not need to occur at the end of the string.
2016-06-09 09:11:48 +02:00
jfbu
b2be59441e Fix #777 (part I): Latex output "too deeply nested"
Use \trivlist in Sphinx Verbatim.
2016-06-09 08:23:03 +02:00
Takeshi KOMIYA
b3e82fadc4 Fix #2646: latex crashes if math contains twice empty lines 2016-06-09 12:00:07 +09:00
Takeshi KOMIYA
54e0db9cbe Fix #2351: latex crashes if enumerated lists are placed on footnotes 2016-06-09 11:30:15 +09:00
Takeshi KOMIYA
8ad8803263 Increment ENV_VERSION (ref: #2631) 2016-06-08 22:32:11 +09:00