Commit Graph
1742 Commits
Author SHA1 Message Date
Takeshi KOMIYA d5078a64d7 Fix #2789: sphinx.ext.intersphinx generates wrong hyperlinks if the inventory is given 2016-08-11 11:19:42 +09:00
Takeshi KOMIYA 511a0aaef7 Update CHANGES 2016-08-09 12:21:04 +09:00
Takeshi KOMIYA 96b3979d84 Update CHANGES for PR#1911 2016-08-08 00:29:29 +09:00
Joost van Zwieten 099b58f7fe ext.autodoc: fix formatting instance annotations
Currently `format_annotation` fails on instances, because instances don't have
`__module__` and `__qualname__` attributes.  Defer building the
`qualified_name` of an annotation until we have established that the annotation
is a type.
2016-08-07 16:18:22 +02:00
Michal Čihař a66c5811f8 Support any encoding in HEAD requests
Completely support would be more problematic and this already covers
most usual case.

Fixes #2775

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 09:30:03 +02:00
Yoshiki Shibukawa 6e40e33780 Fix duplicated toc in epub3 output 2016-07-22 05:05:33 +09:00
Takeshi KOMIYA 8d1604628a Update CHANGES for PR#2778 2016-07-21 11:14:43 +09:00
Yoshiki Shibukawa 62ed395f5c suppress search feature on epub result 2016-07-18 22:59:17 +09:00
Yoshiki Shibukawa e9f5d96665 fix make clean abort when build dir contains files like .DS_Store. 2016-07-16 00:11:25 +09:00
Takeshi KOMIYA 2b6a83599d applehelp: Sphinx crashes if `hiutil or codesign` commands not found 2016-07-14 20:24:00 +09:00
Takeshi KOMIYA e3fa9b7209 Bump version 2016-07-13 21:26:41 +09:00
Takeshi KOMIYA effc597cb5 Bump to 1.4.5 final 2016-07-13 21:20:14 +09:00
mixmastamyk cd09b6c609 Fix #2763, add default alt attribute to svg images 2016-07-08 18:30:41 -07:00
Takeshi KOMIYA 3807eda6df Merge pull request #2766 from silviot/stable
Make javascript search work in python 3
2016-07-08 23:08:35 +09:00
Silvio Tomatis 45473b3334 Make javascript search work in more contexts
The meaning of `\w` changed from python 2 to python 3.

> $ python3.5 -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
> <_sre.SRE_Match object; span=(0, 2), match='aè'>

> python -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
> None

but the definition of what's an acceptable javascript identifier should not vary from case to case.
2016-07-08 15:27:48 +02:00
Takeshi KOMIYA 7eca745b5c Fix #2667: latex crashes if resized images appeared in section title 2016-07-05 14:33:44 +09: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
jfbu 7796a553d3 Update CHANGES for PR#2726 2016-07-02 07:41:43 +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 b30d4f4882 Fix #2718: Sphinx crashes if the document file is not readable 2016-07-02 13:54:45 +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
jfbu 35214d4518 Fix #2733: `make latexpdf` generates lots of hyperref warnings 2016-07-01 19:18:27 +02:00
mixmastamyk c80db568eb Update CHANGES 2016-06-30 13:57:25 -07:00
jfbu 2a1826022d Update to CHANGES 2016-06-30 00:03:06 +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 593f12060c Fix warning in CHANGES 2016-06-26 11:40:08 +09:00
jfbu 45ddb6387c Add a missing word in CHANGES and fix minor other issues there 2016-06-24 19:18:56 +02:00
jfbu 84ed2c394a Merge branch 'jfbu_fixspaceafterinlineliteral' into stable 2016-06-24 15:33:58 +02:00
jfbu b6daf6be56 fix latex, since 1.4.4 inline literal text is followed by spurious space
ref: a51681b use of ``\scantokens`` has a quirk with adding a space in
some cases which we fix by inserting a ``\relax`` at the end of the
argument.
2016-06-24 15:26:50 +02:00
Takeshi KOMIYA 211fd352ae Fix #2579: Could not refer a label including both spaces and colons via sphinx.ext.intersphinx
This fixes only the case the label including both spaces and colons as
ad-hoc. There is still a bug if a label having spaces, colons and
numbers like "foo bar:baz 1234".

Note: To support the case, we have to improve the inventory format.
2016-06-24 21:11:31 +09:00
Takeshi KOMIYA bf692e2f34 Fix #2700: HtmlHelp builder has hard coded index.html 2016-06-24 12:35:44 +09:00
Takeshi KOMIYA 04723c1175 Fix #2479: sphinx.ext.viewcode uses python2 highlighter by default 2016-06-24 11:35:15 +09:00
Takeshi KOMIYA 1e979091f2 Fix #2705: toctree generates empty bullet_list if `:titlesonly:` specified 2016-06-23 11:56:49 +09:00
jfbu 8feb92dd2d Update CHANGES for PR #2672 2016-06-22 18:33:43 +02:00
jfbu 3650663bb3 Fix #2679: (latex) load package float for 'H' value of 'figure_align' 2016-06-19 20:57:38 +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
Takeshi KOMIYA 7586297d6d Fix #2684: sphinx.ext.intersphinx crashes with six-1.4.1 2016-06-18 10:27:32 +09: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 2d20e337b3 C++, properly look up constructors.
Fixes sphinx-doc/sphinx#2666.
2016-06-14 15:17:45 +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
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
jfbu a62292cd3a Update CHANGES for PR #2651 2016-06-11 16:54:22 +02: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 fc3bfbca5c Fix #2639: Sphinx now bundles iftex.sty 2016-06-11 14:39:45 +09:00
jfbu 518dad93e3 Fix mark-up in CHANGES 2016-06-10 22:27:11 +02:00