Commit Graph

6992 Commits

Author SHA1 Message Date
Takeshi KOMIYA
8a45aa5e59 Now all builders and domains work as built-in extensions 2016-07-06 23:25:45 +09:00
Takeshi KOMIYA
fb7e6a22ac Update CHANGES for PR#2454 2016-07-06 01:59:43 +09:00
Takeshi KOMIYA
31c6beb578 Merge pull request #2454 from mgeier/html-sourcelink-txt
Add option html_sourcelink_suffix
2016-07-06 01:43:18 +09:00
Takeshi KOMIYA
7eca745b5c Fix #2667: latex crashes if resized images appeared in section title 2016-07-05 14:33:44 +09:00
jfbu
7db8141238 Amend merged PR#2736 to maintain strict stability of pdf title page
This maintains for the time being the diverging behaviour between
engines regarding the top of title page, as discussed at
https://github.com/sphinx-doc/sphinx/pull/2736#issuecomment-230140016
2016-07-03 10:49:05 +02:00
Takeshi KOMIYA
e355dde954 Refactor: Use warn_node() instead of warn() 2016-07-03 13:50:52 +09:00
Takeshi KOMIYA
5c83d84d76 Fix flake8 violation 2016-07-03 13:36:50 +09:00
Takeshi KOMIYA
e4799323fb Refactor: refer refexplicit attr on fetching title 2016-07-03 13:22:48 +09:00
Takeshi KOMIYA
16e1378bca Refactor sphinx.domains.std: Separate xref resolvers to each types 2016-07-03 13:22:48 +09:00
Takeshi KOMIYA
c7eac46158 Merge pull request #2743 from tk0miya/separate_pygments_styles
latex: Separate stylesheets of pygments to .sty file
2016-07-03 09:38:24 +09:00
Takeshi KOMIYA
00af06af8f latex: Separate stylesheets of pygments to .sty file
To improve readability of generated LaTeX source code, separate
stylesheets of pygments into independent .sty file.
2016-07-03 01:48:50 +09:00
Rob Ruana
8eecdbd715 [Napoleon] Removes Python 2/3 compatible type annotation doc example, because they aren't current supported by Sphinx 2016-07-02 11:43:55 -04:00
Jean-François B
532a804a66 Merge pull request #2736 from jfbu/fixunderfullhbox
Fix #2735: latexpdf ``Underfull \hbox`` warnings from title page
2016-07-02 12:46:39 +02:00
jfbu
0ecfa8e8e9 Fix #2735: latexpdf `Underfull \hbox` warnings from title page
This came from the spurious space tokens following a fullwidth rule at
top of ``\maketitle`` in ``sphinxhowto.cls`` and ``sphinxmanual.cls``.
The ``\newline\null\par`` incantation recreates the extra empty line
which originated in these spurious space tokens, but it avoids the
Underfull latex warning. Nothing is changed to layout from this fix.
2016-07-02 10:56:59 +02:00
Takeshi KOMIYA
e3c3e4f0cb Merge branch 'stable' 2016-07-02 16:39:13 +09:00
Takeshi KOMIYA
d57b395502 Add a release signature to README (ref: #2612) 2016-07-02 16:37:00 +09:00
jfbu
7796a553d3 Update CHANGES for PR#2726 2016-07-02 07:41:43 +02:00
Jean-François B
8a79144e26 Merge pull request #2726 from jfbu/fixmultirow
Fix #2723: extra spaces in latex pdf output from multirow cell
2016-07-02 07:39:47 +02:00
Takeshi KOMIYA
bd2ad1bc68 Fix #2699: hyperlinks in help HTMLs are broken if html_file_suffix is set 2016-07-02 14:30:38 +09:00
Takeshi KOMIYA
1142a7f43f Fix CHANGES for #2650 (again) 2016-07-02 14:15:03 +09:00
Takeshi KOMIYA
b30d4f4882 Fix #2718: Sphinx crashes if the document file is not readable 2016-07-02 13:54:45 +09:00
Takeshi KOMIYA
63b50b5c8f Merge pull request #2644 from pfultz2/refdoc
Make refdoc attribute optional for pending_xref nodes
2016-07-02 10:47:25 +09:00
Takeshi KOMIYA
2ebeff6776 Fix CHANGES 2016-07-02 10:29:26 +09:00
Takeshi KOMIYA
e6b545c2f2 Update CHANGES for PR#2731 2016-07-02 10:26:57 +09:00
Takeshi KOMIYA
6227a7f98c Merge pull request #2731 from seanfarley/fix-abstractproperty
inspect: return obj.__dict__[name] if there is an exception
2016-07-02 10:22:03 +09:00
jfbu
35214d4518 Fix #2733: `make latexpdf` generates lots of hyperref warnings 2016-07-01 19:18:27 +02:00
Takeshi KOMIYA
26b2e99d73 Merge pull request #2729 from mixmastamyk/patch-3
Add woff support to epub builder - CHANGES
2016-07-01 12:54:53 +09:00
Takeshi KOMIYA
f0d9e5072f Merge pull request #2728 from mixmastamyk/patch-2
Add woff support to epub builder
2016-07-01 12:54:28 +09:00
mixmastamyk
5a03485432 Update epub.py
rm trailing whitespace
2016-06-30 19:49:09 -07:00
mixmastamyk
c80db568eb Update CHANGES 2016-06-30 13:57:25 -07:00
mixmastamyk
2b85a2a3be Update epub.py 2016-06-30 13:51:34 -07:00
Sean Farley
6f058ba173 inspect: return obj.__dict__[name] if there is an exception
When using a cached property, Sphinx tries to access the actual property
of an object which raises NotImplementedError. In these cases, we fall
back to inspecting the __dict__ and returning that instead.
2016-06-30 10:04:02 -07:00
jfbu
b25dc5ef4c Fix #2723: extra spaces in latex pdf output from multirow cell
Adds some ``\relax``/``\unskip`` and removes spaces from ``visit_entry``
generated latex code. Earlier, multirow cell inherited one extra space
token at begin and one at end, making left or right alignment with other
cells fail because the native LaTeX space removal mechanism for table
cells could not apply there.

Memo: the ``\eqparbox`` part of ``visit_entry`` from e41f831f is left
untouched; separate analysis required.
2016-06-30 18:11:54 +02:00
Takeshi KOMIYA
1eaa412372 Fix CHANGES for PR#2650 (again) 2016-06-30 20:06:18 +09:00
Takeshi KOMIYA
624bcef1cb Merge remote-tracking branch 'tjanez/setup-warning-is-error-master' 2016-06-30 20:05:37 +09:00
Jean-François B
75ed2e6e4f Merge pull request #2721 from jfbu/makeVerbatimfontcustomizable
latex, make use of ``\small`` for code listings customizable
2016-06-30 11:22:49 +02:00
jfbu
067d3cabf0 latex, make use of `\small` for code listings customizable 2016-06-30 11:20:30 +02:00
jfbu
f30a8d5a36 fix a mark-up typo in doc/install.rst 2016-06-30 11:10:58 +02:00
Tadej Janež
a9ffcf0d60 Add `--warning-is-error` option to setup.py command 2016-06-30 10:18:49 +02:00
Takeshi KOMIYA
2a5e5a5530 Update CHANGES for PR#2650 2016-06-30 10:55:02 +09:00
Takeshi KOMIYA
d3fe0f82dd Merge pull request #2650 from mindw/build_sphinx_pdb_opt
add --pdb support to setuptools command
2016-06-30 10:54:09 +09:00
jfbu
446e93aca7 fix a typo in CHANGES 2016-06-30 00:08:40 +02:00
jfbu
2a1826022d Update to CHANGES 2016-06-30 00:03:06 +02:00
jfbu
a20533540b Add a sentence in doc/config.rst on `'pxunit'` key 2016-06-29 20:55:07 +02:00
Jakob Lykke Andersen
68a32a2bff C++, fix id generation of var/member declarations.
Namespaces not in the declaration are now properly included in the id.
Fixes sphinx-doc/sphinx#2722.
2016-06-29 09:02:35 +02:00
Takeshi KOMIYA
3d3ee6fef3 Merge pull request #2716 from tk0miya/rstdim_to_latexdim
Refactoring latex writer
2016-06-27 11:18:28 +09:00
Takeshi KOMIYA
b1c6717743 Check latex_image_length() returns none value 2016-06-27 01:36:00 +09:00
jfbu
d76e9d48a5 Update doc/rest.rst 2016-06-26 23:13:32 +09:00
Takeshi KOMIYA
cd093fb0ca latex writer considers unitless dimensions as px based 2016-06-26 22:56:20 +09:00
Takeshi KOMIYA
fe3f2a4a3f latex: Do not convert px to float 2016-06-26 22:55:57 +09:00