Commit Graph

7463 Commits

Author SHA1 Message Date
Daniel
411ad98768 Allow the '=' character in the -D option of sphinx-build.py 2016-10-20 21:30:24 +09:00
Jakob Lykke Andersen
4c2815bc95 Make rendering of multiline signatures better in html. 2016-10-20 09:28:59 +02:00
Takeshi KOMIYA
2b6eac73c3 Merge branch 'stable' 2016-10-20 14:42:54 +09:00
Takeshi KOMIYA
aa06495b61 Remove unneeded \phantomsection (refs: review comment of #3064) 2016-10-20 11:40:47 +09:00
Michael Leinartas
f8200bdddc Autodoc: Allow mocked module decorators to pass-through 2016-10-19 20:30:24 -05:00
Takeshi KOMIYA
6e5964ac27 Remove intern() calls 2016-10-19 19:50:34 +09:00
jfbu
039c68d8f3 Fix #3062: Failed to build PDF using 1.5a2
PR #3030 (3e21ef4) moved "hyperref" loading to later but forgot the
`\hypersetup` at sphinx.sty#L895 for Japanese documents.
2016-10-19 08:55:27 +02:00
shimizukawa
021974ed94 refs #2432 update for latest master 2016-10-19 01:08:07 +09:00
shimizukawa
d1c6d3c45b Update CHANGES for refs #2432. 2016-10-19 01:00:02 +09:00
Takayuki SHIMIZUKAWA
340c6fb9f4 Merge pull request #2432 from agronholm/kwonlyargs
#2432 Fix unwanted * between varargs and keyword only args
2016-10-19 00:54:38 +09:00
jfbu
6438cf54db fix capitalization in config.rst: "Example of configuration file" 2016-10-17 17:25:40 +02:00
Takeshi KOMIYA
9b1b9ce65b Bump version 2016-10-17 21:35:12 +09:00
Takeshi KOMIYA
65e37eefb3 Bump to 1.5 alpha2 2016-10-17 21:31:22 +09:00
Takeshi KOMIYA
e04fe845c7 Fix #3039: English stemmer returns wrong word if the word is capitalized 2016-10-17 21:09:58 +09:00
jfbu
daee1fc51d Fix config.rst description of `latex_documents` docclass element 2016-10-17 09:46:38 +02:00
Takeshi KOMIYA
4411f677cf Fix #3058: Using the same 'caption' attribute in multiple 'toctree' directives results in warning / error 2016-10-17 16:17:47 +09:00
Takeshi KOMIYA
53ea1cb280 Fix #3045: HTML search index creator should ignore "raw" content if now html 2016-10-17 16:08:37 +09:00
jfbu
78d96b4abb amend Update CHANGES for PR#3057 2016-10-16 17:49:23 +02:00
jfbu
18c31d52bb Update CHANGES for PR#3057 2016-10-16 17:47:38 +02:00
Jean-François B
828c96ec10 Fix #3047: spacing before footnote in pdf output is not coherent (#3057)
A ``\sphinxBeforeFootnote`` macro is inserted by footnote environment
and ``\footnotemark`` command. Its default is to remove the space before
the footnote mark. Formerly, footnotes from explicit mark-up were
preceded by a space allowing a linebreak, but automatically generated
footnotes had no such space.
2016-10-16 17:40:19 +02:00
Takeshi KOMIYA
617f18b009 Merge pull request #3056 from jfbu/testmakemode
Fix make-mode Makefile template in order to allow build to go through
2016-10-17 00:14:40 +09:00
jfbu
2b865cf90a Make `make synonym to make help` again 2016-10-15 23:42:00 +02:00
jfbu
16e9049bb3 No need for an empty recipe for Makefile as it has been set .PHONY 2016-10-15 22:59:12 +02:00
jfbu
362ee9d974 Fix make-mode in order to allow build to go through 2016-10-15 21:09:21 +02:00
jfbu
aad61e814c Fix #2461: re-allow footnotes in topics for latex PDF
The issue #2291 which was fixed at 9b958b6d (1.3.6) is now alleviated
in another way since PR #3022 (b8e0e93).
2016-10-15 13:03:18 +02:00
jfbu
40b644b664 Update CHANGES for PR#3022 2016-10-15 12:19:08 +02:00
Jean-François B
b8e0e935e4 Improve LaTeX footnotes (#3022)
Allow code-blocks in footnotes for LaTeX PDF output.

This is done via using a ``footnote environment``, provided by LaTeX
package footnotehyper which replaces old problematic package footnote.
No need to ship a custom tabulary anymore.

The footnote markers are silently removed from the table of contents and
do not end in the PDF bookmarks (the old code in ``sphinx.sty`` copying
``footmisc.sty`` was not satisfactory and has been deleted and replaced
by use of better ``\sphinxfootnotemark``.) Footnotes can be used also in
captions of literal blocks.
2016-10-15 12:09:58 +02:00
jfbu
58dab8d80b Update CHANGES for PR#3030 2016-10-15 11:56:17 +02:00
Jean-François B
3e21ef45cf Merge pull request #3030 from jfbu/loadhyperreflater
(latex) separate loading of hyperref from sphinx.sty
2016-10-15 11:47:51 +02:00
shimizukawa
487f3db5f6 To simplify, sphinx uses external mock package even if unittest.mock exists. 2016-10-15 16:22:27 +09:00
jfbu
ec8dd32e35 add example to use of `'printindex'` key 2016-10-14 11:21:18 +02:00
jfbu
689327d6fc add missing versionchanged directive for tableofcontents 2016-10-14 11:14:15 +02:00
jfbu
536d52063f Revert "new `'packages' key to latex_elements`"
This reverts commit 9972d729ab.
2016-10-14 09:04:45 +02:00
jfbu
9972d729ab new `'packages' key to latex_elements`
serves to load packages after ``sphinx.sty`` itself and before hyperref.
2016-10-14 09:04:08 +02:00
jfbu
9cdf4fe00f (latex) separate loading of hyperref from sphinx.sty
new 'hyperref' key in ``latex_elements``.
2016-10-14 09:02:18 +02:00
Jean-François B
28d6e34bb3 Merge pull request #3051 from jfbu/betterfixforduplicatedestinationwarning
(latex) avoid in a better way duplicate name page.1 hyperref warning
2016-10-14 08:21:36 +02:00
Takeshi KOMIYA
3e7884f5d7 Improve message for confval type checking 2016-10-14 12:12:54 +09:00
Takeshi KOMIYA
72712a95ae Update CHANGES for PR#3052 2016-10-14 12:00:05 +09:00
Takeshi KOMIYA
fcd5073437 Merge pull request #3052 from doctorlard/figure_language_filename_tokens_2
Fix #3028: figure_language_filename format tokens, document tokens.
2016-10-14 11:58:01 +09:00
Takeshi KOMIYA
cb5e09ffe1 Merge pull request #2936 from shibukawa/fix/doc-makefile
Fix doc/Makefile that can't build man because of doc/man folder exists
2016-10-14 11:55:54 +09:00
jfbu
340edb32c6 (latex) mention Bjornstrup fncychap chapter style in the docs 2016-10-13 23:21:05 +02:00
Jean-François B
b22db35849 Merge pull request #3040 from jfbu/updatelatexsphinxdocumentation
update latex.rst (``LaTeX customization`` chapter in the docs)
2016-10-13 22:14:15 +02:00
jfbu
4e88bfeff0 (latex) avoid in a better way duplicate name page.1 hyperref warning
The  ``\pagenumbering{alph}`` trick has the inconvenient that it is
mandatory to reset later the page numbering to arabic else errors will
arise as soon as the document has more than 26 pages. This resetting is
done by Sphinx code for ``\tableofcontents`` now called
``\sphinxtableofcontents`` but not by original ``\tableofcontents``.
Thus, user putting ``\tableofcontents`` in ``'tableofcontents'`` key
would get errors now without that fix.

The titlepage environment creates a group and clears the page before
exiting, thus this solution is quite analogous to the one recommended by
hyperref author at http://tex.stackexchange.com/a/333219/4686.
2016-10-13 20:17:28 +02:00
jfbu
fc3908485c kill unwanted TABs 2016-10-13 15:47:30 +02:00
Yoshiki Shibukawa
6ee4289a95 Fix doc/Makefile that can't build man because of doc/man folder exists 2016-10-13 22:25:22 +09:00
Takeshi KOMIYA
b35305cd5c Merge pull request #3046 from jfbu/updatelatexinfostrings
update info strings of Sphinx LaTeX style file and classes
2016-10-13 21:33:55 +09:00
Takeshi KOMIYA
2981664178 sphinx-quickstart supports user templates (ref: #2912) 2016-10-13 21:21:57 +09:00
jfbu
44907736ec update more latex.rst 2016-10-13 14:09:43 +02:00
jfbu
a16cb8ea57 update info strings of Sphinx LaTeX style file and classes
makes latex compilation logs more precise
2016-10-13 10:58:44 +02:00
Jonathan Harker
59ba8c1dee Fix #3028: figure_language_filename format tokens, document tokens. 2016-10-13 16:41:57 +13:00